[antlr-interest] beginner question: abnf?

Ed navicore at gmail.com
Fri Jul 6 21:59:57 PDT 2007


excellent.  thanks!  -ed

On 7/7/07, Loring Craymer <lgcraymer at yahoo.com> wrote:
>
> There is a simple trick--write an abnf->antlr
> translator.  BNF grammars are pretty simple, and the
> translation process is basically simple
> transliteration.  You can use the grammar you want
> translated as a test case.  The only unusual feature
> of ABMF is the specification of repeats.
>
> --Loring
>
>
> --- Ed Sweeney <navicore at gmail.com> wrote:
>
> > beginner question: is there any automation to
> > convert an abnf / rfc2234
> > grammar to antlr grammar?
> >
> > i want to confirm there isn't any (maybe obvious)
> > trick other than line by
> > line hand coding the antlr grammar from the abnf or
> > using a different tool.
> > working my way thru the antlr book now...
> >
> > thanks!  -ed
> >
>
>
>
>
>
> ____________________________________________________________________________________
> Looking for a deal? Find great prices on flights and hotels with Yahoo!
> FareChase.
> http://farechase.yahoo.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070707/e88708e3/attachment.html 


More information about the antlr-interest mailing list