ebnf 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MmVlMjA5ODQ5YTk5OWUxZDgwYzc2Y2RjYjEyOTU2NTAzN2U0MjQ5Yw==
5
+ data.tar.gz: !binary |-
6
+ MWE3ZGJmYTYwNzdlYmQxZGEzZDdkY2U4NDc4NjhhYTI2MGYxZDhlNg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MGMyZGRlM2I5Zjc4NzQ1YTRlMDJjYmY3M2NjNDc3Y2VmOTRjYmUyMGIzMGM3
10
+ ZjUzMzVkMmM2ODBmNGE3OGQ3ZDcxNjM4ODk0MmQ3YWZhYTllOTI4N2JkMmU0
11
+ MDI4MjIxM2FiMDE1MjhjMzdlNmVmNWZjN2ExOWY2ZDVhMDAyMzQ=
12
+ data.tar.gz: !binary |-
13
+ YWQwMDk1Y2U2MzdlMTYzNGVjY2VlOGQ1ZGIyYTNmYzI4YzkwYjUzNTczMWYy
14
+ YzExNTE4NDkyNjk5NzQ1N2Y1MmY5NTkwZjI3NjE4Zjk0NmViZmU0NjM2NzYx
15
+ Mzk1MTMzZDQyN2Y2YWI5ODMyYjE1YTdmM2I1OThjOTQ1OTUwMDI=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -1,1036 +1,247 @@
1
- ((rule
2
- _empty
3
- "0"
4
- (first _eps)
5
- (follow
6
- "#"
7
- "("
8
- ")"
9
- "*/"
10
- "-"
11
- "/*"
12
- "//"
13
- "@pass"
14
- "@terminals"
15
- ENUM
16
- HEX
17
- O_ENUM
18
- O_RANGE
19
- RANGE
20
- STRING1
21
- STRING2
22
- "["
23
- _eof
24
- _pass_5
25
- "|"
26
- )
27
- (seq)
28
- )
29
- (rule
30
- ebnf
31
- "1"
32
- (start #t)
33
- (first "@pass" "@terminals" "[" _eps)
34
- (follow _eof)
35
- (alt _empty _ebnf_2)
36
- )
37
- (rule
38
- _ebnf_1
39
- "1.1"
40
- (first "@pass" "@terminals" "[")
41
- (follow "@pass" "@terminals" "[" _eof)
42
- (alt declaration rule)
43
- )
44
- (rule
45
- _ebnf_2
46
- "1.2"
47
- (first "@pass" "@terminals" "[")
48
- (follow _eof)
49
- (seq _ebnf_1 ebnf)
50
- )
51
- (rule
52
- _ebnf_3
53
- "1.3"
54
- (first "@pass" "@terminals" "[" _eps)
55
- (follow _eof)
56
- (seq ebnf)
57
- )
58
- (rule
59
- declaration
60
- "2"
61
- (first "@pass" "@terminals")
62
- (follow "@pass" "@terminals" "[" _eof)
63
- (alt "@terminals" pass)
64
- )
65
- (rule
66
- rule
67
- "3"
68
- (first "[")
69
- (follow "@pass" "@terminals" "[" _eof)
70
- (seq lhs "::=" expression)
71
- )
72
- (rule
73
- _rule_1
74
- "3.1"
75
- (first "::=")
76
- (follow "@pass" "@terminals" "[" _eof)
77
- (seq "::=" expression)
78
- )
79
- (rule
80
- _rule_2
81
- "3.2"
82
- (first
83
- "("
84
- ENUM
85
- HEX
86
- O_ENUM
87
- O_RANGE
88
- RANGE
89
- STRING1
90
- STRING2
91
- )
92
- (follow "@pass" "@terminals" "[" _eof)
93
- (seq expression)
94
- )
95
- (rule
96
- lhs
97
- "4"
98
- (first "[")
99
- (follow "::=")
100
- (seq "[" SYMBOL "]" SYMBOL)
101
- )
102
- (rule
103
- _lhs_1
104
- "4.1"
105
- (first SYMBOL)
106
- (follow "::=")
107
- (seq SYMBOL "]" SYMBOL)
108
- )
109
- (rule
110
- _lhs_2
111
- "4.2"
112
- (first "]")
113
- (follow "::=")
114
- (seq "]" SYMBOL)
115
- )
116
- (rule
117
- _lhs_3
118
- "4.3"
119
- (first SYMBOL)
120
- (follow "::=")
121
- (seq SYMBOL)
122
- )
123
- (rule
124
- expression
125
- "5"
126
- (first
127
- "("
128
- ENUM
129
- HEX
130
- O_ENUM
131
- O_RANGE
132
- RANGE
133
- STRING1
134
- STRING2
135
- )
136
- (follow ")" "@pass" "@terminals" "[" _eof)
137
- (seq alt)
138
- )
139
- (rule
140
- alt
141
- "6"
142
- (first
143
- "("
144
- ENUM
145
- HEX
146
- O_ENUM
147
- O_RANGE
148
- RANGE
149
- STRING1
150
- STRING2
151
- )
152
- (follow ")" "@pass" "@terminals" "[" _eof)
153
- (seq seq _alt_1)
154
- )
155
- (rule
156
- _alt_1
157
- "6.1"
158
- (first _eps "|")
159
- (follow ")" "@pass" "@terminals" "[" _eof)
160
- (alt _empty _alt_3)
161
- )
162
- (rule
163
- _alt_2
164
- "6.2"
165
- (first "|")
166
- (follow
167
- ")"
168
- "@pass"
169
- "@terminals"
170
- "["
171
- _eof
172
- "|"
173
- )
174
- (seq "|" seq)
175
- )
176
- (rule
177
- _alt_3
178
- "6.3"
179
- (first "|")
180
- (follow ")" "@pass" "@terminals" "[" _eof)
181
- (seq _alt_2 _alt_1)
182
- )
183
- (rule
184
- _alt_4
185
- "6.4"
186
- (first _eps "|")
187
- (follow ")" "@pass" "@terminals" "[" _eof)
188
- (seq _alt_1)
189
- )
190
- (rule
191
- _alt_5
192
- "6.5"
193
- (first _eps "|")
194
- (follow ")" "@pass" "@terminals" "[" _eof)
195
- (seq _alt_1)
196
- )
197
- (rule
198
- _alt_6
199
- "6.6"
200
- (first
201
- "("
202
- ENUM
203
- HEX
204
- O_ENUM
205
- O_RANGE
206
- RANGE
207
- STRING1
208
- STRING2
209
- )
210
- (follow
211
- ")"
212
- "@pass"
213
- "@terminals"
214
- "["
215
- _eof
216
- "|"
217
- )
218
- (seq seq)
219
- )
220
- (rule
221
- seq
222
- "7"
223
- (first
224
- "("
225
- ENUM
226
- HEX
227
- O_ENUM
228
- O_RANGE
229
- RANGE
230
- STRING1
231
- STRING2
232
- )
233
- (follow
234
- ")"
235
- "@pass"
236
- "@terminals"
237
- "["
238
- _eof
239
- "|"
240
- )
241
- (seq diff _seq_1)
242
- )
243
- (rule
244
- _seq_1
245
- "7.1"
246
- (first
247
- "("
248
- ENUM
249
- HEX
250
- O_ENUM
251
- O_RANGE
252
- RANGE
253
- STRING1
254
- STRING2
255
- _eps
256
- )
257
- (follow
258
- ")"
259
- "@pass"
260
- "@terminals"
261
- "["
262
- _eof
263
- "|"
264
- )
265
- (alt _empty _seq_2)
266
- )
267
- (rule
268
- _seq_2
269
- "7.2"
270
- (first
271
- "("
272
- ENUM
273
- HEX
274
- O_ENUM
275
- O_RANGE
276
- RANGE
277
- STRING1
278
- STRING2
279
- )
280
- (follow
281
- ")"
282
- "@pass"
283
- "@terminals"
284
- "["
285
- _eof
286
- "|"
287
- )
288
- (seq diff _seq_1)
289
- )
290
- (rule
291
- _seq_3
292
- "7.3"
293
- (first
294
- "("
295
- ENUM
296
- HEX
297
- O_ENUM
298
- O_RANGE
299
- RANGE
300
- STRING1
301
- STRING2
302
- _eps
303
- )
304
- (follow
305
- ")"
306
- "@pass"
307
- "@terminals"
308
- "["
309
- _eof
310
- "|"
311
- )
312
- (seq _seq_1)
313
- )
314
- (rule
315
- _seq_4
316
- "7.4"
317
- (first
318
- "("
319
- ENUM
320
- HEX
321
- O_ENUM
322
- O_RANGE
323
- RANGE
324
- STRING1
325
- STRING2
326
- _eps
327
- )
328
- (follow
329
- ")"
330
- "@pass"
331
- "@terminals"
332
- "["
333
- _eof
334
- "|"
335
- )
336
- (seq _seq_1)
337
- )
338
- (rule
339
- diff
340
- "8"
341
- (first
342
- "("
343
- ENUM
344
- HEX
345
- O_ENUM
346
- O_RANGE
347
- RANGE
348
- STRING1
349
- STRING2
350
- )
351
- (follow
352
- "("
353
- ")"
354
- "@pass"
355
- "@terminals"
356
- ENUM
357
- HEX
358
- O_ENUM
359
- O_RANGE
360
- RANGE
361
- STRING1
362
- STRING2
363
- "["
364
- _eof
365
- "|"
366
- )
367
- (seq postfix _diff_1)
368
- )
369
- (rule
370
- _diff_1
371
- "8.1"
372
- (first "-" _eps)
373
- (follow
374
- "("
375
- ")"
376
- "@pass"
377
- "@terminals"
378
- ENUM
379
- HEX
380
- O_ENUM
381
- O_RANGE
382
- RANGE
383
- STRING1
384
- STRING2
385
- "["
386
- _eof
387
- "|"
388
- )
389
- (alt _empty _diff_3)
390
- )
391
- (rule
392
- _diff_2
393
- "8.2"
394
- (first "-")
395
- (follow
396
- "("
397
- ")"
398
- "-"
399
- "@pass"
400
- "@terminals"
401
- ENUM
402
- HEX
403
- O_ENUM
404
- O_RANGE
405
- RANGE
406
- STRING1
407
- STRING2
408
- "["
409
- _eof
410
- "|"
411
- )
412
- (seq "-" postfix)
413
- )
414
- (rule
415
- _diff_3
416
- "8.3"
417
- (first "-")
418
- (follow
419
- "("
420
- ")"
421
- "@pass"
422
- "@terminals"
423
- ENUM
424
- HEX
425
- O_ENUM
426
- O_RANGE
427
- RANGE
428
- STRING1
429
- STRING2
430
- "["
431
- _eof
432
- "|"
433
- )
434
- (seq _diff_2 _diff_1)
435
- )
436
- (rule
437
- _diff_4
438
- "8.4"
439
- (first "-" _eps)
440
- (follow
441
- "("
442
- ")"
443
- "@pass"
444
- "@terminals"
445
- ENUM
446
- HEX
447
- O_ENUM
448
- O_RANGE
449
- RANGE
450
- STRING1
451
- STRING2
452
- "["
453
- _eof
454
- "|"
455
- )
456
- (seq _diff_1)
457
- )
458
- (rule
459
- _diff_5
460
- "8.5"
461
- (first "-" _eps)
462
- (follow
463
- "("
464
- ")"
465
- "@pass"
466
- "@terminals"
467
- ENUM
468
- HEX
469
- O_ENUM
470
- O_RANGE
471
- RANGE
472
- STRING1
473
- STRING2
474
- "["
475
- _eof
476
- "|"
477
- )
478
- (seq _diff_1)
479
- )
480
- (rule
481
- _diff_6
482
- "8.6"
483
- (first
484
- "("
485
- ENUM
486
- HEX
487
- O_ENUM
488
- O_RANGE
489
- RANGE
490
- STRING1
491
- STRING2
492
- )
493
- (follow
494
- "("
495
- ")"
496
- "-"
497
- "@pass"
498
- "@terminals"
499
- ENUM
500
- HEX
501
- O_ENUM
502
- O_RANGE
503
- RANGE
504
- STRING1
505
- STRING2
506
- "["
507
- _eof
508
- "|"
509
- )
510
- (seq postfix)
511
- )
512
- (rule
513
- postfix
514
- "9"
515
- (first
516
- "("
517
- ENUM
518
- HEX
519
- O_ENUM
520
- O_RANGE
521
- RANGE
522
- STRING1
523
- STRING2
524
- )
525
- (follow
526
- "("
527
- ")"
528
- "-"
529
- "@pass"
530
- "@terminals"
531
- ENUM
532
- HEX
533
- O_ENUM
534
- O_RANGE
535
- RANGE
536
- STRING1
537
- STRING2
538
- "["
539
- _eof
540
- "|"
541
- )
542
- (seq primary _postfix_1)
543
- )
544
- (rule
545
- _postfix_1
546
- "9.1"
547
- (first _eps _postfix_2)
548
- (follow
549
- "("
550
- ")"
551
- "-"
552
- "@pass"
553
- "@terminals"
554
- ENUM
555
- HEX
556
- O_ENUM
557
- O_RANGE
558
- RANGE
559
- STRING1
560
- STRING2
561
- "["
562
- _eof
563
- "|"
564
- )
565
- (alt _empty _postfix_2)
566
- )
1
+
2
+ (
3
+ (rule _empty "0" (first _eps) (seq))
4
+ (rule ebnf "1"
5
+ (start #t)
6
+ (first "@pass" "@terminals" "[" _eps)
7
+ (follow _eof)
8
+ (alt _empty _ebnf_2))
9
+ (rule _ebnf_1 "1.1"
10
+ (first "@pass" "@terminals" "[")
11
+ (follow "@pass" "@terminals" "[" _eof)
12
+ (alt declaration rule))
13
+ (rule _ebnf_2 "1.2" (first "@pass" "@terminals" "[") (follow _eof) (seq _ebnf_1 ebnf))
14
+ (rule _ebnf_3 "1.3" (first "@pass" "@terminals" "[" _eps) (follow _eof) (seq ebnf))
15
+ (rule declaration "2"
16
+ (first "@pass" "@terminals")
17
+ (follow "@pass" "@terminals" "[" _eof)
18
+ (alt "@terminals" pass))
19
+ (rule rule "3"
20
+ (first "[")
21
+ (follow "@pass" "@terminals" "[" _eof)
22
+ (seq lhs "::=" expression))
23
+ (rule _rule_1 "3.1"
24
+ (first "::=")
25
+ (follow "@pass" "@terminals" "[" _eof)
26
+ (seq "::=" expression))
27
+ (rule _rule_2 "3.2"
28
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
29
+ (follow "@pass" "@terminals" "[" _eof)
30
+ (seq expression))
31
+ (rule lhs "4" (first "[") (follow "::=") (seq "[" SYMBOL "]" SYMBOL))
32
+ (rule _lhs_1 "4.1" (first SYMBOL) (follow "::=") (seq SYMBOL "]" SYMBOL))
33
+ (rule _lhs_2 "4.2" (first "]") (follow "::=") (seq "]" SYMBOL))
34
+ (rule _lhs_3 "4.3" (first SYMBOL) (follow "::=") (seq SYMBOL))
35
+ (rule expression "5"
36
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
37
+ (follow ")" "@pass" "@terminals" "[" _eof)
38
+ (seq alt))
39
+ (rule alt "6"
40
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
41
+ (follow ")" "@pass" "@terminals" "[" _eof)
42
+ (seq seq _alt_1))
43
+ (rule _alt_1 "6.1"
44
+ (first _eps "|")
45
+ (follow ")" "@pass" "@terminals" "[" _eof)
46
+ (alt _empty _alt_3))
47
+ (rule _alt_2 "6.2"
48
+ (first "|")
49
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
50
+ (seq "|" seq))
51
+ (rule _alt_3 "6.3"
52
+ (first "|")
53
+ (follow ")" "@pass" "@terminals" "[" _eof)
54
+ (seq _alt_2 _alt_1))
55
+ (rule _alt_4 "6.4"
56
+ (first _eps "|")
57
+ (follow ")" "@pass" "@terminals" "[" _eof)
58
+ (seq _alt_1))
59
+ (rule _alt_5 "6.5"
60
+ (first _eps "|")
61
+ (follow ")" "@pass" "@terminals" "[" _eof)
62
+ (seq _alt_1))
63
+ (rule _alt_6 "6.6"
64
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
65
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
66
+ (seq seq))
67
+ (rule seq "7"
68
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
69
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
70
+ (seq diff _seq_1))
71
+ (rule _seq_1 "7.1"
72
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 _eps)
73
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
74
+ (alt _empty _seq_2))
75
+ (rule _seq_2 "7.2"
76
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
77
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
78
+ (seq diff _seq_1))
79
+ (rule _seq_3 "7.3"
80
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 _eps)
81
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
82
+ (seq _seq_1))
83
+ (rule _seq_4 "7.4"
84
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 _eps)
85
+ (follow ")" "@pass" "@terminals" "[" _eof "|")
86
+ (seq _seq_1))
87
+ (rule diff "8"
88
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
89
+ (follow
90
+ "(" ")" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
91
+ (seq postfix _diff_1))
92
+ (rule _diff_1 "8.1"
93
+ (first "-" _eps)
94
+ (follow
95
+ "(" ")" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
96
+ (alt _empty _diff_3))
97
+ (rule _diff_2 "8.2"
98
+ (first "-")
99
+ (follow
100
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
101
+ (seq "-" postfix))
102
+ (rule _diff_3 "8.3"
103
+ (first "-")
104
+ (follow
105
+ "(" ")" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
106
+ (seq _diff_2 _diff_1))
107
+ (rule _diff_4 "8.4"
108
+ (first "-" _eps)
109
+ (follow
110
+ "(" ")" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
111
+ (seq _diff_1))
112
+ (rule _diff_5 "8.5"
113
+ (first "-" _eps)
114
+ (follow
115
+ "(" ")" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
116
+ (seq _diff_1))
117
+ (rule _diff_6 "8.6"
118
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
119
+ (follow
120
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
121
+ (seq postfix))
122
+ (rule postfix "9"
123
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
124
+ (follow
125
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
126
+ (seq primary _postfix_1))
127
+ (rule _postfix_1 "9.1"
128
+ (first _eps _postfix_2)
129
+ (follow
130
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
131
+ (alt _empty _postfix_2))
567
132
  (terminal _postfix_2 "9.2" (range "?*+"))
568
- (rule
569
- _postfix_3
570
- "9.3"
571
- (first _eps _postfix_2)
572
- (follow
573
- "("
574
- ")"
575
- "-"
576
- "@pass"
577
- "@terminals"
578
- ENUM
579
- HEX
580
- O_ENUM
581
- O_RANGE
582
- RANGE
583
- STRING1
584
- STRING2
585
- "["
586
- _eof
587
- "|"
588
- )
589
- (seq _postfix_1)
590
- )
591
- (rule
592
- primary
593
- "10"
594
- (first
595
- "("
596
- ENUM
597
- HEX
598
- O_ENUM
599
- O_RANGE
600
- RANGE
601
- STRING1
602
- STRING2
603
- )
604
- (follow
605
- "("
606
- ")"
607
- "-"
608
- "@pass"
609
- "@terminals"
610
- ENUM
611
- HEX
612
- O_ENUM
613
- O_RANGE
614
- RANGE
615
- STRING1
616
- STRING2
617
- "["
618
- _eof
619
- _postfix_2
620
- "|"
621
- )
622
- (alt
623
- HEX
624
- RANGE
625
- ENUM
626
- O_RANGE
627
- O_ENUM
628
- STRING1
629
- STRING2
630
- _primary_1
631
- )
632
- )
633
- (rule
634
- _primary_1
635
- "10.1"
636
- (first "(")
637
- (follow
638
- "("
639
- ")"
640
- "-"
641
- "@pass"
642
- "@terminals"
643
- ENUM
644
- HEX
645
- O_ENUM
646
- O_RANGE
647
- RANGE
648
- STRING1
649
- STRING2
650
- "["
651
- _eof
652
- _postfix_2
653
- "|"
654
- )
655
- (seq "(" expression ")")
656
- )
657
- (rule
658
- _primary_2
659
- "10.2"
660
- (first
661
- "("
662
- ENUM
663
- HEX
664
- O_ENUM
665
- O_RANGE
666
- RANGE
667
- STRING1
668
- STRING2
669
- )
670
- (follow
671
- "("
672
- ")"
673
- "-"
674
- "@pass"
675
- "@terminals"
676
- ENUM
677
- HEX
678
- O_ENUM
679
- O_RANGE
680
- RANGE
681
- STRING1
682
- STRING2
683
- "["
684
- _eof
685
- _postfix_2
686
- "|"
687
- )
688
- (seq expression ")")
689
- )
690
- (rule
691
- _primary_3
692
- "10.3"
693
- (first ")")
694
- (follow
695
- "("
696
- ")"
697
- "-"
698
- "@pass"
699
- "@terminals"
700
- ENUM
701
- HEX
702
- O_ENUM
703
- O_RANGE
704
- RANGE
705
- STRING1
706
- STRING2
707
- "["
708
- _eof
709
- _postfix_2
710
- "|"
711
- )
712
- (seq ")")
713
- )
714
- (rule
715
- pass
716
- "11"
717
- (first "@pass")
718
- (follow "@pass" "@terminals" "[" _eof)
719
- (seq "@pass" _pass_1)
720
- )
721
- (rule
722
- _pass_1
723
- "11.1"
724
- (first "#" "/*" "//" _pass_5)
725
- (follow "@pass" "@terminals" "[" _eof)
726
- (seq _pass_2 _pass_3)
727
- )
728
- (terminal
729
- _pass_10
730
- "11.10"
731
- (range "^\\r\\n")
732
- )
733
- (rule
734
- _pass_11
735
- "11.11"
736
- (first _pass_10)
737
- (follow
738
- "#"
739
- "/*"
740
- "//"
741
- "@pass"
742
- "@terminals"
743
- "["
744
- _eof
745
- _pass_5
746
- )
747
- (seq _pass_10 _pass_9)
748
- )
749
- (rule
750
- _pass_12
751
- "11.12"
752
- (first "*" _eps _pass_15)
753
- (follow "*/")
754
- (alt _empty _pass_14)
755
- )
756
- (rule
757
- _pass_13
758
- "11.13"
759
- (first "*" _pass_15)
760
- (follow "*" "*/" _pass_15)
761
- (alt _pass_15 _pass_16)
762
- )
763
- (rule
764
- _pass_14
765
- "11.14"
766
- (first "*" _pass_15)
767
- (follow "*/")
768
- (seq _pass_13 _pass_12)
769
- )
133
+ (rule _postfix_3 "9.3"
134
+ (first _eps _postfix_2)
135
+ (follow
136
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof "|" )
137
+ (seq _postfix_1))
138
+ (rule primary "10"
139
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
140
+ (follow
141
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof _postfix_2 "|" )
142
+ (alt HEX RANGE ENUM O_RANGE O_ENUM STRING1 STRING2 _primary_1))
143
+ (rule _primary_1 "10.1"
144
+ (first "(")
145
+ (follow
146
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof _postfix_2 "|" )
147
+ (seq "(" expression ")"))
148
+ (rule _primary_2 "10.2"
149
+ (first "(" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2)
150
+ (follow
151
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof _postfix_2 "|" )
152
+ (seq expression ")"))
153
+ (rule _primary_3 "10.3"
154
+ (first ")")
155
+ (follow
156
+ "(" ")" "-" "@pass" "@terminals" ENUM HEX O_ENUM O_RANGE RANGE STRING1 STRING2 "[" _eof _postfix_2 "|" )
157
+ (seq ")"))
158
+ (rule pass "11"
159
+ (first "@pass")
160
+ (follow "@pass" "@terminals" "[" _eof)
161
+ (seq "@pass" _pass_1))
162
+ (terminal _pass_10 "11.10" (range "^\\r\\n"))
163
+ (rule _pass_1 "11.1"
164
+ (first "#" "/*" "//" _pass_5)
165
+ (follow "@pass" "@terminals" "[" _eof)
166
+ (seq _pass_2 _pass_3))
167
+ (rule _pass_11 "11.11"
168
+ (first _pass_10)
169
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
170
+ (seq _pass_10 _pass_9))
171
+ (rule _pass_12 "11.12" (first "*" _eps _pass_15) (follow "*/") (alt _empty _pass_14))
172
+ (rule _pass_13 "11.13"
173
+ (first "*" _pass_15)
174
+ (follow "*" "*/" _pass_15)
175
+ (alt _pass_15 _pass_16))
176
+ (rule _pass_14 "11.14" (first "*" _pass_15) (follow "*/") (seq _pass_13 _pass_12))
770
177
  (terminal _pass_15 "11.15" (range "^*"))
771
- (rule
772
- _pass_16
773
- "11.16"
774
- (first "*")
775
- (follow "*" "*/" _pass_15)
776
- (seq "*" _pass_17)
777
- )
178
+ (rule _pass_16 "11.16" (first "*") (follow "*" "*/" _pass_15) (seq "*" _pass_17))
778
179
  (terminal _pass_17 "11.17" (range "^/"))
779
- (rule
780
- _pass_18
781
- "11.18"
782
- (first "#" "/*" "//" _pass_5)
783
- (follow "@pass" "@terminals" "[" _eof)
784
- (seq _pass_1)
785
- )
786
- (rule
787
- _pass_19
788
- "11.19"
789
- (first "#" "/*" "//" _eps _pass_5)
790
- (follow "@pass" "@terminals" "[" _eof)
791
- (seq _pass_3)
792
- )
793
- (rule
794
- _pass_2
795
- "11.2"
796
- (first "#" "/*" "//" _pass_5)
797
- (follow
798
- "#"
799
- "/*"
800
- "//"
801
- "@pass"
802
- "@terminals"
803
- "["
804
- _eof
805
- _pass_5
806
- )
807
- (alt _pass_5 _pass_6 _pass_7)
808
- )
809
- (rule
810
- _pass_20
811
- "11.20"
812
- (first "#" "/*" "//" _eps _pass_5)
813
- (follow "@pass" "@terminals" "[" _eof)
814
- (seq _pass_3)
815
- )
816
- (rule
817
- _pass_21
818
- "11.21"
819
- (first _eps _pass_10)
820
- (follow
821
- "#"
822
- "/*"
823
- "//"
824
- "@pass"
825
- "@terminals"
826
- "["
827
- _eof
828
- _pass_5
829
- )
830
- (seq _pass_9)
831
- )
832
- (rule
833
- _pass_22
834
- "11.22"
835
- (first _eps _pass_10)
836
- (follow
837
- "#"
838
- "/*"
839
- "//"
840
- "@pass"
841
- "@terminals"
842
- "["
843
- _eof
844
- _pass_5
845
- )
846
- (seq _pass_9)
847
- )
848
- (rule
849
- _pass_23
850
- "11.23"
851
- (first "*" "*/" _pass_15)
852
- (follow
853
- "#"
854
- "/*"
855
- "//"
856
- "@pass"
857
- "@terminals"
858
- "["
859
- _eof
860
- _pass_5
861
- )
862
- (seq _pass_12 "*/")
863
- )
864
- (rule
865
- _pass_24
866
- "11.24"
867
- (first "*" _eps _pass_15)
868
- (follow "*/")
869
- (seq _pass_12)
870
- )
871
- (rule
872
- _pass_25
873
- "11.25"
874
- (first _pass_17)
875
- (follow "*" "*/" _pass_15)
876
- (seq _pass_17)
877
- )
878
- (rule
879
- _pass_26
880
- "11.26"
881
- (first "*/")
882
- (follow
883
- "#"
884
- "/*"
885
- "//"
886
- "@pass"
887
- "@terminals"
888
- "["
889
- _eof
890
- _pass_5
891
- )
892
- (seq "*/")
893
- )
894
- (rule
895
- _pass_3
896
- "11.3"
897
- (first "#" "/*" "//" _eps _pass_5)
898
- (follow "@pass" "@terminals" "[" _eof)
899
- (alt _empty _pass_4)
900
- )
901
- (rule
902
- _pass_4
903
- "11.4"
904
- (first "#" "/*" "//" _pass_5)
905
- (follow "@pass" "@terminals" "[" _eof)
906
- (seq _pass_2 _pass_3)
907
- )
908
- (terminal
909
- _pass_5
910
- "11.5"
911
- (range "#x20\\t\\r\\n")
912
- )
913
- (rule
914
- _pass_6
915
- "11.6"
916
- (first "#" "//")
917
- (follow
918
- "#"
919
- "/*"
920
- "//"
921
- "@pass"
922
- "@terminals"
923
- "["
924
- _eof
925
- _pass_5
926
- )
927
- (seq _pass_8 _pass_9)
928
- )
929
- (rule
930
- _pass_7
931
- "11.7"
932
- (first "/*")
933
- (follow
934
- "#"
935
- "/*"
936
- "//"
937
- "@pass"
938
- "@terminals"
939
- "["
940
- _eof
941
- _pass_5
942
- )
943
- (seq "/*" _pass_12 "*/")
944
- )
945
- (rule
946
- _pass_8
947
- "11.8"
948
- (first "#" "//")
949
- (follow
950
- "#"
951
- "/*"
952
- "//"
953
- "@pass"
954
- "@terminals"
955
- "["
956
- _eof
957
- _pass_10
958
- _pass_5
959
- )
960
- (alt "#" "//")
961
- )
962
- (rule
963
- _pass_9
964
- "11.9"
965
- (first _eps _pass_10)
966
- (follow
967
- "#"
968
- "/*"
969
- "//"
970
- "@pass"
971
- "@terminals"
972
- "["
973
- _eof
974
- _pass_5
975
- )
976
- (alt _empty _pass_11)
977
- )
978
- (terminal
979
- SYMBOL
980
- "12"
981
- (plus
982
- (alt
983
- (range "a-z")
984
- (range "A-Z")
985
- (range "0-9")
986
- "_"
987
- "."
988
- )
989
- )
990
- )
991
- (terminal
992
- HEX
993
- "13"
994
- (seq
995
- "#x"
996
- (plus
997
- (alt (range "0-9") (range "a-f") (range "A-F"))
998
- )
999
- )
1000
- )
1001
- (terminal
1002
- RANGE
1003
- "14"
1004
- (seq "[" CHAR "-" CHAR "]")
1005
- )
180
+ (rule _pass_18 "11.18"
181
+ (first "#" "/*" "//" _pass_5)
182
+ (follow "@pass" "@terminals" "[" _eof)
183
+ (seq _pass_1))
184
+ (rule _pass_19 "11.19"
185
+ (first "#" "/*" "//" _eps _pass_5)
186
+ (follow "@pass" "@terminals" "[" _eof)
187
+ (seq _pass_3))
188
+ (rule _pass_20 "11.20"
189
+ (first "#" "/*" "//" _eps _pass_5)
190
+ (follow "@pass" "@terminals" "[" _eof)
191
+ (seq _pass_3))
192
+ (rule _pass_2 "11.2"
193
+ (first "#" "/*" "//" _pass_5)
194
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
195
+ (alt _pass_5 _pass_6 _pass_7))
196
+ (rule _pass_21 "11.21"
197
+ (first _eps _pass_10)
198
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
199
+ (seq _pass_9))
200
+ (rule _pass_22 "11.22"
201
+ (first _eps _pass_10)
202
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
203
+ (seq _pass_9))
204
+ (rule _pass_23 "11.23"
205
+ (first "*" "*/" _pass_15)
206
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
207
+ (seq _pass_12 "*/"))
208
+ (rule _pass_24 "11.24" (first "*" _eps _pass_15) (follow "*/") (seq _pass_12))
209
+ (rule _pass_25 "11.25" (first _pass_17) (follow "*" "*/" _pass_15) (seq _pass_17))
210
+ (rule _pass_26 "11.26"
211
+ (first "*/")
212
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
213
+ (seq "*/"))
214
+ (rule _pass_3 "11.3"
215
+ (first "#" "/*" "//" _eps _pass_5)
216
+ (follow "@pass" "@terminals" "[" _eof)
217
+ (alt _empty _pass_4))
218
+ (rule _pass_4 "11.4"
219
+ (first "#" "/*" "//" _pass_5)
220
+ (follow "@pass" "@terminals" "[" _eof)
221
+ (seq _pass_2 _pass_3))
222
+ (terminal _pass_5 "11.5" (range "#x20\\t\\r\\n"))
223
+ (rule _pass_6 "11.6"
224
+ (first "#" "//")
225
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
226
+ (seq _pass_8 _pass_9))
227
+ (rule _pass_7 "11.7"
228
+ (first "/*")
229
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
230
+ (seq "/*" _pass_12 "*/"))
231
+ (rule _pass_8 "11.8"
232
+ (first "#" "//")
233
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_10 _pass_5)
234
+ (alt "#" "//"))
235
+ (rule _pass_9 "11.9"
236
+ (first _eps _pass_10)
237
+ (follow "#" "/*" "//" "@pass" "@terminals" "[" _eof _pass_5)
238
+ (alt _empty _pass_11))
239
+ (terminal SYMBOL "12" (plus (alt (range "a-z") (range "A-Z") (range "0-9") "_" ".")))
240
+ (terminal HEX "13" (seq "#x" (plus (alt (range "0-9") (range "a-f") (range "A-F")))))
241
+ (terminal RANGE "14" (seq "[" CHAR "-" CHAR "]"))
1006
242
  (terminal ENUM "15" (seq "[" (plus CHAR) "]"))
1007
- (terminal
1008
- O_RANGE
1009
- "16"
1010
- (seq "[^" CHAR "-" CHAR "]")
1011
- )
1012
- (terminal
1013
- O_ENUM
1014
- "17"
1015
- (seq "[^" (plus CHAR) "]")
1016
- )
1017
- (terminal
1018
- STRING1
1019
- "18"
1020
- (seq "\"" (star (diff CHAR "\"")) "\"")
1021
- )
1022
- (terminal
1023
- STRING2
1024
- "19"
1025
- (seq "'" (star (diff CHAR "'")) "'")
1026
- )
1027
- (terminal
1028
- CHAR
1029
- "20"
1030
- (alt
1031
- HEX
1032
- (seq "\\\\" (range "\\\\trn'\""))
1033
- (range "^\\t\\r\\n'\"")
1034
- )
1035
- )
1036
- )
243
+ (terminal O_RANGE "16" (seq "[^" CHAR "-" CHAR "]"))
244
+ (terminal O_ENUM "17" (seq "[^" (plus CHAR) "]"))
245
+ (terminal STRING1 "18" (seq "\"" (star (diff CHAR "\"")) "\""))
246
+ (terminal STRING2 "19" (seq "'" (star (diff CHAR "'")) "'"))
247
+ (terminal CHAR "20" (alt HEX (seq "\\\\" (range "\\\\trn'\"")) (range "^\\t\\r\\n'\""))))