mulang-ruby 1.3.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mulang/ruby/ast_processor.rb +5 -5
- data/lib/mulang/ruby/sexp.rb +1 -1
- data/lib/mulang/ruby/version.rb +1 -1
- data/mulang-ruby.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47a7d664755b5fabb3a94a07aef124af4adf72e33c88f694c5a7b7b58dfee030
|
4
|
+
data.tar.gz: b541a67caafa2847060e130679974f9bafd713cb3384c3df9b7596a739103f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2413d8840c3a44de01558b1c4620a00032dbfede8ff3bd39ef163ca174b84ab0b99fdc8efe3e0d190be2e17e7ce6d1bf584fa13a5587079543e5aca9f8be659
|
7
|
+
data.tar.gz: 14c940338d3ab33ac367771682b3265150e986c52830eba4cc470fe6d3f0db34cce9283a4f7bf907a0d285e4b4bbfd810b76160802428c02ff43d6d3f51f913b
|
@@ -28,13 +28,13 @@ module Mulang::Ruby
|
|
28
28
|
|
29
29
|
def on_rescue(node)
|
30
30
|
try, *catch, _ = *node
|
31
|
-
ms :Try, process(try), process_all(catch), ms(:
|
31
|
+
ms :Try, process(try), process_all(catch), ms(:MuNil)
|
32
32
|
end
|
33
33
|
|
34
34
|
def on_resbody(node)
|
35
35
|
patterns, variable, block = *node
|
36
36
|
|
37
|
-
[to_mulang_pattern(patterns, variable), process(block) || ms(:
|
37
|
+
[to_mulang_pattern(patterns, variable), process(block) || ms(:MuNil)]
|
38
38
|
end
|
39
39
|
|
40
40
|
def _
|
@@ -75,7 +75,7 @@ module Mulang::Ruby
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def on_irange(node)
|
78
|
-
ms :Other
|
78
|
+
ms :Other, node.to_s, nil
|
79
79
|
end
|
80
80
|
|
81
81
|
def on_regexp(node)
|
@@ -139,7 +139,7 @@ module Mulang::Ruby
|
|
139
139
|
end
|
140
140
|
|
141
141
|
def on_nil(_)
|
142
|
-
ms :
|
142
|
+
ms :MuNil
|
143
143
|
end
|
144
144
|
|
145
145
|
def on_self(_)
|
@@ -257,7 +257,7 @@ module Mulang::Ruby
|
|
257
257
|
|
258
258
|
def handler_missing(*args)
|
259
259
|
puts args
|
260
|
-
ms :Other
|
260
|
+
ms :Other, args.to_s, nil
|
261
261
|
end
|
262
262
|
|
263
263
|
def handle_send_with_args(node, extra_args=[])
|
data/lib/mulang/ruby/sexp.rb
CHANGED
data/lib/mulang/ruby/version.rb
CHANGED
data/mulang-ruby.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mulang-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '4.0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '4.0'
|
125
125
|
description: Ruby - Mulang Parser
|
126
126
|
email:
|
127
127
|
- franco@mumuki.org
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
169
|
rubyforge_project:
|
170
|
-
rubygems_version: 2.7.
|
170
|
+
rubygems_version: 2.7.7
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Ruby integration for the Mulang Language Analyzer
|