This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_ extPart_001_01C0B9F4.03FE7360 Content-Type: text/plain; charset SO-8859-1" Hi, Has anyone thought about using Antlr (http://www.antlr.org)? That would be more flexible wrt the grammar but I guess that would be a lof of work and would add a dependency to C++/Java and thus would probably make it less portable. Any thoughts? BTW, Ruby is a great language. I just discovered it thanks to Dave's and Andy's article in DDJ January issue. While looking at their book, I was seduced my the availability of WIN32OLE and bought the book right away. Yes, Ruby is easy to learn and I am very happy with. Now I feel more at ease under Windows to write some scripts. Thank you Matz and the Ruby community for this great work, Christophe -----Original Message----- From: matz / zetabits.com [mailto:matz / zetabits.com] Sent: Monday, March 12, 2001 9:01 AM To: ruby-talk / ruby-lang.org Subject: [ruby-talk:12489] Re: why won't "(a) " parse? HI, In message "[ruby-talk:12039] why won't "(a) " parse?" on 01/03/06, David Alan Black <dblack / candle.superlink.net> writes: |I was surprised to see this fail to parse: | | (a) It's by the magical mystery of yacc rules. I wish I knew workaround. matz. ------_ extPart_001_01C0B9F4.03FE7360 Content-Type: text/html; charset SO-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>Using Antlr for Ruby? (was RE: [ruby-talk:12489] Re: why won't "(a) = 1" parse?)</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>Hi,</FONT> </P> <P><FONT SIZE=2>Has anyone thought about using Antlr (<A HREF="http://www.antlr.org" TARGET="_blank">http://www.antlr.org</A>)?</FONT> <BR><FONT SIZE=2>That would be more flexible wrt the grammar but I guess that would be a lof of work and would add a dependency to C++/Java and thus would probably make it less portable.</FONT></P> <P><FONT SIZE=2>Any thoughts?</FONT> </P> <P><FONT SIZE=2>BTW, Ruby is a great language. I just discovered it thanks to Dave's and Andy's article in DDJ January issue. While looking at their book, I was seduced my the availability of WIN32OLE and bought the book right away. Yes, Ruby is easy to learn and I am very happy with. Now I feel more at ease under Windows to write some scripts.</FONT></P> <P><FONT SIZE=2>Thank you Matz and the Ruby community for this great work,</FONT> </P> <P><FONT SIZE=2>Christophe</FONT> </P> <P><FONT SIZE=2>-----Original Message-----</FONT> <BR><FONT SIZE=2>From: matz / zetabits.com [mailto:matz / zetabits.com]</FONT> <BR><FONT SIZE=2>Sent: Monday, March 12, 2001 9:01 AM</FONT> <BR><FONT SIZE=2>To: ruby-talk / ruby-lang.org</FONT> <BR><FONT SIZE=2>Subject: [ruby-talk:12489] Re: why won't "(a) = 1" parse?</FONT> </P> <BR> <P><FONT SIZE=2>HI,</FONT> </P> <P><FONT SIZE=2>In message "[ruby-talk:12039] why won't "(a) = 1" parse?"</FONT> <BR><FONT SIZE=2> on 01/03/06, David Alan Black <dblack / candle.superlink.net> writes:</FONT> </P> <P><FONT SIZE=2>|I was surprised to see this fail to parse:</FONT> <BR><FONT SIZE=2>|</FONT> <BR><FONT SIZE=2>| (a) = 1</FONT> </P> <P><FONT SIZE=2>It's by the magical mystery of yacc rules. I wish I knew workaround.</FONT> </P> <P> <FONT SIZE=2>matz.</FONT> </P> </BODY> </HTML> ------_ extPart_001_01C0B9F4.03FE7360--