From: Christophe Broult Date: 2001-04-01T00:04:09+09:00 Subject: [ruby-talk:13388] Using Antlr for Ruby? (was RE: Re: why won't "( a) = 1" parse?) 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. ------_=_NextPart_001_01C0B9F4.03FE7360 Content-Type: text/plain; charset="ISO-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) = 1" parse? HI, In message "[ruby-talk:12039] why won't "(a) = 1" parse?" on 01/03/06, David Alan Black writes: |I was surprised to see this fail to parse: | | (a) = 1 It's by the magical mystery of yacc rules. I wish I knew workaround. matz. ------_=_NextPart_001_01C0B9F4.03FE7360 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Using Antlr for Ruby? (was RE: [ruby-talk:12489] Re: why won't = "(a) =3D 1" parse?)

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) = =3D 1" parse?


HI,

In message "[ruby-talk:12039] why won't = "(a) =3D 1" parse?"
    on 01/03/06, David Alan Black = <dblack@candle.superlink.net> writes:

|I was surprised to see this fail to parse:
|
|  (a) =3D 1

It's by the magical mystery of yacc rules.  I = wish I knew workaround.

        =         =         =         =         =         =         matz.

------_=_NextPart_001_01C0B9F4.03FE7360--