Using RACC with 1.8.1

C

Charles Comstock

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
 
M

Minero Aoki

Hi,

In mail "Using RACC with 1.8.1"
Charles Comstock said:
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
 
C

Charles Comstock

Minero said:
Hi,

In mail "Using RACC with 1.8.1"



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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Racc 2
Bug in Racc? 0
problems with racc: $end token 13
Error reporting in Racc 0
Troubles with Fullpage / please help 0
Ruby 1.8.1 on OpenStep 6
Confused abour 'ri' in 1.8.1? 9
Ruby 1.8.1 segfault (debian testing) 3

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,272
Latest member
MaricruzDu

Latest Threads

Top