From: Eric Mahurin Date: 2005-11-10T02:33:03+09:00 Subject: Re: RUBY GRAMMAR ------=_Part_33183_13540997.1131557580800 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 11/9/05, puellula@gmail.com wrote: > > Eric, > I'm posting this to ruby talk because I think only persons knows Ruby > can help me with Ruby Grammar. I haven't problem with ANTLR, but with > Ruby Grammar. > > Thanks you > puellula > > > The first thing you need to do is pick the subset of ruby you want to parse= . If you want to know the syntax of a particular part of ruby, I think ruby-talk can help. But, please be specific instead of saying "I can't pars= e ruby with the antlr grammar I made". Give a piece of code you are trying to parse, how it is failing, applicable BNF rules for that code fragment, etc. I suspect the main problem you are having is how to take an LR grammar (i.e= . yacc) to LL grammar (i.e. ANTLR). From the grammar you posted, it looks lik= e you may have some misunderstandings about how antlr works. ------=_Part_33183_13540997.1131557580800--