Grammar Conversion

Paste grammar into textarea and click button for converting to W3C grammar notation. These grammar notations are supported: ABNF, ANTLR 3, Bison, GOLD, JavaCC, Jison, PEG.js, Xtext. This is work in progress. Converters for individual notations are in different states of development, so they may or may not work for you. If you experience any problem, please send me an email, and I will try to fix it.

Input grammar:

Direct recursion elimination:
Inline trivial nonterminals:
Target format:

Convert v0.38.1240 - May 16, 2016
© 2011-2016 Gunther Rademacher