mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
Add grammar.py for generating compiler-compilers
grammar.py is meant as a compiler compiler compiler, taking in a grammar structure and returning flex and bison files. It can also parse EBNF. Currently there are still remnants of VHDL-specific stuff in the code, because parsing VHDL was what it was initially about. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4e3a6630da
commit
5b76358238
1 changed files with 1138 additions and 0 deletions
1138
tools/python/jwutils/grammar.py
Normal file
1138
tools/python/jwutils/grammar.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue