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, Instaparse, 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:
Factoring:
Inline single-string nonterminals:
Keep references to epsilon-only nonterminals:
Target format:
 


Convert v0.43.1593 - August 13, 2017
© 2011-2017 Gunther Rademacher grd@gmx.net