From: Jason DiCioccio Date: 2001-08-29T13:52:42+09:00 Subject: [ruby-talk:20498] Re: YACC & lex and Ruby --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This might be slightly off topic, but the conversation has sparked an inter= est in me once again.. Can anyone recommend a good book on yacc/lex? Or even a brief description to start? Regards, -JD- On Wed, Aug 29, 2001 at 10:35:03AM +0900, markus liedl wrote: > Dat Nguyen wrote: > >=20 > > Is there anything you can do with YACC & lex but can't with Ruby? >=20 > probably you mean Ruby + racc >=20 > I started translating parse.y to a racc format to build a RubyInRuby > parser. >=20 > The only annoying issue was how to get the stack with the still > successfully parsed states out of it if an syntax error happens. >=20 > But, can you do that with yacc? >=20 > markus >=20 --=20 Jason DiCioccio - geniusj@bsd.st - PGP Key @ http://bsd.st/~geniusj/pgpkey.= asc --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBO4x2C9NQlZYENnwIEQK9dgCgnkkCBc2Ps9KMEJY7g7FmzZBPDfYAn2SH 7T35rLs3KEDLgeJi1dE0/Ilq =Lefk -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--