<html><div style='background-color:'><DIV> <P><BR><BR></P></DIV> <DIV></DIV> <DIV></DIV>>From: markus liedl <MARKUS.LADO / GMX.DE> <DIV></DIV>>Reply-To: ruby-talk / ruby-lang.org <DIV></DIV>>To: ruby-talk / ruby-lang.org (ruby-talk ML) <DIV></DIV>>Subject: [ruby-talk:20494] Re: YACC & lex and Ruby <DIV></DIV>>Date: Wed, 29 Aug 2001 10:35:03 +0900 <DIV></DIV>> <DIV></DIV>>Dat Nguyen wrote: <DIV></DIV>> > <DIV></DIV>> > Is there anything you can do with YACC & lex but can't with Ruby? <DIV></DIV>> <DIV></DIV>>probably you mean Ruby + racc <DIV></DIV>> <DIV></DIV>>I started translating parse.y to a racc format to build a RubyInRuby <DIV></DIV>>parser. <DIV></DIV>> <DIV></DIV>>The only annoying issue was how to get the stack with the still <DIV></DIV>>successfully parsed states out of it if an syntax error happens. <DIV></DIV> <P>> </P> <P> </P> <P>>But, can you do that with yacc? </P> <P>> </P> <DIV></DIV> <P>>markus </P> <P>Perl supposes to replace or to combine awk, sed, grep, shell, etc.</P> <P>Does Ruby make Yacc & Lex obsolete?</P> <P>Dat</P> <DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>