racc 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitattributes +2 -0
- data/.gitignore +7 -0
- data/COPYING +515 -0
- data/ChangeLog +846 -0
- data/DEPENDS +4 -0
- data/README.en.rdoc +86 -0
- data/README.ja.rdoc +96 -0
- data/Rakefile +15 -0
- data/TODO +5 -0
- data/bin/racc +308 -0
- data/bin/racc2y +195 -0
- data/bin/y2racc +339 -0
- data/doc/en/NEWS.en.rdoc +282 -0
- data/doc/en/command.en.html +78 -0
- data/doc/en/debug.en.rdoc +20 -0
- data/doc/en/grammar.en.rdoc +230 -0
- data/doc/en/index.en.html +10 -0
- data/doc/en/parser.en.rdoc +74 -0
- data/doc/en/usage.en.html +92 -0
- data/doc/ja/NEWS.ja.rdoc +307 -0
- data/doc/ja/command.ja.html +94 -0
- data/doc/ja/debug.ja.rdoc +36 -0
- data/doc/ja/grammar.ja.rdoc +348 -0
- data/doc/ja/index.ja.html +10 -0
- data/doc/ja/parser.ja.rdoc +125 -0
- data/doc/ja/usage.ja.html +414 -0
- data/ext/racc/cparse/MANIFEST +4 -0
- data/ext/racc/cparse/cparse.c +824 -0
- data/ext/racc/cparse/depend +1 -0
- data/ext/racc/cparse/extconf.rb +7 -0
- data/fastcache/extconf.rb +2 -0
- data/fastcache/fastcache.c +185 -0
- data/lib/racc.rb +6 -0
- data/lib/racc/compat.rb +40 -0
- data/lib/racc/debugflags.rb +59 -0
- data/lib/racc/exception.rb +15 -0
- data/lib/racc/grammar.rb +1115 -0
- data/lib/racc/grammarfileparser.rb +559 -0
- data/lib/racc/info.rb +16 -0
- data/lib/racc/iset.rb +91 -0
- data/lib/racc/logfilegenerator.rb +214 -0
- data/lib/racc/parser.rb +439 -0
- data/lib/racc/parserfilegenerator.rb +511 -0
- data/lib/racc/pre-setup +13 -0
- data/lib/racc/sourcetext.rb +34 -0
- data/lib/racc/state.rb +971 -0
- data/lib/racc/statetransitiontable.rb +316 -0
- data/lib/racc/static.rb +5 -0
- data/misc/dist.sh +31 -0
- data/sample/array.y +67 -0
- data/sample/array2.y +59 -0
- data/sample/calc-ja.y +66 -0
- data/sample/calc.y +65 -0
- data/sample/conflict.y +15 -0
- data/sample/hash.y +60 -0
- data/sample/lalr.y +17 -0
- data/sample/lists.y +57 -0
- data/sample/syntax.y +46 -0
- data/sample/yyerr.y +46 -0
- data/setup.rb +1587 -0
- data/tasks/doc.rb +12 -0
- data/tasks/email.rb +55 -0
- data/tasks/file.rb +37 -0
- data/tasks/gem.rb +37 -0
- data/tasks/test.rb +16 -0
- data/test/assets/chk.y +126 -0
- data/test/assets/conf.y +16 -0
- data/test/assets/digraph.y +29 -0
- data/test/assets/echk.y +118 -0
- data/test/assets/err.y +60 -0
- data/test/assets/expect.y +7 -0
- data/test/assets/firstline.y +4 -0
- data/test/assets/ichk.y +102 -0
- data/test/assets/intp.y +546 -0
- data/test/assets/mailp.y +437 -0
- data/test/assets/newsyn.y +25 -0
- data/test/assets/noend.y +4 -0
- data/test/assets/nonass.y +41 -0
- data/test/assets/normal.y +27 -0
- data/test/assets/norule.y +4 -0
- data/test/assets/nullbug1.y +25 -0
- data/test/assets/nullbug2.y +15 -0
- data/test/assets/opt.y +123 -0
- data/test/assets/percent.y +35 -0
- data/test/assets/recv.y +97 -0
- data/test/assets/rrconf.y +14 -0
- data/test/assets/scan.y +72 -0
- data/test/assets/syntax.y +50 -0
- data/test/assets/unterm.y +5 -0
- data/test/assets/useless.y +12 -0
- data/test/assets/yyerr.y +46 -0
- data/test/bench.y +36 -0
- data/test/helper.rb +88 -0
- data/test/infini.y +8 -0
- data/test/scandata/brace +7 -0
- data/test/scandata/gvar +1 -0
- data/test/scandata/normal +4 -0
- data/test/scandata/percent +18 -0
- data/test/scandata/slash +10 -0
- data/test/src.intp +34 -0
- data/test/start.y +20 -0
- data/test/test_chk_y.rb +51 -0
- data/test/test_grammar_file_parser.rb +15 -0
- data/test/test_racc_command.rb +155 -0
- data/test/test_scan_y.rb +51 -0
- data/test/testscanner.rb +51 -0
- data/web/racc.en.rhtml +42 -0
- data/web/racc.ja.rhtml +51 -0
- metadata +166 -0
data/ChangeLog
ADDED
@@ -0,0 +1,846 @@
|
|
1
|
+
Tue Feb 20 18:45:45 2007 Minero Aoki <aamine@loveruby.net>
|
2
|
+
|
3
|
+
* lib/racc/grammar.rb (separated_by): last commit was wrong. use
|
4
|
+
optional default return value of #option.
|
5
|
+
|
6
|
+
Tue Feb 20 18:27:48 2007 Minero Aoki <aamine@loveruby.net>
|
7
|
+
|
8
|
+
* lib/racc/grammar.rb (separated_by): return [] for empty list.
|
9
|
+
|
10
|
+
Tue Nov 7 07:13:47 2006 Minero Aoki <aamine@loveruby.net>
|
11
|
+
|
12
|
+
* lib/racc/grammar.rb (Rule#prec): rule.prec{...} should set
|
13
|
+
action.
|
14
|
+
|
15
|
+
Tue Nov 7 06:38:57 2006 Minero Aoki <aamine@loveruby.net>
|
16
|
+
|
17
|
+
* lib/racc/grammar.rb: system call error on writing log file
|
18
|
+
should be ignored.
|
19
|
+
|
20
|
+
* lib/racc/grammar.rb: never define lvar which have same name with
|
21
|
+
block local variable.
|
22
|
+
|
23
|
+
* lib/racc/iset.rb: ditto.
|
24
|
+
|
25
|
+
* lib/racc/logfilegenerator.rb: ditto.
|
26
|
+
|
27
|
+
* lib/racc/parser.rb: ditto.
|
28
|
+
|
29
|
+
* lib/racc/state.rb: ditto.
|
30
|
+
|
31
|
+
* lib/racc/statetransitiontable.rb: ditto.
|
32
|
+
|
33
|
+
* test/test.rb: racc -c is obsolete, use --line-convert-all.
|
34
|
+
|
35
|
+
Sun Oct 29 13:27:30 2006 Minero Aoki <aamine@loveruby.net>
|
36
|
+
|
37
|
+
* lib/racc/grammarfileparser.rb: use String#lines instead of
|
38
|
+
#to_a.
|
39
|
+
|
40
|
+
* lib/racc/parserfilegenerator.rb: ditto.
|
41
|
+
|
42
|
+
* lib/racc/compat.rb: provide Object#__send.
|
43
|
+
|
44
|
+
* lib/racc/compat.rb: provide Object#__send!.
|
45
|
+
|
46
|
+
* lib/racc/compat.rb: provide String#lines.
|
47
|
+
|
48
|
+
Thu Aug 24 23:14:16 2006 Minero Aoki <aamine@loveruby.net>
|
49
|
+
|
50
|
+
* lib/racc/grammar.rb: report conflicts/useless if $DEBUG.
|
51
|
+
|
52
|
+
* lib/racc/statetransitiontable.rb: remove code for Ruby 1.4
|
53
|
+
compatibility.
|
54
|
+
|
55
|
+
Fri Aug 4 01:02:36 2006 Minero Aoki <aamine@loveruby.net>
|
56
|
+
|
57
|
+
* lib/racc/grammar.rb: #should_terminal should be called in
|
58
|
+
#check_terminals.
|
59
|
+
|
60
|
+
Fri Aug 4 00:44:56 2006 Minero Aoki <aamine@loveruby.net>
|
61
|
+
|
62
|
+
* bin/racc: getopts -> optparse.
|
63
|
+
|
64
|
+
* lib/racc/grammar.rb: value of error symbol is :error.
|
65
|
+
|
66
|
+
* lib/racc/grammar.rb (check_terminals): string symbols are
|
67
|
+
terminal.
|
68
|
+
|
69
|
+
* lib/racc/grammarfileparser.rb (add_rule_block): specified-prec
|
70
|
+
did not work.
|
71
|
+
|
72
|
+
Fri Aug 4 00:29:53 2006 Minero Aoki <aamine@loveruby.net>
|
73
|
+
|
74
|
+
* lib/racc/parserfilegenerator.rb
|
75
|
+
(serialize_integer_list_compressed): fix typo.
|
76
|
+
|
77
|
+
Thu Aug 3 22:20:34 2006 Minero Aoki <aamine@loveruby.net>
|
78
|
+
|
79
|
+
* bin/y2racc: fix filename.
|
80
|
+
|
81
|
+
Thu Aug 3 21:10:48 2006 Minero Aoki <aamine@loveruby.net>
|
82
|
+
|
83
|
+
* bin/y2racc: getopts -> optparse.
|
84
|
+
|
85
|
+
Thu Aug 3 19:35:34 2006 Minero Aoki <aamine@loveruby.net>
|
86
|
+
|
87
|
+
* setup.rb: updated.
|
88
|
+
|
89
|
+
Thu Aug 3 19:34:55 2006 Minero Aoki <aamine@loveruby.net>
|
90
|
+
|
91
|
+
* bin/racc2y: getopts -> optparse.
|
92
|
+
|
93
|
+
* bin/racc2y: rewrite code for new generator.
|
94
|
+
|
95
|
+
* lib/racc/grammar.rb (_regist): did not check @delayed rules (it
|
96
|
+
causes registering same dummy rules many times).
|
97
|
+
|
98
|
+
* lib/racc/grammarfileparser.rb: refactoring: simplify syntax.
|
99
|
+
|
100
|
+
* lib/racc/grammarfileparser.rb: new method
|
101
|
+
GrammarFileParser.parse.
|
102
|
+
|
103
|
+
* lib/racc/grammarfileparser.rb: new method
|
104
|
+
GrammarFileParser.parse_file.
|
105
|
+
|
106
|
+
Sat Jul 29 04:51:42 2006 Minero Aoki <aamine@loveruby.net>
|
107
|
+
|
108
|
+
* lib/racc/pre-setup: We need not make grammarfileparser.rb.
|
109
|
+
|
110
|
+
Sat Jul 29 04:30:33 2006 Minero Aoki <aamine@loveruby.net>
|
111
|
+
|
112
|
+
* lib/racc/grammar.rb: allow '|' operation with meta rules
|
113
|
+
(many, option...).
|
114
|
+
|
115
|
+
Sat Jul 29 03:17:20 2006 Minero Aoki <aamine@loveruby.net>
|
116
|
+
|
117
|
+
* lib/racc/grammar.rb (Grammar#parser_class): write log file when
|
118
|
+
$DEBUG=true.
|
119
|
+
|
120
|
+
* lib/racc/grammar.rb (Grammar.define): run block on a
|
121
|
+
Racc::Grammar::DefinitionEnv object, instead of a Racc::Grammar
|
122
|
+
object.
|
123
|
+
|
124
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #null.
|
125
|
+
|
126
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #many.
|
127
|
+
|
128
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #many1.
|
129
|
+
|
130
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #option.
|
131
|
+
|
132
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #seperated_by.
|
133
|
+
|
134
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #seperated_by1.
|
135
|
+
|
136
|
+
* lib/racc/grammar.rb (DefinitionEnv): new method #action.
|
137
|
+
|
138
|
+
Sat Jul 29 03:13:22 2006 Minero Aoki <aamine@loveruby.net>
|
139
|
+
|
140
|
+
* lib/racc/compat.rb: reduce warning.
|
141
|
+
|
142
|
+
Sun Jul 16 05:07:12 2006 Minero Aoki <aamine@loveruby.net>
|
143
|
+
|
144
|
+
* lib/racc/compat.rb: implement Enumerable#each_slice for Ruby
|
145
|
+
1.8.
|
146
|
+
|
147
|
+
* lib/racc/parserfilegenerator.rb: better output.
|
148
|
+
|
149
|
+
* ext/racc/cparse/cparse.c: always use VALUE instead of struct
|
150
|
+
cparse_params.
|
151
|
+
|
152
|
+
* ext/racc/cparse/cparse.c: mark params->value_v.
|
153
|
+
|
154
|
+
Thu Jul 6 20:44:48 2006 Minero Aoki <aamine@loveruby.net>
|
155
|
+
|
156
|
+
* lib/racc/grammar.rb: on-the-fly generator implemented.
|
157
|
+
|
158
|
+
* lib/racc/generator.rb -> statetransitiontable.rb,
|
159
|
+
parserfilegenerator.rb, logfilegenerator.rb.
|
160
|
+
|
161
|
+
* lib/racc/statetransitiontable.rb: new file.
|
162
|
+
|
163
|
+
* lib/racc/parserfilegenerator.rb: new file.
|
164
|
+
|
165
|
+
* lib/racc/logfilegenerator.rb: new file.
|
166
|
+
|
167
|
+
* lib/racc/grammarfileparser.rb.in: removed.
|
168
|
+
|
169
|
+
* lib/racc/grammarfileparser.rb: new file. uses on-the-fly
|
170
|
+
generator.
|
171
|
+
|
172
|
+
* misc/boot.rb: removed.
|
173
|
+
|
174
|
+
* lib/racc/static.rb: new file, to import static generator
|
175
|
+
(lib/racc.rb provides dynamic generator).
|
176
|
+
|
177
|
+
* lib/racc/grammar.rb: grand refactoring.
|
178
|
+
|
179
|
+
* lib/racc/sourcetext.rb: new method #to_s, #location.
|
180
|
+
|
181
|
+
* lib/racc/state.rb: compute NFA/DFA on demand.
|
182
|
+
|
183
|
+
* bin/racc: follow these changes.
|
184
|
+
|
185
|
+
Thu Jul 6 20:39:42 2006 Minero Aoki <aamine@loveruby.net>
|
186
|
+
|
187
|
+
* ext/racc/cparse/cparse.so: should mark VALUEs in cparse_params.
|
188
|
+
|
189
|
+
Tue Jul 4 02:24:27 2006 Minero Aoki <aamine@loveruby.net>
|
190
|
+
|
191
|
+
* bin/racc: simplify report code.
|
192
|
+
|
193
|
+
* lib/racc/grammar.rb: introduce new methods for racc command.
|
194
|
+
|
195
|
+
* lib/racc/states.rb: ditto.
|
196
|
+
|
197
|
+
* lib/racc/generator.rb: class CodeGenerator ->
|
198
|
+
ParserFileGenerator.
|
199
|
+
|
200
|
+
* lib/racc/generator.rb: new class ParserFileGenerator::Params.
|
201
|
+
|
202
|
+
* bin/racc: ditto.
|
203
|
+
|
204
|
+
* misc/boot.rb: ditto.
|
205
|
+
|
206
|
+
* lib/racc/grammarfileparser.rb.in: ditto.
|
207
|
+
|
208
|
+
* lib/racc/grammarfileparser.rb.in: merge grammarfilescanner.rb.
|
209
|
+
|
210
|
+
* lib/racc/grammarfilescanner.rb: removed.
|
211
|
+
|
212
|
+
* lib/racc/grammarfileparser.rb.in: parses user code blocks.
|
213
|
+
|
214
|
+
* lib/racc/usercodeparser.rb: removed.
|
215
|
+
|
216
|
+
* lib/racc/generator.rb: remove user code parsing code.
|
217
|
+
|
218
|
+
* lib/racc/grammarfileparser.rb.in: passes user code block by a
|
219
|
+
SourceText object.
|
220
|
+
|
221
|
+
* lib/racc/generator.rb: ditto.
|
222
|
+
|
223
|
+
* lib/racc/sourcetext.rb: new file.
|
224
|
+
|
225
|
+
* lib/racc/generator.rb: introduce DSL to describe file contents.
|
226
|
+
|
227
|
+
Tue Jul 4 02:15:36 2006 Minero Aoki <aamine@loveruby.net>
|
228
|
+
|
229
|
+
* lib/racc/debugflags.rb: remove unused class GenerationOptions.
|
230
|
+
|
231
|
+
Tue Jul 4 02:14:48 2006 Minero Aoki <aamine@loveruby.net>
|
232
|
+
|
233
|
+
* lib/racc/compat.rb: update coding style.
|
234
|
+
|
235
|
+
Mon Jul 3 04:34:32 2006 Minero Aoki <aamine@loveruby.net>
|
236
|
+
|
237
|
+
* lib/racc/compiler.rb: do not export Grammar/SymbolTable/States.
|
238
|
+
|
239
|
+
* lib/racc/compiler.rb: make a new class for debug flags
|
240
|
+
(Racc::DebugFlags).
|
241
|
+
|
242
|
+
* lib/racc/compiler.rb: removed.
|
243
|
+
|
244
|
+
* bin/racc: eliminate Racc::Compiler class.
|
245
|
+
|
246
|
+
* bin/racc: refactor profiling code.
|
247
|
+
|
248
|
+
* bin/racc: move file generation code to racc/generator.rb.
|
249
|
+
|
250
|
+
* misc/boot.rb: does not emulate Racc::Compiler interface.
|
251
|
+
|
252
|
+
* lib/racc.rb: new file to require whole generator.
|
253
|
+
|
254
|
+
* lib/racc/grammar.rb: class RuleTable -> Grammar.
|
255
|
+
|
256
|
+
* lib/racc/grammar.rb: Grammar.new does not acccept a Compiler.
|
257
|
+
|
258
|
+
* lib/racc/grammar.rb: refactoring.
|
259
|
+
|
260
|
+
* lib/racc/grammarfileparser.rb.in: GrammarFileParser.new does not
|
261
|
+
accept a Compiler.
|
262
|
+
|
263
|
+
* lib/racc/grammarfileparser.rb.in: #parser takes more 2 args, a
|
264
|
+
filename and a base line number.
|
265
|
+
|
266
|
+
* lib/racc/grammarfileparser.rb.in: refactoring.
|
267
|
+
|
268
|
+
* lib/racc/output.rb -> generate.rb
|
269
|
+
|
270
|
+
* lib/racc/generate.rb: class Formatter -> CodeGenerator.
|
271
|
+
|
272
|
+
* lib/racc/generate.rb: CodeGenerator.new does not accept a
|
273
|
+
Compiler.
|
274
|
+
|
275
|
+
* lib/racc/generate.rb: a CodeGenerator got many parameters via
|
276
|
+
setter method.
|
277
|
+
|
278
|
+
* lib/racc/generate.rb: class VerboseOutputter ->
|
279
|
+
LogFileGenerator.
|
280
|
+
|
281
|
+
* lib/racc/generate.rb: LogFileGenerator.new does not accept a
|
282
|
+
Compiler.
|
283
|
+
|
284
|
+
* lib/racc/generate.rb: refactoring.
|
285
|
+
|
286
|
+
* lib/racc/state.rb: class StateTable -> States.
|
287
|
+
|
288
|
+
* lib/racc/state.rb: States.new does not acccept a Compiler.
|
289
|
+
|
290
|
+
* lib/racc/state.rb: refactoring.
|
291
|
+
|
292
|
+
* test/test.rb: -Da is obsolete (I forgot what this flag is).
|
293
|
+
|
294
|
+
* test/test.rb: allow replacing racc via environment variable
|
295
|
+
$RACC.
|
296
|
+
|
297
|
+
Mon Jul 3 04:18:49 2006 Minero Aoki <aamine@loveruby.net>
|
298
|
+
|
299
|
+
* Makefile: new task bootstrap-force.
|
300
|
+
|
301
|
+
Sun Jul 2 19:46:58 2006 Minero Aoki <aamine@loveruby.net>
|
302
|
+
|
303
|
+
* test/ichk.y: update coding style.
|
304
|
+
|
305
|
+
Sun Jul 2 19:01:55 2006 Minero Aoki <aamine@loveruby.net>
|
306
|
+
|
307
|
+
* ext/racc/cparse/cparse.c: must require version.h to get
|
308
|
+
RUBY_VERSION_CODE.
|
309
|
+
|
310
|
+
Sun Jul 2 18:33:32 2006 Minero Aoki <aamine@loveruby.net>
|
311
|
+
|
312
|
+
* ext/racc/cparse/cparse.c: do not use rb_iterate to give a block
|
313
|
+
to the method, use rb_block_call instead. [ruby-dev:28445]
|
314
|
+
|
315
|
+
Mon Jun 19 02:38:18 2006 Minero Aoki <aamine@loveruby.net>
|
316
|
+
|
317
|
+
* bin/racc: -g option is now -t. -g option is obsolete and is an
|
318
|
+
alias of -t.
|
319
|
+
|
320
|
+
Mon Jun 19 02:35:59 2006 Minero Aoki <aamine@loveruby.net>
|
321
|
+
|
322
|
+
* ext/racc/cparse/cparse.c: K&R -> ANSI C.
|
323
|
+
|
324
|
+
Mon Nov 21 02:37:10 2005 Minero Aoki <aamine@loveruby.net>
|
325
|
+
|
326
|
+
* version 1.4.5 released.
|
327
|
+
|
328
|
+
Mon Nov 21 02:31:18 2005 Minero Aoki <aamine@loveruby.net>
|
329
|
+
|
330
|
+
* bin/racc: shebang line should include file extension.
|
331
|
+
|
332
|
+
* lib/racc/compat.rb: method removed: bug!.
|
333
|
+
|
334
|
+
* lib/racc/*.rb: racc compiler should not depend on
|
335
|
+
Racc::ParseError.
|
336
|
+
|
337
|
+
* lib/racc/*.rb: update copyright year.
|
338
|
+
|
339
|
+
* lib/racc/*.rb: update coding style.
|
340
|
+
|
341
|
+
* lib/racc/exception.rb: new file.
|
342
|
+
|
343
|
+
Mon Nov 21 00:49:18 2005 Minero Aoki <aamine@loveruby.net>
|
344
|
+
|
345
|
+
* Makefile: remove useless target `import'.
|
346
|
+
|
347
|
+
* Makefile: generate parser-text.rb.
|
348
|
+
|
349
|
+
* misc/dist.sh: setup.rb and COPYING is now in repository.
|
350
|
+
|
351
|
+
* misc/dist.sh: generate parser-text.rb.
|
352
|
+
|
353
|
+
Mon Nov 21 00:14:21 2005 Minero Aoki <aamine@loveruby.net>
|
354
|
+
|
355
|
+
* bin/racc: read racc/parser.rb from parser-text.rb.
|
356
|
+
|
357
|
+
* lib/racc/rubyloader.rb: no longer needed.
|
358
|
+
|
359
|
+
* lib/racc/pre-setup: new file.
|
360
|
+
|
361
|
+
* lib/racc/pre-setup: generate parser-text.rb.
|
362
|
+
|
363
|
+
* lib/racc/pre-setup: generate grammarfileparser.rb.
|
364
|
+
|
365
|
+
* misc/boot.rb: new method BootstrapCompiler.main.
|
366
|
+
|
367
|
+
* misc/boot.rb: new method BootstrapCompiler.generate, which is
|
368
|
+
used from pre-setup.
|
369
|
+
|
370
|
+
Mon Nov 21 00:09:04 2005 Minero Aoki <aamine@loveruby.net>
|
371
|
+
|
372
|
+
* bin/racc2y: refactoring.
|
373
|
+
|
374
|
+
* bin/y2racc: refactoring.
|
375
|
+
|
376
|
+
Sun Nov 20 23:46:42 2005 Minero Aoki <aamine@loveruby.net>
|
377
|
+
|
378
|
+
* lib/racc/pre-setup: new file.
|
379
|
+
|
380
|
+
Sun Nov 20 22:46:21 2005 Minero Aoki <aamine@loveruby.net>
|
381
|
+
|
382
|
+
* COPYING: new file.
|
383
|
+
|
384
|
+
Sun Nov 20 22:25:15 2005 Minero Aoki <aamine@loveruby.net>
|
385
|
+
|
386
|
+
* setup.rb: import setup.rb 3.4.1.
|
387
|
+
|
388
|
+
Thu Sep 29 02:51:56 2005 Minero Aoki <aamine@loveruby.net>
|
389
|
+
|
390
|
+
* Makefile (clean): invoke `make clean' in ext.
|
391
|
+
|
392
|
+
Thu Sep 29 02:50:56 2005 Minero Aoki <aamine@loveruby.net>
|
393
|
+
|
394
|
+
* lib/racc/.cvsignore: removed.
|
395
|
+
|
396
|
+
Thu Sep 29 02:46:30 2005 Minero Aoki <aamine@loveruby.net>
|
397
|
+
|
398
|
+
* Makefile: use .makeparams system.
|
399
|
+
|
400
|
+
* Makefile: unify lib/racc/Makefile.
|
401
|
+
|
402
|
+
* Makefile: new target lib/racc/grammarfileparser.rb.
|
403
|
+
|
404
|
+
* lib/racc/Makefile: unified by ./Makefile.
|
405
|
+
|
406
|
+
* lib/racc/boot: removed (moved under misc).
|
407
|
+
|
408
|
+
* misc/boot.rb: new file.
|
409
|
+
|
410
|
+
Thu Sep 29 02:43:30 2005 Minero Aoki <aamine@loveruby.net>
|
411
|
+
|
412
|
+
* setup.rb: new file.
|
413
|
+
|
414
|
+
Tue Jul 26 23:37:46 2005 Minero Aoki <aamine@loveruby.net>
|
415
|
+
|
416
|
+
* bin/racc: --no-omit-actions did not work (This patch is
|
417
|
+
contributed by OHKUBO Takuya).
|
418
|
+
|
419
|
+
Sun Jan 2 11:48:19 2005 Minero Aoki <aamine@loveruby.net>
|
420
|
+
|
421
|
+
* lib/racc/grammer.rb (once_writer): bug! needs argument.
|
422
|
+
|
423
|
+
Mon Feb 16 16:14:16 2004 Minero Aoki <aamine@loveruby.net>
|
424
|
+
|
425
|
+
* test/echk.y: fix typo.
|
426
|
+
|
427
|
+
* test/ichk.y: does not use amstd.
|
428
|
+
|
429
|
+
* test/opt.y: untabify.
|
430
|
+
|
431
|
+
Mon Feb 16 16:10:46 2004 Minero Aoki <aamine@loveruby.net>
|
432
|
+
|
433
|
+
* lib/racc/boot: update coding style.
|
434
|
+
|
435
|
+
* lib/racc/compat.rb: ditto.
|
436
|
+
|
437
|
+
* lib/racc/compiler.rb: ditto.
|
438
|
+
|
439
|
+
* lib/racc/grammar.rb: ditto.
|
440
|
+
|
441
|
+
* lib/racc/grammarfileparser.rb.in: ditto.
|
442
|
+
|
443
|
+
* lib/racc/grammarfilescanner.rb: ditto.
|
444
|
+
|
445
|
+
* lib/racc/info.rb: ditto.
|
446
|
+
|
447
|
+
* lib/racc/iset.rb: ditto.
|
448
|
+
|
449
|
+
* lib/racc/output.rb: ditto.
|
450
|
+
|
451
|
+
* lib/racc/parser.rb: ditto.
|
452
|
+
|
453
|
+
* lib/racc/state.rb: ditto.
|
454
|
+
|
455
|
+
* lib/racc/usercodeparser.rb: ditto.
|
456
|
+
|
457
|
+
Mon Feb 16 16:01:34 2004 Minero Aoki <aamine@loveruby.net>
|
458
|
+
|
459
|
+
* lib/racc/rubyloader.rb: imported rev1.6.
|
460
|
+
|
461
|
+
Fri Dec 12 01:57:47 2003 Minero Aoki <aamine@loveruby.net>
|
462
|
+
|
463
|
+
* sample/hash.y: use no_result_var option.
|
464
|
+
|
465
|
+
* sample/array.y: use latest (my) coding style.
|
466
|
+
|
467
|
+
* sample/array2.y: ditto.
|
468
|
+
|
469
|
+
* sample/hash.y: ditto.
|
470
|
+
|
471
|
+
* sample/lists.y: ditto.
|
472
|
+
|
473
|
+
Wed Nov 5 19:50:35 2003 Minero Aoki <aamine@loveruby.net>
|
474
|
+
|
475
|
+
* test/bench.y: remove dependency on amstd.
|
476
|
+
|
477
|
+
* test/chk.y: ditto.
|
478
|
+
|
479
|
+
* test/echk.y: ditto.
|
480
|
+
|
481
|
+
* test/ichk.y: ditto.
|
482
|
+
|
483
|
+
* test/intp.y: ditto.
|
484
|
+
|
485
|
+
* test/opt.y: ditto.
|
486
|
+
|
487
|
+
* test/percent.y: ditto.
|
488
|
+
|
489
|
+
Wed Nov 5 19:11:15 2003 Minero Aoki <aamine@loveruby.net>
|
490
|
+
|
491
|
+
* bin/racc (get_options): remove --no-extensions option;
|
492
|
+
racc/parser is preloaded, Racc_No_Extension does not work.
|
493
|
+
|
494
|
+
Mon Nov 3 22:41:42 2003 Minero Aoki <aamine@loveruby.net>
|
495
|
+
|
496
|
+
* bin/racc: apply latest coding style.
|
497
|
+
|
498
|
+
* lib/racc/parser.rb: ditto.
|
499
|
+
|
500
|
+
* lib/racc/compat.rb: add File.read.
|
501
|
+
|
502
|
+
Mon Nov 3 21:20:25 2003 Minero Aoki <aamine@loveruby.net>
|
503
|
+
|
504
|
+
* ext/racc/cparse/cparse.c (parse_main): abort if length of state
|
505
|
+
stack <=1, not ==0.
|
506
|
+
|
507
|
+
* lib/racc/parser.rb: use <=1, not <2.
|
508
|
+
|
509
|
+
* ext/racc/cparse/cparse.c: check_*() -> assert_*()
|
510
|
+
|
511
|
+
* ext/racc/cparse/cparse.c (racc_cparse): define lvar `v' for
|
512
|
+
debugging.
|
513
|
+
|
514
|
+
* ext/racc/cparse/cparse.c (racc_yyparse): ditto.
|
515
|
+
|
516
|
+
Mon Nov 3 17:21:55 2003 Minero Aoki <aamine@loveruby.net>
|
517
|
+
|
518
|
+
* Makefile (all): make cparse.so.
|
519
|
+
|
520
|
+
Mon Nov 3 17:19:26 2003 Minero Aoki <aamine@loveruby.net>
|
521
|
+
|
522
|
+
* lib/racc/parser.rb: update version.
|
523
|
+
|
524
|
+
* ext/racc/cparse/cparse.c: update version.
|
525
|
+
|
526
|
+
Mon Nov 3 17:19:01 2003 Minero Aoki <aamine@loveruby.net>
|
527
|
+
|
528
|
+
* Makefile: update version in parser.rb, cparse.c.
|
529
|
+
|
530
|
+
Sun Oct 12 23:49:58 2003 Minero Aoki <aamine@loveruby.net>
|
531
|
+
|
532
|
+
* version 1.4.4.
|
533
|
+
|
534
|
+
Sun Oct 12 23:49:40 2003 Minero Aoki <aamine@loveruby.net>
|
535
|
+
|
536
|
+
* bin/y2racc: did not work.
|
537
|
+
|
538
|
+
* bin/y2racc: -u options did not work.
|
539
|
+
|
540
|
+
Sun Oct 12 23:41:46 2003 Minero Aoki <aamine@loveruby.net>
|
541
|
+
|
542
|
+
* misc/dist.sh: cd before make.
|
543
|
+
|
544
|
+
Sun Oct 12 23:38:04 2003 Minero Aoki <aamine@loveruby.net>
|
545
|
+
|
546
|
+
* Makefile (site): create $siteroot/{ja,en}/man/racc/*.html.
|
547
|
+
|
548
|
+
Sun Oct 12 23:37:18 2003 Minero Aoki <aamine@loveruby.net>
|
549
|
+
|
550
|
+
* doc/parser.rrd.m: missing 'j'.
|
551
|
+
|
552
|
+
Sun Oct 12 23:29:11 2003 Minero Aoki <aamine@loveruby.net>
|
553
|
+
|
554
|
+
* Makefile: new target `doc'.
|
555
|
+
|
556
|
+
* Makefile: new target `clean'.
|
557
|
+
|
558
|
+
* lib/racc/Makefile: new target `clean'.
|
559
|
+
|
560
|
+
* misc/dist.sh: create documents before pack.
|
561
|
+
|
562
|
+
Sun Oct 12 23:27:58 2003 Minero Aoki <aamine@loveruby.net>
|
563
|
+
|
564
|
+
* doc/debug.rd.m: junk char was inserted.
|
565
|
+
|
566
|
+
* doc/index.html.m: en/ja text were mixed.
|
567
|
+
|
568
|
+
* doc/parser.rrd.m: add return values.
|
569
|
+
|
570
|
+
* doc/usage.html.m: fix hyper link.
|
571
|
+
|
572
|
+
Sun Oct 12 22:57:28 2003 Minero Aoki <aamine@loveruby.net>
|
573
|
+
|
574
|
+
* doc.en/changes.html, doc.ja/changes.html -> doc/NEWS.rd.m
|
575
|
+
|
576
|
+
* doc.en/command.html, doc.ja/command.html -> doc/command.html.m
|
577
|
+
|
578
|
+
* doc.en/debug.html, doc.ja/debug.html -> doc/debug.rd.m
|
579
|
+
|
580
|
+
* doc.en/grammar.html, doc.ja/grammar.html -> doc/grammar.rd.m
|
581
|
+
|
582
|
+
* doc.en/index.html, doc.ja/index.html -> doc/index.html.m
|
583
|
+
|
584
|
+
* doc.en/parser.html, doc.ja/parser.html -> doc/parser.rrd.m
|
585
|
+
|
586
|
+
* doc.en/usage.html, doc.ja/usage.html -> doc/usage.html.m
|
587
|
+
|
588
|
+
Sun Oct 12 18:46:21 2003 Minero Aoki <aamine@loveruby.net>
|
589
|
+
|
590
|
+
* web/racc.ja.html: update descriptions.
|
591
|
+
|
592
|
+
* web/racc.en.html: ditto.
|
593
|
+
|
594
|
+
Sun Oct 12 18:43:45 2003 Minero Aoki <aamine@loveruby.net>
|
595
|
+
|
596
|
+
* misc/dist.sh: remove web/ directory before distribute.
|
597
|
+
|
598
|
+
Sun Oct 12 18:37:29 2003 Minero Aoki <aamine@loveruby.net>
|
599
|
+
|
600
|
+
* Makefile: new target `site'.
|
601
|
+
|
602
|
+
* web/racc.ja.html: new file.
|
603
|
+
|
604
|
+
* web/racc.en.html: new file.
|
605
|
+
|
606
|
+
Sun Oct 12 18:30:55 2003 Minero Aoki <aamine@loveruby.net>
|
607
|
+
|
608
|
+
* misc/dist.sh: forgot to remove tmp comment out.
|
609
|
+
|
610
|
+
Sun Oct 12 18:12:09 2003 Minero Aoki <aamine@loveruby.net>
|
611
|
+
|
612
|
+
* lib/racc/info.rb: version 1.4.4.
|
613
|
+
|
614
|
+
Sun Oct 12 18:11:42 2003 Minero Aoki <aamine@loveruby.net>
|
615
|
+
|
616
|
+
* Makefile (dist): split out misc/dist.sh.
|
617
|
+
|
618
|
+
* misc/dist.sh: new file.
|
619
|
+
|
620
|
+
Sun Oct 12 17:18:47 2003 Minero Aoki <aamine@loveruby.net>
|
621
|
+
|
622
|
+
* README.en: update documents.
|
623
|
+
|
624
|
+
* README.ja: ditto.
|
625
|
+
|
626
|
+
* doc.en/changes.html: ditto.
|
627
|
+
|
628
|
+
* doc.en/command.html: ditto.
|
629
|
+
|
630
|
+
* doc.en/debug.html: ditto.
|
631
|
+
|
632
|
+
* doc.en/grammar.html: ditto.
|
633
|
+
|
634
|
+
* doc.en/index.html: ditto.
|
635
|
+
|
636
|
+
* doc.en/parser.html: ditto.
|
637
|
+
|
638
|
+
* doc.en/usage.html: ditto.
|
639
|
+
|
640
|
+
* doc.ja/changes.html: ditto.
|
641
|
+
|
642
|
+
* doc.ja/command.html: ditto.
|
643
|
+
|
644
|
+
* doc.ja/debug.html: ditto.
|
645
|
+
|
646
|
+
* doc.ja/index.html: ditto.
|
647
|
+
|
648
|
+
* doc.ja/parser.html: ditto.
|
649
|
+
|
650
|
+
* doc.ja/usage.html: ditto.
|
651
|
+
|
652
|
+
Sun Oct 12 16:24:46 2003 Minero Aoki <aamine@loveruby.net>
|
653
|
+
|
654
|
+
* sameple/calc-ja.y: simplify.
|
655
|
+
|
656
|
+
Sun Oct 12 16:24:16 2003 Minero Aoki <aamine@loveruby.net>
|
657
|
+
|
658
|
+
* misc/y2racc -> bin/y2racc
|
659
|
+
|
660
|
+
* misc/racc2y -> bin/racc2y
|
661
|
+
|
662
|
+
Sun Oct 12 15:56:30 2003 Minero Aoki <aamine@loveruby.net>
|
663
|
+
|
664
|
+
* bin/racc: follow method name change.
|
665
|
+
|
666
|
+
Sun Oct 12 15:34:14 2003 Minero Aoki <aamine@loveruby.net>
|
667
|
+
|
668
|
+
* Makefile: new target `test'.
|
669
|
+
|
670
|
+
* Makefile: missing $datadir.
|
671
|
+
|
672
|
+
Sun Oct 12 15:33:02 2003 Minero Aoki <aamine@loveruby.net>
|
673
|
+
|
674
|
+
* README.ja: update description.
|
675
|
+
|
676
|
+
* README.en: ditto.
|
677
|
+
|
678
|
+
Sun Oct 12 15:25:23 2003 Minero Aoki <aamine@loveruby.net>
|
679
|
+
|
680
|
+
* lib/racc/compiler.rb: adjust file names.
|
681
|
+
|
682
|
+
* lib/racc/grammarfileparser.rb.in: ditto.
|
683
|
+
|
684
|
+
* lib/racc/grammarfilescanner.rb: ditto.
|
685
|
+
|
686
|
+
Sun Oct 12 15:24:53 2003 Minero Aoki <aamine@loveruby.net>
|
687
|
+
|
688
|
+
* Makefile: new file.
|
689
|
+
|
690
|
+
Sun Oct 12 15:19:57 2003 Minero Aoki <aamine@loveruby.net>
|
691
|
+
|
692
|
+
* BUGS.en: removed.
|
693
|
+
|
694
|
+
* BUGS.ja: removed.
|
695
|
+
|
696
|
+
Sun Oct 12 15:10:38 2003 Minero Aoki <aamine@loveruby.net>
|
697
|
+
|
698
|
+
* racc -> bin/racc
|
699
|
+
|
700
|
+
* .cvsignore -> lib/racc/.cvsignore
|
701
|
+
|
702
|
+
* lib/racc/Makefile: new file.
|
703
|
+
|
704
|
+
* boot.rb -> lib/racc/boot
|
705
|
+
|
706
|
+
* compat.rb -> lib/racc/compat.rb
|
707
|
+
|
708
|
+
* compiler.rb -> lib/racc/compiler.rb
|
709
|
+
|
710
|
+
* grammar.rb -> lib/racc/grammar.rb
|
711
|
+
|
712
|
+
* in.raccp.rb -> lib/racc/grammarfileparser.rb.in
|
713
|
+
|
714
|
+
* raccs.rb -> lib/racc/grammarfilescanner.rb
|
715
|
+
|
716
|
+
* info.rb -> lib/racc/info.rb
|
717
|
+
|
718
|
+
* iset.rb -> lib/racc/iset.rb
|
719
|
+
|
720
|
+
* outpur.rb -> lib/racc/output.rb
|
721
|
+
|
722
|
+
* parser.rb -> lib/racc/parser.rb
|
723
|
+
|
724
|
+
* rubyloader.rb -> lib/racc/rubyloader.rb
|
725
|
+
|
726
|
+
* state.rb -> lib/racc/state.rb
|
727
|
+
|
728
|
+
* ucodep.rb -> lib/racc/usercodeparser.rb
|
729
|
+
|
730
|
+
* cparse/MANIFEST -> ext/racc/cparse/MANIFEST
|
731
|
+
|
732
|
+
* cparse/cparse.c -> ext/racc/cparse/cparse.c
|
733
|
+
|
734
|
+
* cparse/depend -> ext/racc/cparse/depend
|
735
|
+
|
736
|
+
* cparse/extconf.rb -> ext/racc/cparse/extconf.rb
|
737
|
+
|
738
|
+
* cparse/.cvsignore -> ext/racc/cparse/.cvsignore
|
739
|
+
|
740
|
+
Sun Oct 12 15:10:13 2003 Minero Aoki <aamine@loveruby.net>
|
741
|
+
|
742
|
+
* test/test.rb: use /bin/rm if exists.
|
743
|
+
|
744
|
+
Sun Oct 12 14:33:29 2003 Minero Aoki <aamine@loveruby.net>
|
745
|
+
|
746
|
+
* rubyloader.rb: imported from amstd, rev 1.5.
|
747
|
+
|
748
|
+
Sun Oct 12 14:24:47 2003 Minero Aoki <aamine@loveruby.net>
|
749
|
+
|
750
|
+
* boot.rb: reformat only.
|
751
|
+
|
752
|
+
* compiler.rb: ditto.
|
753
|
+
|
754
|
+
* grammar.rb: ditto.
|
755
|
+
|
756
|
+
* in.raccp.rb: ditto.
|
757
|
+
|
758
|
+
* iset.rb: ditto.
|
759
|
+
|
760
|
+
* output.rb: ditto.
|
761
|
+
|
762
|
+
* raccs.rb: ditto.
|
763
|
+
|
764
|
+
* state.rb: ditto.
|
765
|
+
|
766
|
+
Sun Oct 12 14:17:22 2003 Minero Aoki <aamine@loveruby.net>
|
767
|
+
|
768
|
+
* test/test.rb: refactoring.
|
769
|
+
|
770
|
+
Tue Jun 24 03:14:01 2003 Minero Aoki <aamine@as600.loveruby.net>
|
771
|
+
|
772
|
+
* ucodep.rb: typo: Grammer -> Grammar
|
773
|
+
|
774
|
+
Mon May 26 23:06:58 2003 Minero Aoki <aamine@loveruby.net>
|
775
|
+
|
776
|
+
* compiler.rb: update copyright year.
|
777
|
+
|
778
|
+
* grammar.rb: ditto.
|
779
|
+
|
780
|
+
* in.raccp.rb: ditto.
|
781
|
+
|
782
|
+
* info.rb: ditto.
|
783
|
+
|
784
|
+
* iset.rb: ditto.
|
785
|
+
|
786
|
+
* output.rb: ditto.
|
787
|
+
|
788
|
+
* parser.rb: ditto.
|
789
|
+
|
790
|
+
* raccs.rb: ditto.
|
791
|
+
|
792
|
+
* state.rb: ditto.
|
793
|
+
|
794
|
+
* ucodep.rb: ditto.
|
795
|
+
|
796
|
+
Sun May 25 13:21:27 2003 Minero Aoki <aamine@loveruby.net>
|
797
|
+
|
798
|
+
* raccs.rb: update coding style.
|
799
|
+
|
800
|
+
Fri Nov 15 17:53:12 2002 Minero Aoki <aamine@loveruby.net>
|
801
|
+
|
802
|
+
* racc: changes style.
|
803
|
+
|
804
|
+
* parser.rb: ditto.
|
805
|
+
|
806
|
+
Fri Nov 15 17:11:52 2002 Minero Aoki <aamine@loveruby.net>
|
807
|
+
|
808
|
+
version 1.4.3.
|
809
|
+
|
810
|
+
Fri Nov 15 17:08:01 2002 Minero Aoki <aamine@loveruby.net>
|
811
|
+
|
812
|
+
* boot.rb, compiler.rb, grammar.rb, in.raccp.rb, iset.rb,
|
813
|
+
output.rb, parser.rb, racc, raccs.rb, state.rb, ucodep.rb,
|
814
|
+
misc/racc2y, misc/y2racc: follows (my) latest coding styles.
|
815
|
+
|
816
|
+
Thu Nov 14 14:39:53 2002 Minero Aoki <aamine@loveruby.net>
|
817
|
+
|
818
|
+
* raccs.rb: explicit method call for VCALL.
|
819
|
+
|
820
|
+
Wed Oct 16 15:45:11 2002 Minero Aoki <aamine@loveruby.net>
|
821
|
+
|
822
|
+
* parser.rb: reformat.
|
823
|
+
|
824
|
+
Fri Aug 9 18:21:01 2002 Minero Aoki <aamine@loveruby.net>
|
825
|
+
|
826
|
+
* cparse/cparse.c: use better variable/macro names.
|
827
|
+
|
828
|
+
Wed Aug 7 08:39:19 2002 Minero Aoki <aamine@loveruby.net>
|
829
|
+
|
830
|
+
* cparse/cparse.c: goto label requires stmt.
|
831
|
+
|
832
|
+
Mon Aug 5 21:53:07 2002 Minero Aoki <aamine@loveruby.net>
|
833
|
+
|
834
|
+
* cparse/cparse.c: grand refine.
|
835
|
+
|
836
|
+
* cparse/depend: re-added from ruby/ext/racc/cparse.
|
837
|
+
|
838
|
+
Tue Jun 4 00:15:28 2002 Minero Aoki <aamine@loveruby.net>
|
839
|
+
|
840
|
+
* boot.rb: allow to omit last 'end'.
|
841
|
+
|
842
|
+
Mon Jun 3 23:29:45 2002 Minero Aoki <aamine@loveruby.net>
|
843
|
+
|
844
|
+
* racc (write_table_file): shebang must placed on first line.
|
845
|
+
(reported by Hiroyuki Sato)
|
846
|
+
|