Index of /wp-content/ac/root/usr/share/doc/racc
Name Last modified Size Description
Parent Directory -
README.ja.html 2016-03-13 11:07 3.7K
README.ja.rdoc 2015-11-25 16:58 2.9K
README.rdoc 2015-11-25 16:58 1.9K
changelog.Debian.gz 2016-03-13 11:07 1.4K
copyright 2016-03-03 17:18 1.2K
en/ 2023-08-16 16:01 -
examples/ 2023-08-16 16:01 -
ja/ 2023-08-16 16:01 -
<?xml version="1.0" ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>README</title>
</head>
<body>
<h1><a name="label-0" id="label-0">Racc</a></h1><!-- RDLabel: "Racc" -->
<ul>
<li>http://i.loveruby.net/en/projects/racc/</li>
<li>http://racc.rubyforge.org/</li>
</ul>
<h2><a name="label-1" id="label-1">DESCRIPTION:</a></h2><!-- RDLabel: "DESCRIPTION:" -->
<pre>Racc is a LALR(1) parser generator.
It is written in Ruby itself, and generates Ruby program.
NOTE: Ruby 1.8.x comes with Racc runtime module. You
can run your parsers generated by racc 1.4.x out of the
box.</pre>
<h2><a name="label-2" id="label-2">Requirement</a></h2><!-- RDLabel: "Requirement" -->
<ul>
<li>Ruby 1.8.x or later.</li>
</ul>
<pre>(*) make and C compiler.</pre>
<h2><a name="label-3" id="label-3">Installation</a></h2><!-- RDLabel: "Installation" -->
<pre>gem install:
$ gem install racc
setup.rb install:
Type this in the top directory of the extracted archive:
$ ruby setup.rb config
$ ruby setup.rb setup
($ su)
# ruby setup.rb install
You can install Racc into your favorite directory by giving
options to setup.rb. e.g.
$ ruby setup.rb config --prefix=/usr
For details, try "ruby setup.rb --help".
If you don't have C Compiler
----------------------------
You can install Racc without C compilers. Type following
command in config phase.
$ ruby setup.rb config --without-ext</pre>
<h2><a name="label-4" id="label-4">Testing Racc</a></h2><!-- RDLabel: "Testing Racc" -->
<pre>Racc comes with simple calculator. To compile this, on shell:
$ racc -o calc calc.y
This process costs few seconds (or less). Then type:
$ ruby calc
... Does it works?
For details of Racc, see HTML documents placed under 'doc.en/'
and sample grammer files under 'sample/'.</pre>
<h2><a name="label-5" id="label-5">License</a></h2><!-- RDLabel: "License" -->
<pre>Racc is distributed under the terms of the GNU Lesser General
Public License version 2. Note that you do NOT need to follow
LGPL for your own parser (racc outputs). You can provide those
files under any licenses you want.</pre>
<h2><a name="label-6" id="label-6">Bug Reports</a></h2><!-- RDLabel: "Bug Reports" -->
<pre>Any kind of bug reports are welcome.
If you find a bug of Racc, please email me. Your grammer file,
debug output genereted by "racc -g", are helpful.
Minero Aoki
aamine@loveruby.net
http://i.loveruby.net</pre>
</body>
</html>