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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a3aa1dfc1754530b06598f1b95de76b9bd22233c
4
- data.tar.gz: 0dc685a28b5fe995e2bb844dcc9c766441380fd7
2
+ SHA256:
3
+ metadata.gz: ca998204a7ec18f8e84e698bcfda40c2f584905caaa1678089a620e2ccfe05fb
4
+ data.tar.gz: dcec656485b2d87955618eead24ff86f829bd0bb0ce5bae568c476bf5ddc1d57
5
5
  SHA512:
6
- metadata.gz: 465881582588f31e24fa3b8581b6fcc0d219b8d725415fe2564a1b22802b3c460d1674cf626ed2d704dfb12788bc29503b754a966e67cbdb243bb4e70198afce
7
- data.tar.gz: e79c85ef775050d5d5c53b38cc3e8bb21670de4735e2756894c58801fdc62fbef492b1f28569c7b4a4c428e0a031d7e07cc357f06d8530433ba65985d08bd8ca
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
@@ -1,4 +1,4 @@
1
1
  module Mulang
2
- VERSION = "3.3.0"
3
- MULANG_VERSION = "3.3.0"
2
+ VERSION = "3.4.0"
3
+ MULANG_VERSION = "3.4.0"
4
4
  end
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.3.0
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-16 00:00:00.000000000 Z
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.5.1
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