jievro-parser 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/jievro-parser.gemspec +1 -1
  4. data/lib/jievro-parser.rb +2 -2
  5. data/lib/{jievro-parser → jievro/parser}/binary_operator.rb +0 -0
  6. data/lib/{jievro-parser → jievro/parser}/grammar/code_block.treetop +0 -0
  7. data/lib/{jievro-parser → jievro/parser}/grammar/declaration/constant_declaration.treetop +0 -0
  8. data/lib/{jievro-parser → jievro/parser}/grammar/declaration/declaration.treetop +3 -3
  9. data/lib/{jievro-parser → jievro/parser}/grammar/declaration/function_declaration.treetop +0 -0
  10. data/lib/{jievro-parser → jievro/parser}/grammar/declaration/variable_declaration.treetop +0 -0
  11. data/lib/{jievro-parser → jievro/parser}/grammar/expression/binary_expression.treetop +1 -1
  12. data/lib/{jievro-parser → jievro/parser}/grammar/expression/closure_expression.treetop +0 -0
  13. data/lib/{jievro-parser → jievro/parser}/grammar/expression/expression.treetop +12 -12
  14. data/lib/{jievro-parser → jievro/parser}/grammar/expression/function_call_expression.treetop +0 -0
  15. data/lib/{jievro-parser → jievro/parser}/grammar/expression/literal_expression.treetop +0 -0
  16. data/lib/{jievro-parser → jievro/parser}/grammar/expression/parenthesized_expression.treetop +0 -0
  17. data/lib/{jievro-parser → jievro/parser}/grammar/expression/postfix_expression.treetop +0 -0
  18. data/lib/{jievro-parser → jievro/parser}/grammar/expression/prefix_expression.treetop +0 -0
  19. data/lib/{jievro-parser → jievro/parser}/grammar/expression/primary_expression.treetop +0 -0
  20. data/lib/{jievro-parser → jievro/parser}/grammar/expression/range_expression.treetop +0 -0
  21. data/lib/{jievro-parser → jievro/parser}/grammar/expression/self_expression.treetop +0 -0
  22. data/lib/{jievro-parser → jievro/parser}/grammar/expression/super_expression.treetop +0 -0
  23. data/lib/{jievro-parser → jievro/parser}/grammar/expression/wildcard_expression.treetop +0 -0
  24. data/lib/{jievro-parser → jievro/parser}/grammar/generics/generic_argument_clause.treetop +0 -0
  25. data/lib/{jievro-parser → jievro/parser}/grammar/generics/generics.treetop +1 -1
  26. data/lib/{jievro-parser → jievro/parser}/grammar/grammar.treetop +13 -13
  27. data/lib/{jievro-parser → jievro/parser}/grammar/identifier.treetop +1 -1
  28. data/lib/{jievro-parser → jievro/parser}/grammar/implicit_parameter_name.treetop +0 -0
  29. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal.treetop +6 -6
  30. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_array.treetop +0 -0
  31. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_boolean.treetop +0 -0
  32. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_decimal_floating_point.treetop +1 -1
  33. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_dictionary.treetop +0 -0
  34. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_hexadecimal_floating_point.treetop +1 -1
  35. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_integer_binary.treetop +1 -1
  36. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_integer_decimal.treetop +1 -1
  37. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_integer_hexadecimal.treetop +1 -1
  38. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_integer_octal.treetop +1 -1
  39. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_nil.treetop +0 -0
  40. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_numeric.treetop +6 -6
  41. data/lib/{jievro-parser → jievro/parser}/grammar/literal/literal_string.treetop +0 -0
  42. data/lib/{jievro-parser → jievro/parser}/grammar/operator.treetop +0 -0
  43. data/lib/{jievro-parser → jievro/parser}/grammar/pattern/pattern.treetop +3 -3
  44. data/lib/{jievro-parser → jievro/parser}/grammar/pattern/pattern_identifier.treetop +0 -0
  45. data/lib/{jievro-parser → jievro/parser}/grammar/pattern/pattern_initializer.treetop +0 -0
  46. data/lib/{jievro-parser → jievro/parser}/grammar/pattern/pattern_wildcard.treetop +0 -0
  47. data/lib/{jievro-parser → jievro/parser}/grammar/statement/branch/branch.treetop +1 -1
  48. data/lib/{jievro-parser → jievro/parser}/grammar/statement/branch/if.treetop +0 -0
  49. data/lib/{jievro-parser → jievro/parser}/grammar/statement/loop/do_while.treetop +0 -0
  50. data/lib/{jievro-parser → jievro/parser}/grammar/statement/loop/for.treetop +0 -0
  51. data/lib/{jievro-parser → jievro/parser}/grammar/statement/loop/for_in.treetop +0 -0
  52. data/lib/{jievro-parser → jievro/parser}/grammar/statement/loop/loop.treetop +4 -4
  53. data/lib/{jievro-parser → jievro/parser}/grammar/statement/loop/while.treetop +0 -0
  54. data/lib/{jievro-parser → jievro/parser}/grammar/statement/statement.treetop +2 -2
  55. data/lib/{jievro-parser → jievro/parser}/grammar/type/type.treetop +4 -4
  56. data/lib/{jievro-parser → jievro/parser}/grammar/type/type_annotation.treetop +0 -0
  57. data/lib/{jievro-parser → jievro/parser}/grammar/type/type_array.treetop +0 -0
  58. data/lib/{jievro-parser → jievro/parser}/grammar/type/type_dictionary.treetop +0 -0
  59. data/lib/{jievro-parser → jievro/parser}/grammar/type/type_identifier.treetop +0 -0
  60. data/lib/{jievro-parser → jievro/parser}/grammar/whitespace.treetop +0 -0
  61. data/lib/{jievro-parser → jievro/parser}/grammar/wildcard.treetop +0 -0
  62. data/lib/{jievro-parser → jievro/parser}/parse_result.rb +0 -0
  63. data/lib/{jievro-parser → jievro/parser}/string_parser.rb +2 -2
  64. data/lib/{jievro-parser → jievro/parser}/tools/converter/binary_string_to_int_converter.rb +0 -0
  65. data/lib/jievro/parser/tools/converter/converter.rb +12 -0
  66. data/lib/{jievro-parser → jievro/parser}/tools/converter/decimal_float_string_to_float_converter.rb +0 -0
  67. data/lib/{jievro-parser → jievro/parser}/tools/converter/decimal_string_to_int_converter.rb +0 -0
  68. data/lib/{jievro-parser → jievro/parser}/tools/converter/hexadecimal_float_string_to_float_converter.rb +0 -0
  69. data/lib/{jievro-parser → jievro/parser}/tools/converter/hexadecimal_string_to_int_converter.rb +0 -0
  70. data/lib/{jievro-parser → jievro/parser}/tools/converter/octal_string_to_int_converter.rb +0 -0
  71. data/lib/{jievro-parser → jievro/parser}/tools/quote_stripper.rb +0 -0
  72. data/lib/{jievro-parser → jievro/parser}/tools/shunting_yard.rb +1 -1
  73. data/lib/{jievro-parser → jievro/parser}/tools/tokens.rb +0 -0
  74. data/lib/{jievro-parser → jievro/parser}/version.rb +1 -1
  75. metadata +84 -84
  76. data/lib/jievro-parser/tools/converter/converter.rb +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfe4b7d79c43aade83e662d14cf77f718ec8d1fb
4
- data.tar.gz: e6c1a31a6bbbbfcbd197a1de24c9a22eb1b9d8f8
3
+ metadata.gz: 5bdcaef356796c54cd724cd77c511735e4f4994e
4
+ data.tar.gz: 5cf05821c9ae2605e831cb526b81670d513ab081
5
5
  SHA512:
6
- metadata.gz: 69f3e4fad33c8cc0a2accec0943bc62358b9008cd37e0567f3688c36a319868af92ad70afeebb0b6bf60ed2a464ded715d64aebc696524bbf5bb37f5665a4bc5
7
- data.tar.gz: 7ab685ee9cf1e26592d9628d23cc239f2a57f23c74a7a53a0b9a22f793d25ec06c4f72d7f0df9c0763310ba6ae50a774e51ce63d5f19782dbaa604fb245b1b4b
6
+ metadata.gz: 941ca603421044d15e4dc69ec4aabd4632ede9eff55a975b259c5fd7b2386ce168880c96138f372901aa8c2a33a6ffda475b1d346a00b51e97553f97e50e77e2
7
+ data.tar.gz: 156ef5c0991a4b4a102eac35d88c804d7e700d762b909bdcd20452e6a2d7c0ee50d9b226e0f4e1b2e2f22f290f21ff5a055bd1de876968cb648c289e9a4e3910
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- #parser
1
+ #jievro-parser
2
2
 
3
3
  [![Build Status](https://travis-ci.org/jievro/parser.svg?branch=develop)](https://travis-ci.org/jievro/parser)
4
4
  [![GitHub Version](https://badge.fury.io/gh/jievro%2Fparser.svg)](http://badge.fury.io/gh/jievro%2Fparser)
@@ -1,7 +1,7 @@
1
1
  lib = File.expand_path('../lib', __FILE__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
- require 'jievro-parser/version'
4
+ require 'jievro/parser/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'jievro-parser'
data/lib/jievro-parser.rb CHANGED
@@ -1,2 +1,2 @@
1
- require 'jievro-parser/string_parser'
2
- require 'jievro-parser/version'
1
+ require 'jievro/parser/string_parser'
2
+ require 'jievro/parser/version'
@@ -1,6 +1,6 @@
1
- require 'jievro-parser/grammar/declaration/constant_declaration'
2
- require 'jievro-parser/grammar/declaration/variable_declaration'
3
- require 'jievro-parser/grammar/declaration/function_declaration'
1
+ require 'jievro/parser/grammar/declaration/constant_declaration'
2
+ require 'jievro/parser/grammar/declaration/variable_declaration'
3
+ require 'jievro/parser/grammar/declaration/function_declaration'
4
4
 
5
5
  module Kauri
6
6
  grammar Declaration
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/shunting_yard'
1
+ require 'jievro/parser/tools/shunting_yard'
2
2
 
3
3
  module Kauri
4
4
  grammar BinaryExpression
@@ -1,15 +1,15 @@
1
- require 'jievro-parser/grammar/expression/literal_expression'
2
- require 'jievro-parser/grammar/expression/prefix_expression'
3
- require 'jievro-parser/grammar/expression/postfix_expression'
4
- require 'jievro-parser/grammar/expression/binary_expression'
5
- require 'jievro-parser/grammar/expression/range_expression'
6
- require 'jievro-parser/grammar/expression/primary_expression'
7
- require 'jievro-parser/grammar/expression/parenthesized_expression'
8
- require 'jievro-parser/grammar/expression/wildcard_expression'
9
- require 'jievro-parser/grammar/expression/function_call_expression'
10
- require 'jievro-parser/grammar/expression/closure_expression'
11
- require 'jievro-parser/grammar/expression/self_expression'
12
- require 'jievro-parser/grammar/expression/super_expression'
1
+ require 'jievro/parser/grammar/expression/literal_expression'
2
+ require 'jievro/parser/grammar/expression/prefix_expression'
3
+ require 'jievro/parser/grammar/expression/postfix_expression'
4
+ require 'jievro/parser/grammar/expression/binary_expression'
5
+ require 'jievro/parser/grammar/expression/range_expression'
6
+ require 'jievro/parser/grammar/expression/primary_expression'
7
+ require 'jievro/parser/grammar/expression/parenthesized_expression'
8
+ require 'jievro/parser/grammar/expression/wildcard_expression'
9
+ require 'jievro/parser/grammar/expression/function_call_expression'
10
+ require 'jievro/parser/grammar/expression/closure_expression'
11
+ require 'jievro/parser/grammar/expression/self_expression'
12
+ require 'jievro/parser/grammar/expression/super_expression'
13
13
 
14
14
  module Kauri
15
15
  grammar Expression
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/grammar/generics/generic_argument_clause'
1
+ require 'jievro/parser/grammar/generics/generic_argument_clause'
2
2
 
3
3
  module Kauri
4
4
  grammar Generics
@@ -1,17 +1,17 @@
1
- require 'jievro-parser/grammar/whitespace'
2
- require 'jievro-parser/grammar/literal/literal'
3
- require 'jievro-parser/grammar/identifier'
4
- require 'jievro-parser/grammar/declaration/declaration'
5
- require 'jievro-parser/grammar/statement/statement'
6
- require 'jievro-parser/grammar/expression/expression'
7
- require 'jievro-parser/grammar/generics/generics'
8
- require 'jievro-parser/grammar/type/type'
9
- require 'jievro-parser/grammar/code_block'
10
- require 'jievro-parser/grammar/pattern/pattern'
11
- require 'jievro-parser/grammar/wildcard'
12
- require 'jievro-parser/grammar/operator'
1
+ require 'jievro/parser/grammar/whitespace'
2
+ require 'jievro/parser/grammar/literal/literal'
3
+ require 'jievro/parser/grammar/identifier'
4
+ require 'jievro/parser/grammar/declaration/declaration'
5
+ require 'jievro/parser/grammar/statement/statement'
6
+ require 'jievro/parser/grammar/expression/expression'
7
+ require 'jievro/parser/grammar/generics/generics'
8
+ require 'jievro/parser/grammar/type/type'
9
+ require 'jievro/parser/grammar/code_block'
10
+ require 'jievro/parser/grammar/pattern/pattern'
11
+ require 'jievro/parser/grammar/wildcard'
12
+ require 'jievro/parser/grammar/operator'
13
13
 
14
- require 'jievro-parser/tools/tokens'
14
+ require 'jievro/parser/tools/tokens'
15
15
 
16
16
  module Jievro
17
17
  grammar Swift
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/grammar/implicit_parameter_name'
1
+ require 'jievro/parser/grammar/implicit_parameter_name'
2
2
 
3
3
  module Kauri
4
4
  grammar Identifier
@@ -1,9 +1,9 @@
1
- require 'jievro-parser/grammar/literal/literal_nil'
2
- require 'jievro-parser/grammar/literal/literal_boolean'
3
- require 'jievro-parser/grammar/literal/literal_numeric'
4
- require 'jievro-parser/grammar/literal/literal_string'
5
- require 'jievro-parser/grammar/literal/literal_array'
6
- require 'jievro-parser/grammar/literal/literal_dictionary'
1
+ require 'jievro/parser/grammar/literal/literal_nil'
2
+ require 'jievro/parser/grammar/literal/literal_boolean'
3
+ require 'jievro/parser/grammar/literal/literal_numeric'
4
+ require 'jievro/parser/grammar/literal/literal_string'
5
+ require 'jievro/parser/grammar/literal/literal_array'
6
+ require 'jievro/parser/grammar/literal/literal_dictionary'
7
7
 
8
8
  module Kauri
9
9
  grammar Literal
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/converter/converter'
1
+ require 'jievro/parser/tools/converter/converter'
2
2
 
3
3
  module Kauri
4
4
  grammar LiteralDecimalFloatingPoint
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/converter/converter'
1
+ require 'jievro/parser/tools/converter/converter'
2
2
 
3
3
  module Kauri
4
4
  grammar LiteralHexadecimalFloatingPoint
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/converter/converter'
1
+ require 'jievro/parser/tools/converter/converter'
2
2
 
3
3
  module Kauri
4
4
  grammar LiteralIntegerBinary
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/converter/converter'
1
+ require 'jievro/parser/tools/converter/converter'
2
2
 
3
3
  module Kauri
4
4
  grammar LiteralIntegerDecimal
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/converter/converter'
1
+ require 'jievro/parser/tools/converter/converter'
2
2
 
3
3
  module Kauri
4
4
  grammar LiteralIntegerHexadecimal
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/tools/converter/converter'
1
+ require 'jievro/parser/tools/converter/converter'
2
2
 
3
3
  module Kauri
4
4
  grammar LiteralIntegerOctal
@@ -1,9 +1,9 @@
1
- require 'jievro-parser/grammar/literal/literal_integer_binary'
2
- require 'jievro-parser/grammar/literal/literal_integer_octal'
3
- require 'jievro-parser/grammar/literal/literal_integer_decimal'
4
- require 'jievro-parser/grammar/literal/literal_integer_hexadecimal'
5
- require 'jievro-parser/grammar/literal/literal_decimal_floating_point'
6
- require 'jievro-parser/grammar/literal/literal_hexadecimal_floating_point'
1
+ require 'jievro/parser/grammar/literal/literal_integer_binary'
2
+ require 'jievro/parser/grammar/literal/literal_integer_octal'
3
+ require 'jievro/parser/grammar/literal/literal_integer_decimal'
4
+ require 'jievro/parser/grammar/literal/literal_integer_hexadecimal'
5
+ require 'jievro/parser/grammar/literal/literal_decimal_floating_point'
6
+ require 'jievro/parser/grammar/literal/literal_hexadecimal_floating_point'
7
7
 
8
8
  module Kauri
9
9
  grammar LiteralNumeric
@@ -1,6 +1,6 @@
1
- require 'jievro-parser/grammar/pattern/pattern_wildcard'
2
- require 'jievro-parser/grammar/pattern/pattern_identifier'
3
- require 'jievro-parser/grammar/pattern/pattern_initializer'
1
+ require 'jievro/parser/grammar/pattern/pattern_wildcard'
2
+ require 'jievro/parser/grammar/pattern/pattern_identifier'
3
+ require 'jievro/parser/grammar/pattern/pattern_initializer'
4
4
 
5
5
  module Kauri
6
6
  grammar Pattern
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/grammar/statement/branch/if'
1
+ require 'jievro/parser/grammar/statement/branch/if'
2
2
 
3
3
  module Kauri
4
4
  module Grammar
@@ -1,7 +1,7 @@
1
- require 'jievro-parser/grammar/statement/loop/for'
2
- require 'jievro-parser/grammar/statement/loop/for_in'
3
- require 'jievro-parser/grammar/statement/loop/while'
4
- require 'jievro-parser/grammar/statement/loop/do_while'
1
+ require 'jievro/parser/grammar/statement/loop/for'
2
+ require 'jievro/parser/grammar/statement/loop/for_in'
3
+ require 'jievro/parser/grammar/statement/loop/while'
4
+ require 'jievro/parser/grammar/statement/loop/do_while'
5
5
 
6
6
  module Kauri
7
7
  module Grammar
@@ -1,5 +1,5 @@
1
- require 'jievro-parser/grammar/statement/loop/loop'
2
- require 'jievro-parser/grammar/statement/branch/branch'
1
+ require 'jievro/parser/grammar/statement/loop/loop'
2
+ require 'jievro/parser/grammar/statement/branch/branch'
3
3
 
4
4
  module Kauri
5
5
  grammar Statement
@@ -1,7 +1,7 @@
1
- require 'jievro-parser/grammar/type/type_identifier'
2
- require 'jievro-parser/grammar/type/type_array'
3
- require 'jievro-parser/grammar/type/type_dictionary'
4
- require 'jievro-parser/grammar/type/type_annotation'
1
+ require 'jievro/parser/grammar/type/type_identifier'
2
+ require 'jievro/parser/grammar/type/type_array'
3
+ require 'jievro/parser/grammar/type/type_dictionary'
4
+ require 'jievro/parser/grammar/type/type_annotation'
5
5
 
6
6
  module Kauri
7
7
  grammar Type
@@ -1,7 +1,7 @@
1
1
  require 'treetop'
2
2
  require 'polyglot'
3
- require 'jievro-parser/grammar/grammar'
4
- require 'jievro-parser/parse_result'
3
+ require 'jievro/parser/grammar/grammar'
4
+ require 'jievro/parser/parse_result'
5
5
 
6
6
  module Jievro
7
7
  module Parser
@@ -0,0 +1,12 @@
1
+ module Kauri
2
+ module Tools
3
+ module Converter
4
+ require 'jievro/parser/tools/converter/binary_string_to_int_converter'
5
+ require 'jievro/parser/tools/converter/decimal_float_string_to_float_converter'
6
+ require 'jievro/parser/tools/converter/decimal_string_to_int_converter'
7
+ require 'jievro/parser/tools/converter/hexadecimal_float_string_to_float_converter'
8
+ require 'jievro/parser/tools/converter/hexadecimal_string_to_int_converter'
9
+ require 'jievro/parser/tools/converter/octal_string_to_int_converter'
10
+ end
11
+ end
12
+ end
@@ -1,4 +1,4 @@
1
- require 'jievro-parser/binary_operator'
1
+ require 'jievro/parser/binary_operator'
2
2
 
3
3
  module Jievro
4
4
  module Parser
@@ -1,5 +1,5 @@
1
1
  module Jievro
2
2
  module Parser
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jievro-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Azzalini
@@ -14,56 +14,56 @@ dependencies:
14
14
  name: treetop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.9'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.9'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.2'
69
69
  description:
@@ -72,8 +72,8 @@ executables: []
72
72
  extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
- - .gitignore
76
- - .travis.yml
75
+ - ".gitignore"
76
+ - ".travis.yml"
77
77
  - Gemfile
78
78
  - Gemfile.lock
79
79
  - LICENSE.txt
@@ -81,76 +81,76 @@ files:
81
81
  - Rakefile
82
82
  - jievro-parser.gemspec
83
83
  - lib/jievro-parser.rb
84
- - lib/jievro-parser/binary_operator.rb
85
- - lib/jievro-parser/grammar/code_block.treetop
86
- - lib/jievro-parser/grammar/declaration/constant_declaration.treetop
87
- - lib/jievro-parser/grammar/declaration/declaration.treetop
88
- - lib/jievro-parser/grammar/declaration/function_declaration.treetop
89
- - lib/jievro-parser/grammar/declaration/variable_declaration.treetop
90
- - lib/jievro-parser/grammar/expression/binary_expression.treetop
91
- - lib/jievro-parser/grammar/expression/closure_expression.treetop
92
- - lib/jievro-parser/grammar/expression/expression.treetop
93
- - lib/jievro-parser/grammar/expression/function_call_expression.treetop
94
- - lib/jievro-parser/grammar/expression/literal_expression.treetop
95
- - lib/jievro-parser/grammar/expression/parenthesized_expression.treetop
96
- - lib/jievro-parser/grammar/expression/postfix_expression.treetop
97
- - lib/jievro-parser/grammar/expression/prefix_expression.treetop
98
- - lib/jievro-parser/grammar/expression/primary_expression.treetop
99
- - lib/jievro-parser/grammar/expression/range_expression.treetop
100
- - lib/jievro-parser/grammar/expression/self_expression.treetop
101
- - lib/jievro-parser/grammar/expression/super_expression.treetop
102
- - lib/jievro-parser/grammar/expression/wildcard_expression.treetop
103
- - lib/jievro-parser/grammar/generics/generic_argument_clause.treetop
104
- - lib/jievro-parser/grammar/generics/generics.treetop
105
- - lib/jievro-parser/grammar/grammar.treetop
106
- - lib/jievro-parser/grammar/identifier.treetop
107
- - lib/jievro-parser/grammar/implicit_parameter_name.treetop
108
- - lib/jievro-parser/grammar/literal/literal.treetop
109
- - lib/jievro-parser/grammar/literal/literal_array.treetop
110
- - lib/jievro-parser/grammar/literal/literal_boolean.treetop
111
- - lib/jievro-parser/grammar/literal/literal_decimal_floating_point.treetop
112
- - lib/jievro-parser/grammar/literal/literal_dictionary.treetop
113
- - lib/jievro-parser/grammar/literal/literal_hexadecimal_floating_point.treetop
114
- - lib/jievro-parser/grammar/literal/literal_integer_binary.treetop
115
- - lib/jievro-parser/grammar/literal/literal_integer_decimal.treetop
116
- - lib/jievro-parser/grammar/literal/literal_integer_hexadecimal.treetop
117
- - lib/jievro-parser/grammar/literal/literal_integer_octal.treetop
118
- - lib/jievro-parser/grammar/literal/literal_nil.treetop
119
- - lib/jievro-parser/grammar/literal/literal_numeric.treetop
120
- - lib/jievro-parser/grammar/literal/literal_string.treetop
121
- - lib/jievro-parser/grammar/operator.treetop
122
- - lib/jievro-parser/grammar/pattern/pattern.treetop
123
- - lib/jievro-parser/grammar/pattern/pattern_identifier.treetop
124
- - lib/jievro-parser/grammar/pattern/pattern_initializer.treetop
125
- - lib/jievro-parser/grammar/pattern/pattern_wildcard.treetop
126
- - lib/jievro-parser/grammar/statement/branch/branch.treetop
127
- - lib/jievro-parser/grammar/statement/branch/if.treetop
128
- - lib/jievro-parser/grammar/statement/loop/do_while.treetop
129
- - lib/jievro-parser/grammar/statement/loop/for.treetop
130
- - lib/jievro-parser/grammar/statement/loop/for_in.treetop
131
- - lib/jievro-parser/grammar/statement/loop/loop.treetop
132
- - lib/jievro-parser/grammar/statement/loop/while.treetop
133
- - lib/jievro-parser/grammar/statement/statement.treetop
134
- - lib/jievro-parser/grammar/type/type.treetop
135
- - lib/jievro-parser/grammar/type/type_annotation.treetop
136
- - lib/jievro-parser/grammar/type/type_array.treetop
137
- - lib/jievro-parser/grammar/type/type_dictionary.treetop
138
- - lib/jievro-parser/grammar/type/type_identifier.treetop
139
- - lib/jievro-parser/grammar/whitespace.treetop
140
- - lib/jievro-parser/grammar/wildcard.treetop
141
- - lib/jievro-parser/parse_result.rb
142
- - lib/jievro-parser/string_parser.rb
143
- - lib/jievro-parser/tools/converter/binary_string_to_int_converter.rb
144
- - lib/jievro-parser/tools/converter/converter.rb
145
- - lib/jievro-parser/tools/converter/decimal_float_string_to_float_converter.rb
146
- - lib/jievro-parser/tools/converter/decimal_string_to_int_converter.rb
147
- - lib/jievro-parser/tools/converter/hexadecimal_float_string_to_float_converter.rb
148
- - lib/jievro-parser/tools/converter/hexadecimal_string_to_int_converter.rb
149
- - lib/jievro-parser/tools/converter/octal_string_to_int_converter.rb
150
- - lib/jievro-parser/tools/quote_stripper.rb
151
- - lib/jievro-parser/tools/shunting_yard.rb
152
- - lib/jievro-parser/tools/tokens.rb
153
- - lib/jievro-parser/version.rb
84
+ - lib/jievro/parser/binary_operator.rb
85
+ - lib/jievro/parser/grammar/code_block.treetop
86
+ - lib/jievro/parser/grammar/declaration/constant_declaration.treetop
87
+ - lib/jievro/parser/grammar/declaration/declaration.treetop
88
+ - lib/jievro/parser/grammar/declaration/function_declaration.treetop
89
+ - lib/jievro/parser/grammar/declaration/variable_declaration.treetop
90
+ - lib/jievro/parser/grammar/expression/binary_expression.treetop
91
+ - lib/jievro/parser/grammar/expression/closure_expression.treetop
92
+ - lib/jievro/parser/grammar/expression/expression.treetop
93
+ - lib/jievro/parser/grammar/expression/function_call_expression.treetop
94
+ - lib/jievro/parser/grammar/expression/literal_expression.treetop
95
+ - lib/jievro/parser/grammar/expression/parenthesized_expression.treetop
96
+ - lib/jievro/parser/grammar/expression/postfix_expression.treetop
97
+ - lib/jievro/parser/grammar/expression/prefix_expression.treetop
98
+ - lib/jievro/parser/grammar/expression/primary_expression.treetop
99
+ - lib/jievro/parser/grammar/expression/range_expression.treetop
100
+ - lib/jievro/parser/grammar/expression/self_expression.treetop
101
+ - lib/jievro/parser/grammar/expression/super_expression.treetop
102
+ - lib/jievro/parser/grammar/expression/wildcard_expression.treetop
103
+ - lib/jievro/parser/grammar/generics/generic_argument_clause.treetop
104
+ - lib/jievro/parser/grammar/generics/generics.treetop
105
+ - lib/jievro/parser/grammar/grammar.treetop
106
+ - lib/jievro/parser/grammar/identifier.treetop
107
+ - lib/jievro/parser/grammar/implicit_parameter_name.treetop
108
+ - lib/jievro/parser/grammar/literal/literal.treetop
109
+ - lib/jievro/parser/grammar/literal/literal_array.treetop
110
+ - lib/jievro/parser/grammar/literal/literal_boolean.treetop
111
+ - lib/jievro/parser/grammar/literal/literal_decimal_floating_point.treetop
112
+ - lib/jievro/parser/grammar/literal/literal_dictionary.treetop
113
+ - lib/jievro/parser/grammar/literal/literal_hexadecimal_floating_point.treetop
114
+ - lib/jievro/parser/grammar/literal/literal_integer_binary.treetop
115
+ - lib/jievro/parser/grammar/literal/literal_integer_decimal.treetop
116
+ - lib/jievro/parser/grammar/literal/literal_integer_hexadecimal.treetop
117
+ - lib/jievro/parser/grammar/literal/literal_integer_octal.treetop
118
+ - lib/jievro/parser/grammar/literal/literal_nil.treetop
119
+ - lib/jievro/parser/grammar/literal/literal_numeric.treetop
120
+ - lib/jievro/parser/grammar/literal/literal_string.treetop
121
+ - lib/jievro/parser/grammar/operator.treetop
122
+ - lib/jievro/parser/grammar/pattern/pattern.treetop
123
+ - lib/jievro/parser/grammar/pattern/pattern_identifier.treetop
124
+ - lib/jievro/parser/grammar/pattern/pattern_initializer.treetop
125
+ - lib/jievro/parser/grammar/pattern/pattern_wildcard.treetop
126
+ - lib/jievro/parser/grammar/statement/branch/branch.treetop
127
+ - lib/jievro/parser/grammar/statement/branch/if.treetop
128
+ - lib/jievro/parser/grammar/statement/loop/do_while.treetop
129
+ - lib/jievro/parser/grammar/statement/loop/for.treetop
130
+ - lib/jievro/parser/grammar/statement/loop/for_in.treetop
131
+ - lib/jievro/parser/grammar/statement/loop/loop.treetop
132
+ - lib/jievro/parser/grammar/statement/loop/while.treetop
133
+ - lib/jievro/parser/grammar/statement/statement.treetop
134
+ - lib/jievro/parser/grammar/type/type.treetop
135
+ - lib/jievro/parser/grammar/type/type_annotation.treetop
136
+ - lib/jievro/parser/grammar/type/type_array.treetop
137
+ - lib/jievro/parser/grammar/type/type_dictionary.treetop
138
+ - lib/jievro/parser/grammar/type/type_identifier.treetop
139
+ - lib/jievro/parser/grammar/whitespace.treetop
140
+ - lib/jievro/parser/grammar/wildcard.treetop
141
+ - lib/jievro/parser/parse_result.rb
142
+ - lib/jievro/parser/string_parser.rb
143
+ - lib/jievro/parser/tools/converter/binary_string_to_int_converter.rb
144
+ - lib/jievro/parser/tools/converter/converter.rb
145
+ - lib/jievro/parser/tools/converter/decimal_float_string_to_float_converter.rb
146
+ - lib/jievro/parser/tools/converter/decimal_string_to_int_converter.rb
147
+ - lib/jievro/parser/tools/converter/hexadecimal_float_string_to_float_converter.rb
148
+ - lib/jievro/parser/tools/converter/hexadecimal_string_to_int_converter.rb
149
+ - lib/jievro/parser/tools/converter/octal_string_to_int_converter.rb
150
+ - lib/jievro/parser/tools/quote_stripper.rb
151
+ - lib/jievro/parser/tools/shunting_yard.rb
152
+ - lib/jievro/parser/tools/tokens.rb
153
+ - lib/jievro/parser/version.rb
154
154
  homepage: http://jievro.io
155
155
  licenses:
156
156
  - MIT
@@ -161,17 +161,17 @@ require_paths:
161
161
  - lib
162
162
  required_ruby_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '2.0'
167
167
  required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - '>='
169
+ - - ">="
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.0.14
174
+ rubygems_version: 2.4.6
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Source code parser used internally by jievro
@@ -1,12 +0,0 @@
1
- module Kauri
2
- module Tools
3
- module Converter
4
- require 'jievro-parser/tools/converter/binary_string_to_int_converter'
5
- require 'jievro-parser/tools/converter/decimal_float_string_to_float_converter'
6
- require 'jievro-parser/tools/converter/decimal_string_to_int_converter'
7
- require 'jievro-parser/tools/converter/hexadecimal_float_string_to_float_converter'
8
- require 'jievro-parser/tools/converter/hexadecimal_string_to_int_converter'
9
- require 'jievro-parser/tools/converter/octal_string_to_int_converter'
10
- end
11
- end
12
- end