<html><div style='background-color:'><DIV>
<P><BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: markus liedl <MARKUS.LADO / GMX.DE>
<DIV></DIV>&gt;Reply-To: ruby-talk / ruby-lang.org 
<DIV></DIV>&gt;To: ruby-talk / ruby-lang.org (ruby-talk ML) 
<DIV></DIV>&gt;Subject: [ruby-talk:20494] Re: YACC &amp; lex and Ruby 
<DIV></DIV>&gt;Date: Wed, 29 Aug 2001 10:35:03 +0900 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Dat Nguyen wrote: 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; Is there anything you can do with YACC &amp; lex but can't with Ruby? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;probably you mean Ruby + racc 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I started translating parse.y to a racc format to build a RubyInRuby 
<DIV></DIV>&gt;parser. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;The only annoying issue was how to get the stack with the still 
<DIV></DIV>&gt;successfully parsed states out of it if an syntax error happens. 
<DIV></DIV>
<P>&gt; </P>
<P>&nbsp;</P>
<P>&gt;But, can you do that with yacc? </P>
<P>&gt; </P>
<DIV></DIV>
<P>&gt;markus </P>
<P>Perl supposes to replace or to combine awk, sed, grep, shell, etc.</P>
<P>Does Ruby make Yacc &amp; 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>