minruby 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minruby.rb +4 -0
- data/minruby.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acc3f9fdbb746f75aad18ce1cc0cfdb29d45782d
|
4
|
+
data.tar.gz: 72720a91841eb61826ab427e78c994ce351879f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ef4d6ea9a71b916733dd6519c230a8acdac72ae36cac6f74b9878d41e503f0987933f5a326788ac54dbae263ca762c460ddf44b15e1f4dca50f6e2e562d083a
|
7
|
+
data.tar.gz: 21ab769f0b430c9fc5f76f580857ec616da46366c8427fa7eb0f3c302b5b944ca25a283d906ca4dd49d16224e4ed2537d5cc81a4cdfe248a9f5ee96af29423f8
|
data/lib/minruby.rb
CHANGED
@@ -59,6 +59,10 @@ class MinRubyParser
|
|
59
59
|
cond_exp = simplify(exp[1])
|
60
60
|
body_exp = make_stmts(exp[2])
|
61
61
|
["while", cond_exp, body_exp]
|
62
|
+
when :while_mod
|
63
|
+
cond_exp = simplify(exp[1])
|
64
|
+
body_exp = make_stmts(exp[2][1][1])
|
65
|
+
["while2", cond_exp, body_exp]
|
62
66
|
when :binary
|
63
67
|
exp1 = simplify(exp[1])
|
64
68
|
op = exp[2]
|
data/minruby.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusuke Endoh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|