Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 341 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 341 Bytes

A generator for context free grammar

  • currently does not take into account repeated definitions, the second one will override the first.

Usage

Takes a grammar file (examples see grammars folders)

Generating the grammar.py file

python gen.py -g grammars/poetry-ch.gram

Running the flask server

python main.py