Using RACC with 1.8.1


(Charles Comstock) #1

Does anyone have a nice description of how to use Racc with the latest
distribution of ruby? I found the developers site on Racc and it has
some vague descriptions of the grammar, and describes generating the
parse file from the grammar file by running racc on it. Unfortuneatly I
can’t figure out how to run it now that it’s part of the general
library. I tried ruby -rracc/parser.rb but that really didn’t seem to
do the trick. Anyone have any luck on using this library? How much has
changed now that it’s part of the default library, and just basically
how to use it in it’s present state. Or if it isn’t an option, perhaps
something similar could be mentioned?

Charles Comstock


(Minero Aoki) #2

Hi,

In mail “Using RACC with 1.8.1”

···

Charles Comstock cc1@cec.wustl.edu wrote:

Does anyone have a nice description of how to use Racc with the latest
distribution of ruby? I found the developers site on Racc and it has

You must get Racc 1.4.4 full package to generate a parser.
racc/parser.rb is just an runtime library. You can get
latest racc package from:

http://i.loveruby.net/en/racc.html

Regards,
Minero Aoki


(Charles Comstock) #3

Minero Aoki wrote:

Hi,

In mail “Using RACC with 1.8.1”

Does anyone have a nice description of how to use Racc with the latest
distribution of ruby? I found the developers site on Racc and it has

You must get Racc 1.4.4 full package to generate a parser.
racc/parser.rb is just an runtime library. You can get
latest racc package from:

http://i.loveruby.net/en/racc.html

Regards,
Minero Aoki

Ah that explains it, huh. It would be nice if it mentioned that in the
way the racc is included in the default distro then. Oh well, thanks
anyhow though.

Charles Comstock

···
Charles Comstock <cc1@cec.wustl.edu> wrote: