bnfc
bnfc copied to clipboard
BNF Converter
# Status quo As section 4.2 of the manual describes, LBNF allows for semantic dummies like ``` _ . Statement ::= Statement ";"; ``` But that seems to only work...
I just created an issue at jflex-de/jflex#191 as I initially thought I am wrongly using the tool chain. I tried to ``` bash $ bnfc -m --java -o src/main/java --jflex...
The current syntax of coercions is `coercions ` e.g. `coercions Exp 2` This is translated as a cascade of ``+1 dummy-labeled productions, like e.g. ``` _. Exp0 ::= Exp1 ;...
Rather than an issue description, this is to start a discussion about a limited feature of BNFC. Forgive me but I have plenty of spare time. As reported in the...
EBNF is the Extended BNF which is so useful and concise to declare the context-free grammar. EBNF is specified at [here](http://www.princeton.edu/~achaney/tmve/wiki100k/docs/Extended_Backus%E2%80%93Naur_Form.html)
[Pygment](http://pygments.org/languages/) is used in many places to do syntax coloring, it would be nice to add support for bnfc
I made an attempt at implementing the feature I asked for. Please let me know if there is anything I can improve on or some style I'm not strictly following...
Tree-sitter has a known limitation of not handling symbols that can match zero-width (a.k.a. "empty") strings. (Documented [here](https://github.com/tree-sitter/tree-sitter/blob/ff89b539f276e2bd19248ffa462d8a426341993d/cli/src/generate/prepare_grammar/flatten_grammar.rs#L199)) The only exception seems to be the start symbol. However, in BNFC,...
My general policy has changed to no longer support GHC 7 in packages I maintain.
This affects all releases of BNFC 2.9 and most of 2.8. Not affected: 2.8.1, 2.8.3.1 It is not clear though whether this makes `cabal` skip the `alex` and `happy` steps....