ruby-ll 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +14 -14
- data/lib/ll/code_generator.rb +1 -1
- data/lib/ll/lexer.rb +5 -5
- data/lib/ll/setup.rb +2 -0
- data/lib/ll/version.rb +1 -1
- data/ruby-ll.gemspec +1 -4
- metadata +8 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2e1faade684ee6c30dbceab3e16db55cd11d94a89933649d324009e1fd033f33
|
4
|
+
data.tar.gz: 2cbd469bbd142d904cbed8feb4557bd813744ab20cb5af9a5decc1f04eaca957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8910a725c85f891ca9162d7d56893cac42eee64fed9e8cd00ba565e14eb7d34f204ea90ced3b8783b1ab411fb3595fdb849780b7a5babfe4c7674be8822f26
|
7
|
+
data.tar.gz: f9f08de4719772842c6693dc7fde5212b2eb94d1086a673f1557d6ea97a6f8f7f6ec5403a358a4d13fe0c714cdb6518e488fd460d740b0508a9799c59ffceb74
|
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
|
31
|
-
|
32
|
-
| MRI | >=
|
33
|
-
|
|
34
|
-
|
|
35
|
-
| Maglev | Not supported
|
36
|
-
| Topaz | Not supported
|
37
|
-
| mruby | Not supported
|
38
|
-
|
39
|
-
For MRI
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
When hacking on
|
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/ll/code_generator.rb
CHANGED
data/lib/ll/lexer.rb
CHANGED
@@ -8,7 +8,7 @@ module LL
|
|
8
8
|
#
|
9
9
|
class Lexer
|
10
10
|
|
11
|
-
# line
|
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
|
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
|
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
|
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
|
516
|
+
# line 512 "lib/ll/lexer.rb"
|
517
517
|
end
|
518
518
|
|
519
519
|
if cs == 0
|
data/lib/ll/setup.rb
CHANGED
data/lib/ll/version.rb
CHANGED
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
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-ll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
description: An LL(1) parser generator for Ruby.
|
140
|
-
email: yorickpeterse
|
140
|
+
email: yorick@yorickpeterse.com
|
141
141
|
executables:
|
142
142
|
- ruby-ll
|
143
143
|
extensions:
|
@@ -193,7 +193,7 @@ homepage: https://github.com/yorickpeterse/ruby-ll
|
|
193
193
|
licenses:
|
194
194
|
- MPL-2.0
|
195
195
|
metadata: {}
|
196
|
-
post_install_message:
|
196
|
+
post_install_message:
|
197
197
|
rdoc_options: []
|
198
198
|
require_paths:
|
199
199
|
- lib
|
@@ -201,17 +201,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
201
|
requirements:
|
202
202
|
- - ">="
|
203
203
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
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
|
-
|
212
|
-
|
213
|
-
signing_key:
|
211
|
+
rubygems_version: 3.4.8
|
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
|