From: Minero Aoki Date: 2002-09-20T00:06:45+09:00 Subject: Re: Why are parser tools rarely used in ruby? Hi, In mail "Re: Why are parser tools rarely used in ruby?" "MikkelFJ" wrote: > > yes, it can compile. You just have to fix the setup.rb script and > > replace 'make' by 'nmake' as the make tool. It should compile. > > I tested it. No problem at all - as mentioned - just replace make with nmake > and follow the instructions calling setup.rb three times using config, setup > and install as arguments. Try this: % ruby setup.rb config --make-prog=nmake In addition, you can install racc without C compiler: % ruby setup.rb config --without-ext > racc has an -E switch to create self contained parsers - the calc.y sample > grows from 4 to 17K of ruby code using the -E switch. That's a pretty > tolerable overhead. "racc -E" causes the parser including racc/parser.rb and it's size is 12Kbytes, so calc.rb glows too big. But if a parser becomes big, the overhead becomes little. --Minero Aoki