ruby-ll 1.1.3-java → 2.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +68 -2
- data/doc/driver_architecture.md +32 -0
- data/ext/c/driver.c +71 -2
- data/ext/c/driver_config.c +1 -1
- data/ext/c/driver_config.h +1 -1
- data/ext/java/org/libll/Driver.java +63 -7
- data/lib/libll.jar +0 -0
- data/lib/ll.rb +1 -0
- data/lib/ll/branch.rb +7 -1
- data/lib/ll/configuration_compiler.rb +34 -9
- data/lib/ll/driver.rb +4 -0
- data/lib/ll/grammar_compiler.rb +77 -27
- data/lib/ll/lexer.rb +75 -51
- data/lib/ll/operator.rb +26 -0
- data/lib/ll/parser.rb +129 -62
- data/lib/ll/version.rb +1 -1
- metadata +59 -57
data/lib/ll/operator.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
module LL
|
2
|
+
##
|
3
|
+
# Class for operators such as + and *.
|
4
|
+
#
|
5
|
+
class Operator
|
6
|
+
attr_reader :type, :receiver, :source_line
|
7
|
+
|
8
|
+
##
|
9
|
+
# @param [Symbol] type
|
10
|
+
# @param [LL::Rule] receiver
|
11
|
+
# @param [LL::SourceLine] source_line
|
12
|
+
#
|
13
|
+
def initialize(type, receiver, source_line)
|
14
|
+
@type = type
|
15
|
+
@receiver = receiver
|
16
|
+
@source_line = source_line
|
17
|
+
end
|
18
|
+
|
19
|
+
##
|
20
|
+
# @return [String]
|
21
|
+
#
|
22
|
+
def inspect
|
23
|
+
return "Operator(type: #{type.inspect}, receiver: #{receiver.inspect})"
|
24
|
+
end
|
25
|
+
end # Operator
|
26
|
+
end # LL
|
data/lib/ll/parser.rb
CHANGED
@@ -19,6 +19,10 @@ class Parser < LL::Driver
|
|
19
19
|
:T_PIPE, # 9
|
20
20
|
:T_EPSILON, # 10
|
21
21
|
:T_SEMICOLON, # 11
|
22
|
+
:T_STAR, # 12
|
23
|
+
:T_PLUS, # 13
|
24
|
+
:T_LPAREN, # 14
|
25
|
+
:T_RPAREN, # 15
|
22
26
|
].freeze
|
23
27
|
|
24
28
|
CONFIG.rules = [
|
@@ -26,7 +30,7 @@ class Parser < LL::Driver
|
|
26
30
|
[3, 1, 2, 0], # 1
|
27
31
|
[3, 2, 0, 1, 0, 2], # 2
|
28
32
|
[3, 3, 2, 0], # 3
|
29
|
-
[3, 4, 0,
|
33
|
+
[3, 4, 0, 23], # 4
|
30
34
|
[3, 5, 0, 3], # 5
|
31
35
|
[3, 6, 0, 5], # 6
|
32
36
|
[3, 7, 0, 6], # 7
|
@@ -35,45 +39,59 @@ class Parser < LL::Driver
|
|
35
39
|
[3, 10, 0, 4, 0, 10, 1, 8, 1, 8], # 10
|
36
40
|
[3, 11, 2, 0], # 11
|
37
41
|
[3, 12, 1, 11, 0, 8, 1, 3], # 12
|
38
|
-
[3, 13, 0,
|
39
|
-
[3, 14, 0,
|
42
|
+
[3, 13, 0, 20, 1, 4], # 13
|
43
|
+
[3, 14, 0, 20, 1, 5], # 14
|
40
44
|
[3, 15, 0, 9, 0, 10], # 15
|
41
45
|
[3, 16, 0, 8], # 16
|
42
46
|
[3, 17, 2, 0], # 17
|
43
47
|
[3, 18, 1, 6], # 18
|
44
|
-
[3, 19, 0,
|
45
|
-
[3, 20, 0,
|
46
|
-
[3, 21,
|
47
|
-
[3, 22,
|
48
|
-
[3, 23, 0,
|
49
|
-
[3, 24,
|
50
|
-
[3, 25,
|
51
|
-
[3, 26,
|
52
|
-
[3, 27,
|
53
|
-
[3, 28,
|
54
|
-
[3, 29,
|
48
|
+
[3, 19, 0, 12, 0, 13], # 19
|
49
|
+
[3, 20, 0, 15, 1, 15, 0, 8, 1, 14], # 20
|
50
|
+
[3, 21, 0, 11], # 21
|
51
|
+
[3, 22, 2, 0], # 22
|
52
|
+
[3, 23, 0, 14, 0, 10], # 23
|
53
|
+
[3, 24, 0, 15], # 24
|
54
|
+
[3, 25, 2, 0], # 25
|
55
|
+
[3, 26, 1, 13], # 26
|
56
|
+
[3, 27, 1, 12], # 27
|
57
|
+
[3, 28, 0, 11], # 28
|
58
|
+
[3, 29, 0, 17], # 29
|
59
|
+
[3, 30, 1, 10], # 30
|
60
|
+
[3, 31, 0, 19, 0, 16], # 31
|
61
|
+
[3, 32, 0, 20], # 32
|
62
|
+
[3, 33, 2, 0], # 33
|
63
|
+
[3, 34, 1, 1], # 34
|
64
|
+
[3, 35, 0, 22, 0, 18], # 35
|
65
|
+
[3, 36, 0, 21, 1, 9], # 36
|
66
|
+
[3, 37, 2, 0], # 37
|
67
|
+
[3, 38, 1, 11, 0, 21, 1, 7, 0, 10], # 38
|
55
68
|
].freeze
|
56
69
|
|
57
70
|
CONFIG.table = [
|
58
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], # 0
|
59
|
-
[3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3], # 1
|
60
|
-
[-1, -1, 5, 6, 7, 8, 4, -1, -1, -1, -1, -1], # 2
|
61
|
-
[-1, -1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 3
|
62
|
-
[11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11], # 4
|
63
|
-
[-1, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1], # 5
|
64
|
-
[-1, -1, -1, -1, 13, -1, -1, -1, -1, -1, -1, -1], # 6
|
65
|
-
[-1, -1, -1, -1, -1, 14, -1, -1, -1, -1, -1, -1], # 7
|
66
|
-
[-1, -1, -1, -1, -1, -1, 15, -1, -1, -1, -1, -1], # 8
|
67
|
-
[17, 17, 17, 17, 17, 17, 16, 17, 17, 17, 17, 17], # 9
|
68
|
-
[-1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1], # 10
|
69
|
-
[-1, -1, -1, -1, -1, -1, 19, -1, -1, -1, 20, -1], # 11
|
70
|
-
[
|
71
|
-
[-1, -1, -1, -1, -1, -1,
|
72
|
-
[
|
73
|
-
[-1,
|
74
|
-
[-1, -1, -1, -1, -1, -1,
|
75
|
-
[
|
76
|
-
[-1, -1, -1, -1, -1, -1,
|
71
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], # 0
|
72
|
+
[3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3], # 1
|
73
|
+
[-1, -1, 5, 6, 7, 8, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 2
|
74
|
+
[-1, -1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 3
|
75
|
+
[11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 11, 11, 11, 11, 11, 11], # 4
|
76
|
+
[-1, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 5
|
77
|
+
[-1, -1, -1, -1, 13, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 6
|
78
|
+
[-1, -1, -1, -1, -1, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 7
|
79
|
+
[-1, -1, -1, -1, -1, -1, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 8
|
80
|
+
[17, 17, 17, 17, 17, 17, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17], # 9
|
81
|
+
[-1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 10
|
82
|
+
[-1, -1, -1, -1, -1, -1, 19, -1, -1, -1, -1, -1, -1, -1, 20, -1], # 11
|
83
|
+
[22, 22, 22, 22, 22, 22, 21, 22, 22, 22, 22, 22, 22, 22, 21, 22], # 12
|
84
|
+
[-1, -1, -1, -1, -1, -1, 23, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 13
|
85
|
+
[25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 24, 24, 25, 25], # 14
|
86
|
+
[-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, 26, -1, -1], # 15
|
87
|
+
[-1, -1, -1, -1, -1, -1, 28, -1, -1, -1, 29, -1, -1, -1, 28, -1], # 16
|
88
|
+
[-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, -1, -1, -1, -1, -1], # 17
|
89
|
+
[-1, -1, -1, -1, -1, -1, 31, -1, -1, -1, 31, -1, -1, -1, 31, -1], # 18
|
90
|
+
[33, 32, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33], # 19
|
91
|
+
[-1, 34, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 20
|
92
|
+
[-1, -1, -1, -1, -1, -1, 35, -1, -1, -1, 35, -1, -1, -1, 35, -1], # 21
|
93
|
+
[37, 37, 37, 37, 37, 37, 37, 37, 37, 36, 37, 37, 37, 37, 37, 37], # 22
|
94
|
+
[-1, -1, -1, -1, -1, -1, 38, -1, -1, -1, -1, -1, -1, -1, -1, -1], # 23
|
77
95
|
].freeze
|
78
96
|
|
79
97
|
CONFIG.actions = [
|
@@ -96,17 +114,26 @@ class Parser < LL::Driver
|
|
96
114
|
[:_rule_16, 1], # 16
|
97
115
|
[:_rule_17, 0], # 17
|
98
116
|
[:_rule_18, 1], # 18
|
99
|
-
[:_rule_19,
|
100
|
-
[:_rule_20,
|
117
|
+
[:_rule_19, 2], # 19
|
118
|
+
[:_rule_20, 4], # 20
|
101
119
|
[:_rule_21, 1], # 21
|
102
|
-
[:_rule_22,
|
103
|
-
[:_rule_23,
|
104
|
-
[:_rule_24,
|
105
|
-
[:_rule_25,
|
106
|
-
[:_rule_26,
|
107
|
-
[:_rule_27,
|
108
|
-
[:_rule_28,
|
109
|
-
[:_rule_29,
|
120
|
+
[:_rule_22, 0], # 22
|
121
|
+
[:_rule_23, 2], # 23
|
122
|
+
[:_rule_24, 1], # 24
|
123
|
+
[:_rule_25, 0], # 25
|
124
|
+
[:_rule_26, 1], # 26
|
125
|
+
[:_rule_27, 1], # 27
|
126
|
+
[:_rule_28, 1], # 28
|
127
|
+
[:_rule_29, 1], # 29
|
128
|
+
[:_rule_30, 1], # 30
|
129
|
+
[:_rule_31, 2], # 31
|
130
|
+
[:_rule_32, 1], # 32
|
131
|
+
[:_rule_33, 0], # 33
|
132
|
+
[:_rule_34, 1], # 34
|
133
|
+
[:_rule_35, 2], # 35
|
134
|
+
[:_rule_36, 2], # 36
|
135
|
+
[:_rule_37, 0], # 37
|
136
|
+
[:_rule_38, 4], # 38
|
110
137
|
].freeze
|
111
138
|
|
112
139
|
##
|
@@ -158,7 +185,7 @@ class Parser < LL::Driver
|
|
158
185
|
end
|
159
186
|
|
160
187
|
def _rule_2(val)
|
161
|
-
val[0]
|
188
|
+
[val[0], *val[1]]
|
162
189
|
end
|
163
190
|
|
164
191
|
def _rule_3(val)
|
@@ -166,23 +193,23 @@ class Parser < LL::Driver
|
|
166
193
|
end
|
167
194
|
|
168
195
|
def _rule_4(val)
|
169
|
-
val
|
196
|
+
val[0]
|
170
197
|
end
|
171
198
|
|
172
199
|
def _rule_5(val)
|
173
|
-
val
|
200
|
+
val[0]
|
174
201
|
end
|
175
202
|
|
176
203
|
def _rule_6(val)
|
177
|
-
val
|
204
|
+
val[0]
|
178
205
|
end
|
179
206
|
|
180
207
|
def _rule_7(val)
|
181
|
-
val
|
208
|
+
val[0]
|
182
209
|
end
|
183
210
|
|
184
211
|
def _rule_8(val)
|
185
|
-
val
|
212
|
+
val[0]
|
186
213
|
end
|
187
214
|
|
188
215
|
def _rule_9(val)
|
@@ -192,7 +219,7 @@ class Parser < LL::Driver
|
|
192
219
|
end
|
193
220
|
|
194
221
|
def _rule_10(val)
|
195
|
-
[val[2]
|
222
|
+
[val[2], *val[3]]
|
196
223
|
end
|
197
224
|
|
198
225
|
def _rule_11(val)
|
@@ -218,7 +245,7 @@ class Parser < LL::Driver
|
|
218
245
|
end
|
219
246
|
|
220
247
|
def _rule_15(val)
|
221
|
-
[val[0]
|
248
|
+
[val[0], *val[1]]
|
222
249
|
end
|
223
250
|
|
224
251
|
def _rule_16(val)
|
@@ -236,22 +263,62 @@ class Parser < LL::Driver
|
|
236
263
|
end
|
237
264
|
|
238
265
|
def _rule_19(val)
|
266
|
+
[val[0], *val[1]]
|
267
|
+
end
|
268
|
+
|
269
|
+
def _rule_20(val)
|
270
|
+
|
271
|
+
[s(val[3][0], val[1], :source_line => val[0].source_line)]
|
272
|
+
|
273
|
+
end
|
274
|
+
|
275
|
+
def _rule_21(val)
|
276
|
+
val[0]
|
277
|
+
end
|
278
|
+
|
279
|
+
def _rule_22(val)
|
280
|
+
val
|
281
|
+
end
|
282
|
+
|
283
|
+
def _rule_23(val)
|
284
|
+
|
285
|
+
val[1] ? s(val[1][0], [val[0]], :source_line => val[1][1]) : val[0]
|
286
|
+
|
287
|
+
end
|
288
|
+
|
289
|
+
def _rule_24(val)
|
290
|
+
val[0]
|
291
|
+
end
|
292
|
+
|
293
|
+
def _rule_25(val)
|
294
|
+
nil
|
295
|
+
end
|
296
|
+
|
297
|
+
def _rule_26(val)
|
298
|
+
[:plus, val[0].source_line]
|
299
|
+
end
|
300
|
+
|
301
|
+
def _rule_27(val)
|
302
|
+
[:star, val[0].source_line]
|
303
|
+
end
|
304
|
+
|
305
|
+
def _rule_28(val)
|
239
306
|
|
240
307
|
s(:steps, val[0], :source_line => val[0][0].source_line)
|
241
308
|
|
242
309
|
end
|
243
310
|
|
244
|
-
def
|
311
|
+
def _rule_29(val)
|
245
312
|
|
246
313
|
s(:steps, [val[0]], :source_line => val[0].source_line)
|
247
314
|
|
248
315
|
end
|
249
316
|
|
250
|
-
def
|
317
|
+
def _rule_30(val)
|
251
318
|
s(:epsilon, [], :source_line => val[0].source_line)
|
252
319
|
end
|
253
320
|
|
254
|
-
def
|
321
|
+
def _rule_31(val)
|
255
322
|
|
256
323
|
steps = [val[0]]
|
257
324
|
|
@@ -261,31 +328,31 @@ class Parser < LL::Driver
|
|
261
328
|
|
262
329
|
end
|
263
330
|
|
264
|
-
def
|
331
|
+
def _rule_32(val)
|
265
332
|
val[0]
|
266
333
|
end
|
267
334
|
|
268
|
-
def
|
335
|
+
def _rule_33(val)
|
269
336
|
nil
|
270
337
|
end
|
271
338
|
|
272
|
-
def
|
339
|
+
def _rule_34(val)
|
273
340
|
s(:ruby, [val[0].value], :source_line => val[0].source_line)
|
274
341
|
end
|
275
342
|
|
276
|
-
def
|
277
|
-
[val[0]
|
343
|
+
def _rule_35(val)
|
344
|
+
[val[0], *val[1]]
|
278
345
|
end
|
279
346
|
|
280
|
-
def
|
347
|
+
def _rule_36(val)
|
281
348
|
val[1]
|
282
349
|
end
|
283
350
|
|
284
|
-
def
|
351
|
+
def _rule_37(val)
|
285
352
|
val
|
286
353
|
end
|
287
354
|
|
288
|
-
def
|
355
|
+
def _rule_38(val)
|
289
356
|
|
290
357
|
s(:rule, [val[0], *val[2]], :source_line => val[0].source_line)
|
291
358
|
|
data/lib/ll/version.rb
CHANGED
metadata
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-ll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
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-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
15
15
|
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - '>='
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: '0'
|
25
25
|
prerelease: false
|
@@ -28,12 +28,12 @@ dependencies:
|
|
28
28
|
name: ansi
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- -
|
36
|
+
- - '>='
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '0'
|
39
39
|
prerelease: false
|
@@ -42,12 +42,12 @@ dependencies:
|
|
42
42
|
name: rake
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
prerelease: false
|
@@ -56,12 +56,12 @@ dependencies:
|
|
56
56
|
name: rspec
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '3.0'
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ~>
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '3.0'
|
67
67
|
prerelease: false
|
@@ -70,12 +70,12 @@ dependencies:
|
|
70
70
|
name: yard
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
prerelease: false
|
@@ -84,12 +84,12 @@ dependencies:
|
|
84
84
|
name: simplecov
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirement: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- -
|
92
|
+
- - '>='
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
prerelease: false
|
@@ -98,12 +98,12 @@ dependencies:
|
|
98
98
|
name: kramdown
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirement: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
prerelease: false
|
@@ -112,12 +112,12 @@ dependencies:
|
|
112
112
|
name: benchmark-ips
|
113
113
|
version_requirements: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '2.0'
|
118
118
|
requirement: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
|
-
- -
|
120
|
+
- - ~>
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '2.0'
|
123
123
|
prerelease: false
|
@@ -126,12 +126,12 @@ dependencies:
|
|
126
126
|
name: rake-compiler
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirement: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- -
|
134
|
+
- - '>='
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
prerelease: false
|
@@ -143,52 +143,54 @@ executables:
|
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
|
-
-
|
147
|
-
- LICENSE
|
148
|
-
- README.md
|
149
|
-
- bin/ruby-ll
|
146
|
+
- doc/driver_architecture.md
|
150
147
|
- doc/DCO.md
|
151
148
|
- doc/css/common.css
|
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
|
166
149
|
- lib/ll.rb
|
167
|
-
- lib/ll/
|
168
|
-
- lib/ll/
|
150
|
+
- lib/ll/driver.rb
|
151
|
+
- lib/ll/terminal.rb
|
152
|
+
- lib/ll/driver_config.rb
|
153
|
+
- lib/ll/compiled_grammar.rb
|
169
154
|
- lib/ll/branch.rb
|
170
|
-
- lib/ll/
|
155
|
+
- lib/ll/lexer.rb
|
171
156
|
- lib/ll/code_generator.rb
|
157
|
+
- lib/ll/cli.rb
|
158
|
+
- lib/ll/parser.rb
|
172
159
|
- lib/ll/compiled_configuration.rb
|
173
|
-
- lib/ll/
|
160
|
+
- lib/ll/source_line.rb
|
161
|
+
- lib/ll/version.rb
|
162
|
+
- lib/ll/rule.rb
|
174
163
|
- lib/ll/configuration_compiler.rb
|
175
|
-
- lib/ll/
|
176
|
-
- lib/ll/driver_config.rb
|
177
|
-
- lib/ll/driver_template.erb
|
178
|
-
- lib/ll/epsilon.rb
|
164
|
+
- lib/ll/token.rb
|
179
165
|
- lib/ll/erb_context.rb
|
180
166
|
- lib/ll/grammar_compiler.rb
|
181
|
-
- lib/ll/
|
182
|
-
- lib/ll/message.rb
|
183
|
-
- lib/ll/parser.rb
|
167
|
+
- lib/ll/epsilon.rb
|
184
168
|
- lib/ll/parser_error.rb
|
185
|
-
- lib/ll/rule.rb
|
186
169
|
- lib/ll/setup.rb
|
187
|
-
- lib/ll/
|
188
|
-
- lib/ll/
|
189
|
-
- lib/ll/
|
190
|
-
- lib/ll/
|
170
|
+
- lib/ll/message.rb
|
171
|
+
- lib/ll/operator.rb
|
172
|
+
- lib/ll/ast/node.rb
|
173
|
+
- lib/ll/bootstrap/parser.rb
|
174
|
+
- lib/ll/driver_template.erb
|
175
|
+
- ext/java/Libll.java
|
176
|
+
- ext/java/org/libll/DriverConfig.java
|
177
|
+
- ext/java/org/libll/Driver.java
|
178
|
+
- ext/c/extconf.rb
|
179
|
+
- ext/c/macros.h
|
180
|
+
- ext/c/khash.h
|
181
|
+
- ext/c/driver.c
|
182
|
+
- ext/c/driver_config.h
|
183
|
+
- ext/c/driver_config.c
|
184
|
+
- ext/c/libll.h
|
185
|
+
- ext/c/kvec.h
|
186
|
+
- ext/c/libll.c
|
187
|
+
- ext/c/driver.h
|
188
|
+
- README.md
|
189
|
+
- LICENSE
|
191
190
|
- ruby-ll.gemspec
|
191
|
+
- .yardopts
|
192
|
+
- bin/ruby-ll
|
193
|
+
- lib/libll.jar
|
192
194
|
homepage: https://github.com/yorickpeterse/ruby-ll
|
193
195
|
licenses:
|
194
196
|
- MIT
|
@@ -199,17 +201,17 @@ require_paths:
|
|
199
201
|
- lib
|
200
202
|
required_ruby_version: !ruby/object:Gem::Requirement
|
201
203
|
requirements:
|
202
|
-
- -
|
204
|
+
- - '>='
|
203
205
|
- !ruby/object:Gem::Version
|
204
206
|
version: 1.9.3
|
205
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
208
|
requirements:
|
207
|
-
- -
|
209
|
+
- - '>='
|
208
210
|
- !ruby/object:Gem::Version
|
209
211
|
version: '0'
|
210
212
|
requirements: []
|
211
213
|
rubyforge_project:
|
212
|
-
rubygems_version: 2.
|
214
|
+
rubygems_version: 2.1.9
|
213
215
|
signing_key:
|
214
216
|
specification_version: 4
|
215
217
|
summary: An LL(1) parser generator for Ruby.
|