[antlr-interest] beginner question: abnf?

Loring Craymer lgcraymer at yahoo.com
Fri Jul 6 21:19:41 PDT 2007


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/


More information about the antlr-interest mailing list