How to Use

To use the CFG Developer, enter your CFG in the Input box, and hit generate.

The Example box will have a string belonging to the given language.

The Test box can be used to enter your own string, and check for membership in the given CFG.

To report any bugs, please fill the google form below.

CFG Developer

Input

Enter your CFG in this box.

  1. An empty box is epsilon by default.
  2. Input is case sensitive, and whitespaces are not ignored.
  3. Use the "|" character to indicate an "or".
  4. Ambiguity detection is not complete yet, and parse tree is not available on the frontend. But it is generated in the console on match, and can be viewed.