EBNF Grammar Parser in Python

Extended Backus–Naur Form grammar parser built from scratch in Python. Supports defining custom grammars, validating syntax, and running example parse workflows for compiler-construction practice and teaching.

Includes utilities for grammar inspection and error highlighting to help debug language specs and parser behavior on sample inputs.

Git Repository




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Monocular Visual Odometry in Rust (KITTI)
  • DAC SDC 2022 – FPGA-Friendly CNN (UBPercept)
  • DAC SDC 2022 - 4th Place (UBPercept)
  • Cleaner Bot – Coverage Planning Demo
  • BNF and EBNF Grammer Parser