[antlr-interest] beginner question: abnf?
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.
--- 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.
More information about the antlr-interest