ruby-ll 2.1.2-java → 2.1.3-java

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: 71beccfb95c0a4189cf8ce034a045240bbc6e106
4
- data.tar.gz: a5afcee79046e4ac0950eb3821ecac6a2f9454f3
2
+ SHA256:
3
+ metadata.gz: 89c182ef352e839ecfda2b083ec8b4ac45b7a4e12883f95b68415f0a5e35fa00
4
+ data.tar.gz: cd225a0d1500d4d53b6b9fed8d32a126f06686516d5d9c017f09a2844212cd07
5
5
  SHA512:
6
- metadata.gz: a398593d43cdbfa2e513c1259449b604a44e9dab2c4e4dd348c32b660dbab2a7f91618b0e52fb42cf2b54d8c29996ac29a6d17dddea4f4cddac37e2c5c077092
7
- data.tar.gz: cc0aa27ff2139b6f5d8f5e5196705d332f73da5d9f29c60c911b87771752ac97bbc384ba29749e0608b3ef82a9d3393b848c4cf12fa1f74b59e3a8b2b948ce7d
6
+ metadata.gz: f66efe32f78dc0e1436b3c342b049e7f648289f822cceb1b0f6d56267389a339aa346f0f8fc3c5efc60d8946a1fb435072f87961690bb80186f0257b7f1232c8
7
+ data.tar.gz: 3c2860799c225dd8b6d0be7d98f99beaa780a147cbb11b073f00a6e5c881dd645b46607a2b0141bf8843fb78039ff90fd2f7ed95068887646f3d18b2955c211f
data/README.md CHANGED
@@ -27,20 +27,20 @@ For more information on LL parsing, see
27
27
 
28
28
  ## Requirements
29
29
 
30
- | Ruby | Required | Recommended |
31
- |:---------|:--------------|:------------|
32
- | MRI | >= 1.9.3 | >= 2.1.0 |
33
- | Rubinius | >= 2.2 | >= 2.5.0 |
34
- | JRuby | >= 1.7 | >= 1.7.0 |
35
- | Maglev | Not supported | |
36
- | Topaz | Not supported | |
37
- | mruby | Not supported | |
38
-
39
- For MRI/Rubinius you'll need a C90 compatible compiler such as clang or gcc. For
40
- JRuby you don't need any compilers to be installed as the .jar is packaged with
41
- the Gem itself.
42
-
43
- When hacking on Oga you'll also need to have the following installed:
30
+ | Ruby | Required
31
+ |:---------|:--------------
32
+ | MRI | >= 2.6.0
33
+ | JRuby | >= 9.0
34
+ | Rubinius | Not supported
35
+ | Maglev | Not supported
36
+ | Topaz | Not supported
37
+ | mruby | Not supported
38
+
39
+ For MRI you'll need a C90 compatible compiler such as clang or gcc. For JRuby
40
+ you don't need any compilers to be installed as the .jar is packaged with the
41
+ Gem itself.
42
+
43
+ When hacking on ruby-ll you'll also need to have the following installed:
44
44
 
45
45
  * Ragel 6 for building the grammar lexer
46
46
  * javac for building the JRuby extension
data/lib/libll.jar CHANGED
Binary file
@@ -24,7 +24,7 @@ module LL
24
24
  )
25
25
 
26
26
  template = File.read(TEMPLATE)
27
- erb = ERB.new(template, nil, '-').result(context.get_binding)
27
+ erb = ERB.new(template, trim_mode: '-').result(context.get_binding)
28
28
 
29
29
  return erb
30
30
  end
data/lib/ll/lexer.rb CHANGED
@@ -8,7 +8,7 @@ module LL
8
8
  #
9
9
  class Lexer
10
10
 
11
- # line 12 "lib/ll/lexer.rb"
11
+ # line 9 "lib/ll/lexer.rb"
12
12
  class << self
13
13
  attr_accessor :_ll_lexer_trans_keys
14
14
  private :_ll_lexer_trans_keys, :_ll_lexer_trans_keys=
@@ -264,7 +264,7 @@ self.ll_lexer_en_main = 22;
264
264
  _ll_lexer_trans_targs = self.class.send(:_ll_lexer_trans_targs)
265
265
 
266
266
 
267
- # line 268 "lib/ll/lexer.rb"
267
+ # line 263 "lib/ll/lexer.rb"
268
268
  begin
269
269
  testEof = false
270
270
  _slen, _trans, _keys, _inds, _acts, _nacts = nil
@@ -292,7 +292,7 @@ begin
292
292
  begin
293
293
  ts = p
294
294
  end
295
- # line 296 "lib/ll/lexer.rb"
295
+ # line 291 "lib/ll/lexer.rb"
296
296
  end
297
297
  _keys = cs << 1
298
298
  _inds = _ll_lexer_index_offsets[cs]
@@ -503,7 +503,7 @@ te = p+1
503
503
  # line 168 "lib/ll/lexer.rl"
504
504
  begin
505
505
  act = 23; end
506
- # line 507 "lib/ll/lexer.rb"
506
+ # line 502 "lib/ll/lexer.rb"
507
507
  end
508
508
  end
509
509
  end
@@ -513,7 +513,7 @@ act = 23; end
513
513
  # line 1 "NONE"
514
514
  begin
515
515
  ts = nil; end
516
- # line 517 "lib/ll/lexer.rb"
516
+ # line 512 "lib/ll/lexer.rb"
517
517
  end
518
518
 
519
519
  if cs == 0
data/lib/ll/setup.rb CHANGED
@@ -7,6 +7,8 @@ require 'libll'
7
7
 
8
8
  #:nocov:
9
9
  if RUBY_PLATFORM == 'java'
10
+ require 'jruby'
11
+
10
12
  org.libll.Libll.load(JRuby.runtime)
11
13
  end
12
14
  #:nocov:
data/lib/ll/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module LL
2
- VERSION = '2.1.2'
2
+ VERSION = '2.1.3'
3
3
  end # LL
data/ruby-ll.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.name = 'ruby-ll'
5
5
  s.version = LL::VERSION
6
6
  s.authors = ['Yorick Peterse']
7
- s.email = 'yorickpeterse@gmail.com'
7
+ s.email = 'yorick@yorickpeterse.com'
8
8
  s.summary = 'An LL(1) parser generator for Ruby.'
9
9
  s.homepage = 'https://github.com/yorickpeterse/ruby-ll'
10
10
  s.description = s.summary
@@ -31,9 +31,6 @@ Gem::Specification.new do |s|
31
31
  s.extensions = ['ext/c/extconf.rb']
32
32
  end
33
33
 
34
- s.has_rdoc = 'yard'
35
- s.required_ruby_version = '>= 1.9.3'
36
-
37
34
  s.add_dependency 'ast'
38
35
  s.add_dependency 'ansi'
39
36
 
metadata CHANGED
@@ -1,194 +1,194 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-ll
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: java
6
6
  authors:
7
7
  - Yorick Peterse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-03 00:00:00.000000000 Z
11
+ date: 2023-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - '>='
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
18
  version: '0'
19
19
  name: ast
20
- prerelease: false
21
20
  type: :runtime
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: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0'
33
33
  name: ansi
34
- prerelease: false
35
34
  type: :runtime
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: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  name: rake
48
- prerelease: false
49
48
  type: :development
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: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '3.0'
61
61
  name: rspec
62
- prerelease: false
63
62
  type: :development
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.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  name: yard
76
- prerelease: false
77
76
  type: :development
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - '>='
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  name: simplecov
90
- prerelease: false
91
90
  type: :development
91
+ prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - '>='
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  name: kramdown
104
- prerelease: false
105
104
  type: :development
105
+ prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - ~>
114
+ - - "~>"
115
115
  - !ruby/object:Gem::Version
116
116
  version: '2.0'
117
117
  name: benchmark-ips
118
- prerelease: false
119
118
  type: :development
119
+ prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '2.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  requirement: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - '>='
128
+ - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  name: rake-compiler
132
- prerelease: false
133
132
  type: :development
133
+ prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  description: An LL(1) parser generator for Ruby.
140
- email: yorickpeterse@gmail.com
140
+ email: yorick@yorickpeterse.com
141
141
  executables:
142
142
  - ruby-ll
143
143
  extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
- - doc/driver_architecture.md
146
+ - ".yardopts"
147
+ - LICENSE
148
+ - README.md
149
+ - bin/ruby-ll
147
150
  - doc/css/common.css
151
+ - doc/driver_architecture.md
152
+ - ext/c/driver.c
153
+ - ext/c/driver.h
154
+ - ext/c/driver_config.c
155
+ - ext/c/driver_config.h
156
+ - ext/c/extconf.rb
157
+ - ext/c/khash.h
158
+ - ext/c/kvec.h
159
+ - ext/c/libll.c
160
+ - ext/c/libll.h
161
+ - ext/c/macros.h
162
+ - ext/java/Libll.java
163
+ - ext/java/org/libll/Driver.java
164
+ - ext/java/org/libll/DriverConfig.java
165
+ - lib/libll.jar
148
166
  - lib/ll.rb
149
- - lib/ll/driver.rb
150
- - lib/ll/terminal.rb
151
- - lib/ll/driver_config.rb
152
- - lib/ll/compiled_grammar.rb
167
+ - lib/ll/ast/node.rb
153
168
  - lib/ll/branch.rb
154
- - lib/ll/lexer.rb
155
- - lib/ll/code_generator.rb
156
169
  - lib/ll/cli.rb
157
- - lib/ll/parser.rb
170
+ - lib/ll/code_generator.rb
158
171
  - lib/ll/compiled_configuration.rb
159
- - lib/ll/source_line.rb
160
- - lib/ll/version.rb
161
- - lib/ll/rule.rb
172
+ - lib/ll/compiled_grammar.rb
162
173
  - lib/ll/configuration_compiler.rb
163
- - lib/ll/token.rb
174
+ - lib/ll/driver.rb
175
+ - lib/ll/driver_config.rb
176
+ - lib/ll/driver_template.erb
177
+ - lib/ll/epsilon.rb
164
178
  - lib/ll/erb_context.rb
165
179
  - lib/ll/grammar_compiler.rb
166
- - lib/ll/epsilon.rb
167
- - lib/ll/parser_error.rb
168
- - lib/ll/setup.rb
180
+ - lib/ll/lexer.rb
169
181
  - lib/ll/message.rb
170
182
  - lib/ll/operator.rb
171
- - lib/ll/ast/node.rb
172
- - lib/ll/driver_template.erb
173
- - ext/java/Libll.java
174
- - ext/java/org/libll/DriverConfig.java
175
- - ext/java/org/libll/Driver.java
176
- - ext/c/extconf.rb
177
- - ext/c/macros.h
178
- - ext/c/khash.h
179
- - ext/c/driver.c
180
- - ext/c/driver_config.h
181
- - ext/c/driver_config.c
182
- - ext/c/libll.h
183
- - ext/c/kvec.h
184
- - ext/c/libll.c
185
- - ext/c/driver.h
186
- - README.md
187
- - LICENSE
183
+ - lib/ll/parser.rb
184
+ - lib/ll/parser_error.rb
185
+ - lib/ll/rule.rb
186
+ - lib/ll/setup.rb
187
+ - lib/ll/source_line.rb
188
+ - lib/ll/terminal.rb
189
+ - lib/ll/token.rb
190
+ - lib/ll/version.rb
188
191
  - ruby-ll.gemspec
189
- - .yardopts
190
- - bin/ruby-ll
191
- - lib/libll.jar
192
192
  homepage: https://github.com/yorickpeterse/ruby-ll
193
193
  licenses:
194
194
  - MPL-2.0
@@ -199,19 +199,17 @@ require_paths:
199
199
  - lib
200
200
  required_ruby_version: !ruby/object:Gem::Requirement
201
201
  requirements:
202
- - - '>='
202
+ - - ">="
203
203
  - !ruby/object:Gem::Version
204
- version: 1.9.3
204
+ version: '0'
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - '>='
207
+ - - ">="
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubyforge_project:
212
- rubygems_version: 2.1.9
211
+ rubygems_version: 3.3.26
213
212
  signing_key:
214
213
  specification_version: 4
215
214
  summary: An LL(1) parser generator for Ruby.
216
215
  test_files: []
217
- has_rdoc: yard