racc 1.4.16-java → 1.5.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +19 -0
- data/bin/racc +3 -6
- data/ext/racc/cparse/extconf.rb +1 -1
- data/lib/racc/compat.rb +3 -1
- data/lib/racc/cparse-jruby.jar +0 -0
- data/lib/racc/debugflags.rb +3 -1
- data/lib/racc/exception.rb +4 -1
- data/lib/racc/grammar.rb +4 -1
- data/lib/racc/grammarfileparser.rb +4 -2
- data/lib/racc/info.rb +5 -2
- data/lib/racc/iset.rb +3 -1
- data/lib/racc/logfilegenerator.rb +3 -1
- data/lib/racc/parser-text.rb +5 -11
- data/lib/racc/parser.rb +5 -11
- data/lib/racc/parserfilegenerator.rb +7 -4
- data/lib/racc/sourcetext.rb +3 -1
- data/lib/racc/state.rb +4 -1
- data/lib/racc/statetransitiontable.rb +4 -2
- data/rdoc/ja/command.ja.html +1 -1
- data/sample/array.y +1 -1
- data/sample/array2.y +1 -1
- data/sample/calc-ja.y +2 -2
- data/sample/calc.y +2 -2
- data/sample/conflict.y +1 -1
- data/sample/hash.y +1 -1
- data/sample/lalr.y +1 -1
- data/sample/lists.y +1 -1
- data/sample/syntax.y +1 -1
- data/sample/yyerr.y +1 -1
- data/test/assets/nasl.y +1 -1
- data/test/regress/cadenza +1 -1
- data/test/regress/cast +1 -1
- data/test/regress/csspool +1 -1
- data/test/regress/edtf +1 -1
- data/test/regress/huia +1 -1
- data/test/regress/journey +1 -1
- data/test/regress/liquor +1 -1
- data/test/regress/machete +1 -1
- data/test/regress/mediacloth +1 -1
- data/test/regress/mof +1 -1
- data/test/regress/namae +1 -1
- data/test/regress/nasl +2 -2
- data/test/regress/nokogiri-css +1 -1
- data/test/regress/opal +1 -1
- data/test/regress/php_serialization +1 -1
- data/test/regress/riml +1 -1
- data/test/regress/ruby18 +1 -1
- data/test/regress/ruby22 +1 -1
- data/test/regress/tp_plus +1 -1
- data/test/regress/twowaysql +1 -1
- metadata +4 -18
- data/DEPENDS +0 -4
- data/Manifest.txt +0 -146
- data/bin/racc2y +0 -195
- data/bin/y2racc +0 -339
- data/fastcache/extconf.rb +0 -2
- data/fastcache/fastcache.c +0 -185
- data/misc/dist.sh +0 -31
- data/setup.rb +0 -1587
- data/tasks/doc.rb +0 -12
- data/tasks/email.rb +0 -55
data/sample/array2.y
CHANGED
data/sample/calc-ja.y
CHANGED
data/sample/calc.y
CHANGED
data/sample/conflict.y
CHANGED
data/sample/hash.y
CHANGED
data/sample/lalr.y
CHANGED
data/sample/lists.y
CHANGED
data/sample/syntax.y
CHANGED
data/sample/yyerr.y
CHANGED
data/test/assets/nasl.y
CHANGED
@@ -586,7 +586,7 @@ def n(cls, *args)
|
|
586
586
|
rescue
|
587
587
|
puts "An exception occurred during the creation of a #{cls} instance."
|
588
588
|
puts
|
589
|
-
puts "The arguments passed to the
|
589
|
+
puts "The arguments passed to the constructor were:"
|
590
590
|
puts args
|
591
591
|
puts
|
592
592
|
puts @tok.last.context
|
data/test/regress/cadenza
CHANGED
data/test/regress/cast
CHANGED
data/test/regress/csspool
CHANGED
data/test/regress/edtf
CHANGED
data/test/regress/huia
CHANGED
data/test/regress/journey
CHANGED
data/test/regress/liquor
CHANGED
data/test/regress/machete
CHANGED
data/test/regress/mediacloth
CHANGED
data/test/regress/mof
CHANGED
data/test/regress/namae
CHANGED
data/test/regress/nasl
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.4.16
|
3
|
+
# This file is automatically generated by Racc 1.4.16
|
4
4
|
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
@@ -56,7 +56,7 @@ def n(cls, *args)
|
|
56
56
|
rescue
|
57
57
|
puts "An exception occurred during the creation of a #{cls} instance."
|
58
58
|
puts
|
59
|
-
puts "The arguments passed to the
|
59
|
+
puts "The arguments passed to the constructor were:"
|
60
60
|
puts args
|
61
61
|
puts
|
62
62
|
puts @tok.last.context
|
data/test/regress/nokogiri-css
CHANGED
data/test/regress/opal
CHANGED
data/test/regress/riml
CHANGED
data/test/regress/ruby18
CHANGED
data/test/regress/ruby22
CHANGED
data/test/regress/tp_plus
CHANGED
data/test/regress/twowaysql
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: racc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Minero Aoki
|
@@ -9,9 +9,9 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
14
|
+
description: |
|
15
15
|
Racc is a LALR(1) parser generator.
|
16
16
|
It is written in Ruby itself, and generates Ruby program.
|
17
17
|
|
@@ -23,11 +23,8 @@ email:
|
|
23
23
|
- aaron@tenderlovemaking.com
|
24
24
|
executables:
|
25
25
|
- racc
|
26
|
-
- racc2y
|
27
|
-
- y2racc
|
28
26
|
extensions: []
|
29
27
|
extra_rdoc_files:
|
30
|
-
- Manifest.txt
|
31
28
|
- README.ja.rdoc
|
32
29
|
- README.rdoc
|
33
30
|
- rdoc/en/NEWS.en.rdoc
|
@@ -39,21 +36,15 @@ extra_rdoc_files:
|
|
39
36
|
files:
|
40
37
|
- COPYING
|
41
38
|
- ChangeLog
|
42
|
-
- DEPENDS
|
43
|
-
- Manifest.txt
|
44
39
|
- README.ja.rdoc
|
45
40
|
- README.rdoc
|
46
41
|
- Rakefile
|
47
42
|
- TODO
|
48
43
|
- bin/racc
|
49
|
-
- bin/racc2y
|
50
|
-
- bin/y2racc
|
51
44
|
- ext/racc/MANIFEST
|
52
45
|
- ext/racc/com/headius/racc/Cparse.java
|
53
46
|
- ext/racc/cparse/cparse.c
|
54
47
|
- ext/racc/cparse/extconf.rb
|
55
|
-
- fastcache/extconf.rb
|
56
|
-
- fastcache/fastcache.c
|
57
48
|
- lib/racc.rb
|
58
49
|
- lib/racc/compat.rb
|
59
50
|
- lib/racc/cparse-jruby.jar
|
@@ -72,7 +63,6 @@ files:
|
|
72
63
|
- lib/racc/state.rb
|
73
64
|
- lib/racc/statetransitiontable.rb
|
74
65
|
- lib/racc/static.rb
|
75
|
-
- misc/dist.sh
|
76
66
|
- rdoc/en/NEWS.en.rdoc
|
77
67
|
- rdoc/en/grammar.en.rdoc
|
78
68
|
- rdoc/ja/NEWS.ja.rdoc
|
@@ -92,9 +82,6 @@ files:
|
|
92
82
|
- sample/lists.y
|
93
83
|
- sample/syntax.y
|
94
84
|
- sample/yyerr.y
|
95
|
-
- setup.rb
|
96
|
-
- tasks/doc.rb
|
97
|
-
- tasks/email.rb
|
98
85
|
- test/assets/cadenza.y
|
99
86
|
- test/assets/cast.y
|
100
87
|
- test/assets/chk.y
|
@@ -204,8 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
191
|
- !ruby/object:Gem::Version
|
205
192
|
version: '0'
|
206
193
|
requirements: []
|
207
|
-
|
208
|
-
rubygems_version: 2.7.10
|
194
|
+
rubygems_version: 3.0.6
|
209
195
|
signing_key:
|
210
196
|
specification_version: 4
|
211
197
|
summary: Racc is a LALR(1) parser generator
|
data/DEPENDS
DELETED
data/Manifest.txt
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
COPYING
|
2
|
-
ChangeLog
|
3
|
-
DEPENDS
|
4
|
-
Manifest.txt
|
5
|
-
README.ja.rdoc
|
6
|
-
README.rdoc
|
7
|
-
Rakefile
|
8
|
-
TODO
|
9
|
-
bin/racc
|
10
|
-
bin/racc2y
|
11
|
-
bin/y2racc
|
12
|
-
ext/racc/MANIFEST
|
13
|
-
ext/racc/cparse/cparse.c
|
14
|
-
ext/racc/cparse/depend
|
15
|
-
ext/racc/cparse/extconf.rb
|
16
|
-
ext/racc/com/headius/racc/Cparse.java
|
17
|
-
fastcache/extconf.rb
|
18
|
-
fastcache/fastcache.c
|
19
|
-
lib/racc.rb
|
20
|
-
lib/racc/compat.rb
|
21
|
-
lib/racc/debugflags.rb
|
22
|
-
lib/racc/exception.rb
|
23
|
-
lib/racc/grammar.rb
|
24
|
-
lib/racc/grammarfileparser.rb
|
25
|
-
lib/racc/info.rb
|
26
|
-
lib/racc/iset.rb
|
27
|
-
lib/racc/logfilegenerator.rb
|
28
|
-
lib/racc/parser-text.rb
|
29
|
-
lib/racc/parser.rb
|
30
|
-
lib/racc/parserfilegenerator.rb
|
31
|
-
lib/racc/pre-setup
|
32
|
-
lib/racc/sourcetext.rb
|
33
|
-
lib/racc/state.rb
|
34
|
-
lib/racc/statetransitiontable.rb
|
35
|
-
lib/racc/static.rb
|
36
|
-
misc/dist.sh
|
37
|
-
rdoc/en/NEWS.en.rdoc
|
38
|
-
rdoc/en/grammar.en.rdoc
|
39
|
-
rdoc/ja/NEWS.ja.rdoc
|
40
|
-
rdoc/ja/command.ja.html
|
41
|
-
rdoc/ja/debug.ja.rdoc
|
42
|
-
rdoc/ja/grammar.ja.rdoc
|
43
|
-
rdoc/ja/index.ja.html
|
44
|
-
rdoc/ja/parser.ja.rdoc
|
45
|
-
rdoc/ja/usage.ja.html
|
46
|
-
sample/array.y
|
47
|
-
sample/array2.y
|
48
|
-
sample/calc-ja.y
|
49
|
-
sample/calc.y
|
50
|
-
sample/conflict.y
|
51
|
-
sample/hash.y
|
52
|
-
sample/lalr.y
|
53
|
-
sample/lists.y
|
54
|
-
sample/syntax.y
|
55
|
-
sample/yyerr.y
|
56
|
-
setup.rb
|
57
|
-
tasks/doc.rb
|
58
|
-
tasks/email.rb
|
59
|
-
test/assets/cadenza.y
|
60
|
-
test/assets/cast.y
|
61
|
-
test/assets/chk.y
|
62
|
-
test/assets/conf.y
|
63
|
-
test/assets/csspool.y
|
64
|
-
test/assets/digraph.y
|
65
|
-
test/assets/echk.y
|
66
|
-
test/assets/edtf.y
|
67
|
-
test/assets/err.y
|
68
|
-
test/assets/error_recovery.y
|
69
|
-
test/assets/expect.y
|
70
|
-
test/assets/firstline.y
|
71
|
-
test/assets/huia.y
|
72
|
-
test/assets/ichk.y
|
73
|
-
test/assets/intp.y
|
74
|
-
test/assets/journey.y
|
75
|
-
test/assets/liquor.y
|
76
|
-
test/assets/machete.y
|
77
|
-
test/assets/macruby.y
|
78
|
-
test/assets/mediacloth.y
|
79
|
-
test/assets/mailp.y
|
80
|
-
test/assets/mof.y
|
81
|
-
test/assets/namae.y
|
82
|
-
test/assets/nasl.y
|
83
|
-
test/assets/newsyn.y
|
84
|
-
test/assets/noend.y
|
85
|
-
test/assets/nokogiri-css.y
|
86
|
-
test/assets/nonass.y
|
87
|
-
test/assets/normal.y
|
88
|
-
test/assets/norule.y
|
89
|
-
test/assets/nullbug1.y
|
90
|
-
test/assets/nullbug2.y
|
91
|
-
test/assets/opal.y
|
92
|
-
test/assets/opt.y
|
93
|
-
test/assets/percent.y
|
94
|
-
test/assets/php_serialization.y
|
95
|
-
test/assets/recv.y
|
96
|
-
test/assets/riml.y
|
97
|
-
test/assets/rrconf.y
|
98
|
-
test/assets/ruby18.y
|
99
|
-
test/assets/ruby19.y
|
100
|
-
test/assets/ruby20.y
|
101
|
-
test/assets/ruby21.y
|
102
|
-
test/assets/ruby22.y
|
103
|
-
test/assets/scan.y
|
104
|
-
test/assets/syntax.y
|
105
|
-
test/assets/tp_plus.y
|
106
|
-
test/assets/twowaysql.y
|
107
|
-
test/assets/unterm.y
|
108
|
-
test/assets/useless.y
|
109
|
-
test/assets/yyerr.y
|
110
|
-
test/bench.y
|
111
|
-
test/helper.rb
|
112
|
-
test/infini.y
|
113
|
-
test/regress/cadenza
|
114
|
-
test/regress/cast
|
115
|
-
test/regress/csspool
|
116
|
-
test/regress/edtf
|
117
|
-
test/regress/journey
|
118
|
-
test/regress/huia
|
119
|
-
test/regress/liquor
|
120
|
-
test/regress/machete
|
121
|
-
test/regress/mediacloth
|
122
|
-
test/regress/mof
|
123
|
-
test/regress/namae
|
124
|
-
test/regress/nasl
|
125
|
-
test/regress/nokogiri-css
|
126
|
-
test/regress/opal
|
127
|
-
test/regress/php_serialization
|
128
|
-
test/regress/riml
|
129
|
-
test/regress/ruby18
|
130
|
-
test/regress/ruby22
|
131
|
-
test/regress/tp_plus
|
132
|
-
test/regress/twowaysql
|
133
|
-
test/scandata/brace
|
134
|
-
test/scandata/gvar
|
135
|
-
test/scandata/normal
|
136
|
-
test/scandata/percent
|
137
|
-
test/scandata/slash
|
138
|
-
test/src.intp
|
139
|
-
test/start.y
|
140
|
-
test/test_chk_y.rb
|
141
|
-
test/test_grammar_file_parser.rb
|
142
|
-
test/test_racc_command.rb
|
143
|
-
test/test_scan_y.rb
|
144
|
-
test/testscanner.rb
|
145
|
-
web/racc.en.rhtml
|
146
|
-
web/racc.ja.rhtml
|