finitio 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +1 -1
- data/lib/finitio/syntax.rb +3 -3
- data/lib/finitio/version.rb +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: 01d0b7cc775a7a49d837efeb5649b844b495a324
|
4
|
+
data.tar.gz: 6ba20d99543010822f871f13c7134d458000fabb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ae0a3ddfb5f74be525b87d6aa6f70b766b67528f6971a03ac578260736d411793d18498b851477669b85b174c1a53d43bca4bbd56ce6983669ead477869e0c
|
7
|
+
data.tar.gz: 187708343da19fb59b3cb711c94fc58f14dff12dfef6435525d455704edc5c7af403dddd76772cf54591467ae79ba47e9eb3bdee1af2560436d961e536cda1c4
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/finitio/syntax.rb
CHANGED
@@ -17,18 +17,18 @@ module Finitio
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.ast(source)
|
20
|
-
parse(source, root: "system").to_ast
|
20
|
+
parse(source, root: "system", memoize: true).to_ast
|
21
21
|
end
|
22
22
|
|
23
23
|
def self.compile(source, cpl = nil)
|
24
24
|
cpl = Compilation.coerce(cpl)
|
25
|
-
parse(source, root: "system").compile(cpl)
|
25
|
+
parse(source, root: "system", memoize: true).compile(cpl)
|
26
26
|
cpl.resolve_proxies!.system
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.compile_type(source, cpl = nil)
|
30
30
|
cpl = Compilation.coerce(cpl)
|
31
|
-
parse(source, root: "type").compile(cpl)
|
31
|
+
parse(source, root: "type", memoize: true).compile(cpl)
|
32
32
|
end
|
33
33
|
|
34
34
|
end # module Syntax
|
data/lib/finitio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finitio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernard Lambeau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citrus
|