kaiser-ruby 0.8 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +15 -0
- data/.ruby-version +1 -1
- data/.travis.yml +5 -4
- data/Gemfile.lock +27 -26
- data/README.md +1 -1
- data/TODO.md +14 -6
- data/kaiser-ruby.gemspec +1 -1
- data/lib/kaiser_ruby/refinements.rb +1 -1
- data/lib/kaiser_ruby/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98456a94ad40df956f05ea922b57442b5b5ba9892d16471bb1ba24ee6b289b02
|
4
|
+
data.tar.gz: c41cb669d3b082f8847888524fcf11eec6cb164725e239fb9d5af2ac7c2b3785
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbca4c5d6c61771bcf6aa5d9a6df6cd411d69ac09015006247ed308347395b6eaf0ee3f7b2dd0563433f75fc8ac2140ebf9cd00ad74e01b94cf414ea09cbf66b
|
7
|
+
data.tar.gz: 3af6f628516d6aa0baecff82d62c1d77ff97c13732427c179d6d327b9520056a9acfbb8140daa86951784875fcf5526c563dedbd83e932682ee55835ebd1ce67
|
data/.rubocop.yml
CHANGED
@@ -1,11 +1,26 @@
|
|
1
1
|
AllCops:
|
2
2
|
TargetRubyVersion: 2.3
|
3
|
+
Exclude:
|
4
|
+
- 'examples/**/*' # generated examples aren't exactly the pinnacle of Ruby good practices
|
3
5
|
|
4
6
|
Metrics:
|
5
7
|
Enabled: false
|
6
8
|
|
9
|
+
Layout/LineLength:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Security/Eval:
|
13
|
+
Enabled: false # yes, we actually have a reason to use eval, stop whining
|
14
|
+
|
15
|
+
Lint/UnifiedInteger:
|
16
|
+
Enabled: false # yes, using Fixnum in refinements is on purpose
|
17
|
+
|
7
18
|
Style/RescueModifier:
|
8
19
|
Enabled: false
|
9
20
|
|
10
21
|
Lint/InterpolationCheck:
|
11
22
|
Enabled: false
|
23
|
+
|
24
|
+
Style/RedundantSelf:
|
25
|
+
Exclude:
|
26
|
+
- lib/kaiser_ruby/refinements.rb
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.5
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kaiser-ruby (0.8)
|
4
|
+
kaiser-ruby (0.8.1)
|
5
5
|
hashie
|
6
6
|
thor
|
7
7
|
|
@@ -11,50 +11,51 @@ GEM
|
|
11
11
|
ast (2.4.0)
|
12
12
|
coderay (1.1.2)
|
13
13
|
diff-lcs (1.3)
|
14
|
-
hashie (
|
15
|
-
jaro_winkler (1.5.
|
14
|
+
hashie (4.0.0)
|
15
|
+
jaro_winkler (1.5.4)
|
16
16
|
method_source (0.9.2)
|
17
|
-
parallel (1.
|
18
|
-
parser (2.
|
17
|
+
parallel (1.19.1)
|
18
|
+
parser (2.7.0.1)
|
19
19
|
ast (~> 2.4.0)
|
20
20
|
pry (0.12.2)
|
21
21
|
coderay (~> 1.1.0)
|
22
22
|
method_source (~> 0.9.0)
|
23
|
-
psych (3.1.0)
|
24
23
|
rainbow (3.0.0)
|
25
|
-
rake (
|
26
|
-
rspec (3.
|
27
|
-
rspec-core (~> 3.
|
28
|
-
rspec-expectations (~> 3.
|
29
|
-
rspec-mocks (~> 3.
|
30
|
-
rspec-core (3.
|
31
|
-
rspec-support (~> 3.
|
32
|
-
rspec-expectations (3.
|
24
|
+
rake (13.0.1)
|
25
|
+
rspec (3.9.0)
|
26
|
+
rspec-core (~> 3.9.0)
|
27
|
+
rspec-expectations (~> 3.9.0)
|
28
|
+
rspec-mocks (~> 3.9.0)
|
29
|
+
rspec-core (3.9.1)
|
30
|
+
rspec-support (~> 3.9.1)
|
31
|
+
rspec-expectations (3.9.0)
|
33
32
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.
|
35
|
-
rspec-mocks (3.
|
33
|
+
rspec-support (~> 3.9.0)
|
34
|
+
rspec-mocks (3.9.0)
|
36
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.
|
38
|
-
rspec-support (3.
|
39
|
-
rubocop (0.
|
36
|
+
rspec-support (~> 3.9.0)
|
37
|
+
rspec-support (3.9.2)
|
38
|
+
rubocop (0.78.0)
|
40
39
|
jaro_winkler (~> 1.5.1)
|
41
40
|
parallel (~> 1.10)
|
42
|
-
parser (>= 2.
|
43
|
-
psych (>= 3.1.0)
|
41
|
+
parser (>= 2.6)
|
44
42
|
rainbow (>= 2.2.2, < 4.0)
|
45
43
|
ruby-progressbar (~> 1.7)
|
46
|
-
unicode-display_width (>= 1.4.0, < 1.
|
47
|
-
ruby-progressbar (1.10.
|
48
|
-
thor (0.
|
49
|
-
unicode-display_width (1.
|
44
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
45
|
+
ruby-progressbar (1.10.1)
|
46
|
+
thor (1.0.1)
|
47
|
+
unicode-display_width (1.6.0)
|
50
48
|
|
51
49
|
PLATFORMS
|
52
50
|
ruby
|
53
51
|
|
54
52
|
DEPENDENCIES
|
55
|
-
bundler
|
53
|
+
bundler
|
56
54
|
kaiser-ruby!
|
57
55
|
pry
|
58
56
|
rake
|
59
57
|
rspec
|
60
58
|
rubocop
|
59
|
+
|
60
|
+
BUNDLED WITH
|
61
|
+
2.1.2
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Build Status](https://travis-ci.
|
1
|
+
[![Build Status](https://travis-ci.com/marcinruszkiewicz/kaiser-ruby.svg?branch=master)](https://travis-ci.com/marcinruszkiewicz/kaiser-ruby)
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/kaiser-ruby.svg)](https://badge.fury.io/rb/kaiser-ruby)
|
3
3
|
|
4
4
|
# KaiserRuby - a Rockstar to Ruby transpiler
|
data/TODO.md
CHANGED
@@ -1,14 +1,22 @@
|
|
1
1
|
# TODO notes for KaiserRuby transpiler
|
2
2
|
|
3
|
-
|
3
|
+
# 0.9
|
4
4
|
|
5
|
-
|
5
|
+
Language implementation
|
6
|
+
|
7
|
+
- [ ] Support for lists
|
8
|
+
- [ ] Support executing treesort.rock - nested functions are actually objects, so if they get passed around to
|
9
|
+
other functions they need to be called using `.call()` not `name()`... or just `.call` everything so
|
10
|
+
it's easier.
|
6
11
|
|
7
|
-
- [ ] Should be able to run the [Cellular Rockomata](https://github.com/Rifhutch/cellular-rocktomata)
|
8
|
-
- [ ] Math module https://gist.github.com/wrenoud/6be6f7509c88a3d8f9867ae782fb768f
|
9
12
|
|
10
|
-
|
13
|
+
# Other stuff
|
11
14
|
|
15
|
+
Examples
|
16
|
+
|
17
|
+
- [ ] Should be able to run the [Cellular Rockomata](https://github.com/Rifhutch/cellular-rocktomata)
|
18
|
+
- [ ] Math module https://gist.github.com/wrenoud/6be6f7509c88a3d8f9867ae782fb768f
|
12
19
|
- [ ] Add code history to the REPL
|
13
20
|
- [ ] Make REPL work with multiline input also, not only singular lines
|
14
|
-
- [ ] Make a demo visitor that evals the code and waits a bit between commands, so it's more music video-ish.
|
21
|
+
- [ ] Make a demo visitor that evals the code and waits a bit between commands, so it's more music video-ish.
|
22
|
+
Maybe should change the console colors while at it?
|
data/kaiser-ruby.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = '>= 2.3'
|
25
25
|
|
26
|
-
spec.add_development_dependency 'bundler'
|
26
|
+
spec.add_development_dependency 'bundler'
|
27
27
|
spec.add_development_dependency 'pry'
|
28
28
|
spec.add_development_dependency 'rake'
|
29
29
|
spec.add_development_dependency 'rspec'
|
data/lib/kaiser_ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaiser-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Ruszkiewicz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|