4
Racc is a parser generator for Ruby. This library contains
5
runtime routine for parsers which is generated by Racc.
6
For details, see documents distributed with Racc package.
7
You can get Racc from http://www.loveruby.net/en/prog/ .
12
http://www.loveruby.net
4
Racc is a LALR(1) parser generator.
5
It is written in Ruby itself, and generates Ruby program.
7
NOTE: Ruby 1.8.x comes with Racc runtime module. You
8
can run your parsers generated by racc 1.4.x out of the
15
* ruby version 1.6.x or later.
16
(*) make and C compiler.
22
Type this in the top directory of the extracted archive:
24
$ ruby setup.rb config
27
# ruby setup.rb install
29
You can install Racc into your favorite directory by giving
30
options to setup.rb. e.g.
32
$ ruby setup.rb config --prefix=/usr
34
For details, try "ruby setup.rb --help".
37
If you don't have C Compiler
38
----------------------------
40
You can install Racc without C compilers. Type following
41
command in config phase.
43
$ ruby setup.rb config --without-ext
49
Racc comes with simple calculator. To compile this, on shell:
53
This process costs few seconds (or less). Then type:
58
For details of Racc, see HTML documents placed under 'doc.en/'
59
and sample grammer files under 'sample/'.
65
Racc is distributed under the terms of the GNU Lesser General
66
Public License version 2. Note that you do NOT need to follow
67
LGPL for your own parser (racc outputs). You can provide those
68
files under any licenses you want.
74
Any kind of bug reports are welcome.
75
If you find a bug of Racc, please email me. Your grammer file,
76
debug output genereted by "racc -g", are helpful.