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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aaae59caf189918270514b0f61b45b2a6fd58205
4
- data.tar.gz: accc47c0dba81a2cd05232171b1d30720c57e16f
3
+ metadata.gz: fe967fabd27e05817e9d371f34a26d1059c0f8c3
4
+ data.tar.gz: 7fdddccc919dc39cac2d170ba9258144d74c5185
5
5
  SHA512:
6
- metadata.gz: fff4fc11e9d6afefd44c05e5f10b28e6d150bd37427e7eaea3ab56175e1c06a4960c1ed8fd5d50c9489900728d0b29be672027fa73182b2b37c9c57e7de6dcab
7
- data.tar.gz: b262a9666e12a6f86e05eaaaad9cf948695219f445502b2dbaf54ad74a29fe1c1cc7e0d206eacdbed229ffdcf280eee13acd9a12410fe43d11227707a58c53c5
6
+ metadata.gz: 59f350dcc971ef7fe1bc5fd82b53fc1fce09362ed725bde460bac80cd16407ca6f51d91c466ce9584e5c86f6104dc004ad944404804458ad982d49b0a78fe949
7
+ data.tar.gz: 9991ef704def89d0a20dec32f7b57dd83a6c71ca1f66a69eab6642166a5d093af48f31cb170420678182a03975513cf421f8e7e7fdf2acbe8023e8bc22c39195
@@ -25,6 +25,7 @@ when '-i'
25
25
  output = Hilbert::Iq.execute(input)
26
26
  $stdout.puts output
27
27
  rescue => e
28
+ break unless input
28
29
  puts e
29
30
  end
30
31
  end
@@ -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 ? '**' : '^'
@@ -1,3 +1,3 @@
1
1
  module Hilbert
2
- VERSION = '0.0.2700400'
2
+ VERSION = '0.0.2700410'
3
3
  end
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.2700400
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-23 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dydx