Repository: https://github.com/thezerobit/ebnf-parser
License: BSD 2-Clause
Quick assessment (2023-03-28)
- The :ebnf-parser system compiles without warnings. The calculator example is shown below.
- The C++ parser is incomplete, but it was able to lex some files from the Borland C++ distribution.
- Hits the subtle pitfall where it tries to get the value of a constant that isn't available at compile time.
> (calc:run) (1 + (2 + 3) * 4) could not process '(1 + (2 + 3) * 4)'; enter a blank line to quit 1+(2+3)*4 = 21