mulang 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/mulang/code.rb +12 -0
- data/lib/mulang/version.rb +2 -2
- metadata +3 -4
- data/bin/mulang +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ca998204a7ec18f8e84e698bcfda40c2f584905caaa1678089a620e2ccfe05fb
|
4
|
+
data.tar.gz: dcec656485b2d87955618eead24ff86f829bd0bb0ce5bae568c476bf5ddc1d57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3019a097833ecfdb8d90bfb08ece8c6b7d60e7f8ae5382bee3582a2b04c4544af58c8672fc3f847c1fc8221777f75c10bd5e2186fc34897a6f833caebcad479c
|
7
|
+
data.tar.gz: 7c841f02e9a83146927b4a9b859ef0fd75fbc5e8b827ebed249403ad8e7a602cd9eae45bd291049ba79737d6360ee314f2ee41f606e52a013e62c0ce156c1630
|
data/lib/mulang/code.rb
CHANGED
@@ -20,5 +20,17 @@ module Mulang
|
|
20
20
|
def analyse(spec)
|
21
21
|
Mulang.analyse analysis(spec)
|
22
22
|
end
|
23
|
+
|
24
|
+
def self.native(language_name, content)
|
25
|
+
new Mulang::Language::Native.new(language_name), content
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.external(content, &tool)
|
29
|
+
new Mulang::Language::External.new(&tool), content
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.ast(ast)
|
33
|
+
new Mulang::Language::External.new, ast
|
34
|
+
end
|
23
35
|
end
|
24
36
|
end
|
data/lib/mulang/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mulang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -74,7 +74,6 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- bin/console
|
77
|
-
- bin/mulang
|
78
77
|
- bin/pull_mulang.sh
|
79
78
|
- bin/setup
|
80
79
|
- lib/mulang.rb
|
@@ -102,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
101
|
version: '0'
|
103
102
|
requirements: []
|
104
103
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.7.3
|
106
105
|
signing_key:
|
107
106
|
specification_version: 4
|
108
107
|
summary: Gem wrapper for mulang tool
|
data/bin/mulang
DELETED
Binary file
|