hilbert 0.0.2700400 → 0.0.2700410
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/hilbert +1 -0
- data/lib/hilbert/lexer/base.rb +2 -2
- data/lib/hilbert/parser/formula_parser.rb +1 -1
- data/lib/hilbert/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: fe967fabd27e05817e9d371f34a26d1059c0f8c3
|
4
|
+
data.tar.gz: 7fdddccc919dc39cac2d170ba9258144d74c5185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59f350dcc971ef7fe1bc5fd82b53fc1fce09362ed725bde460bac80cd16407ca6f51d91c466ce9584e5c86f6104dc004ad944404804458ad982d49b0a78fe949
|
7
|
+
data.tar.gz: 9991ef704def89d0a20dec32f7b57dd83a6c71ca1f66a69eab6642166a5d093af48f31cb170420678182a03975513cf421f8e7e7fdf2acbe8023e8bc22c39195
|
data/bin/hilbert
CHANGED
data/lib/hilbert/lexer/base.rb
CHANGED
@@ -14,7 +14,7 @@ module Hilbert
|
|
14
14
|
@token_rule_hash ||= {}
|
15
15
|
@token_rule_hash[pattern] = token.call
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
def clear!
|
19
19
|
@token_rule_hash = {}
|
20
20
|
end
|
@@ -32,7 +32,7 @@ module Hilbert
|
|
32
32
|
if scan_rslt
|
33
33
|
@lexeds << scan_rslt unless scan_rslt[:token] == :NULL
|
34
34
|
else
|
35
|
-
fail "I'm so sorry, something wrong. Please feel free to report this."
|
35
|
+
fail "I'm so sorry, something wrong. Please feel free to report this. [DEBUGG CODE30]"
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -9,7 +9,7 @@ module Hilbert
|
|
9
9
|
lexed = Lexer::FormulaLexer.new(str)
|
10
10
|
time = Time.now
|
11
11
|
loop do
|
12
|
-
fail "I'm so sorry, something wrong. Please feel free to report this." if Time.now > time + 10
|
12
|
+
fail "I'm so sorry, something wrong. Please feel free to report this. [DEBUGG CODE31]" if Time.now > time + 10
|
13
13
|
case lexed.token_str
|
14
14
|
when /:EXP(\d+)/
|
15
15
|
new_ope = $meta_info.lang == :ruby ? '**' : '^'
|
data/lib/hilbert/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hilbert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2700410
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gogotanaka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dydx
|