In mail "Re: rlex and ryacc"
ptkwt / aracnet.com (Phil Tomson) wrote:
> >I'm using StringScanner (strscan). It is NOT a lexer generator,
> >but it is sufficient for me (including speed).
> >
> >For real example of Racc, refer TMail or RDtool.
> >
> > TMail (uses #yylex. The lexer is written in Ruby and C)
> > http://raa.ruby-lang.org/list.rhtml?name=tmail
> >
> > RDtool (uses #do_parse and #next_token.
> > The lexer is written in Ruby using strscan)
> > http://raa.ruby-lang.org/list.rhtml?name=rdtool
> Why not bundle a lexer with racc?
Because strscan comes with ruby 1.8. Maintaining same package
in other locations (for Racc and for Ruby 1.8) is undesirable
(for me :-).
Regards,
Minero Aoki