From: MenTaLguY Date: 2005-11-27T02:42:39+09:00 Subject: Re: [ANN] The Ruby Grammar Project --=-tY0jcQQ+gbWLsaTNBos1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2005-11-26 at 20:27 +0900, Christian Neukirchen wrote: > MenTaLguY writes: >=20 > > The The Ruby Grammar Project aims to: > > > > 1. Develop an ANTLR grammar as an alternative to the YACC grammar whic= h > > is ruining everybody's parties these days. >=20 > In general, a good idea. However, can there be made a pure-Ruby > parser from an ANTLR grammar? Do you mean: 1. Is it possible to write a complete grammar for Ruby in ANTLR, given how squirrely its (Ruby's) syntax is? 2. Does ANTLR have a backend that can generate parsers in Ruby? The answers are: 1. Yes. Ter (who is primarily writing the grammar) seems pretty confident that if YACC can do it, ANTLR can do it. Given he's a guy on the forefront of parser research, I think he can make it happen. 2. Not yet but eventually. The grammar will be for the new ANTLR v3, for which most backends are still being written. I'm working on the Ruby backend, though that's under the aegis of the ANTLR project rather than the The Ruby Grammar Project. -mental --=-tY0jcQQ+gbWLsaTNBos1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDiJ6hcUNIGiXCc4MRAlIBAJ477dWJJPgdsCplCCGZiMW35bqMFQCePmpW EQa65/O8U8M2uFqfke/Po5g= =GQf7 -----END PGP SIGNATURE----- --=-tY0jcQQ+gbWLsaTNBos1--