-
BNFC passes this
```lbnf
EId. Expr ::= Ident;
EAdd. Expr ::= Expr "+" Expr;
token Ident (letter (letter)*);
```
but it fails in the Haskell backend:
```
happy -gca Ident/Par.y
Ident/Par.y: …
-
The documentation at http://cabal.readthedocs.io/en/latest/developing-packages.html#custom-setup-scripts is rather terse.
Users are sometimes confused about the semantics in case of a missing `cust…
-
I'm using BNFC 2.9.1. Consider this .cf file:
```
EAB. Exp ::= AB;
EA_B. Exp ::= A B;
token A 'a';
token B 'b';
token AB 'a' ' ' 'b';
```
Generate haskell code from it and call this from `ma…
-
The error message for type checking errors, while correct, is rather unhelpful in bigger proofs. It would be nice if it could at least state a line number where things go haywire.
It looks like this …
-
**Describe the bug**
`% cabal v2-sdist`
`cabal: Error: Could not find module: SciDbAFL with any suffix:`
`["gc","chs","hsc","x","y","ly","cpphs","hs","lhs","hsig","lhsig"]. If the`
`module is auto…
-
The pragma e.g. `coercions Exp 3` should issue a warning if the grammar contains variants of `Exp` outside of the range 1-3. This is more likely a mistake than intention. Often, there is confusion i…
-
[Pygment](http://pygments.org/languages/) is used in many places to do syntax coloring, it would be nice to add support for bnfc
-
Here is a partial grammar of SQL that I'd like to add to the example suite:
https://github.com/GrammaticalFramework/gf-contrib/blob/master/query-converter/MinSQL.bnf
SQL has case-insensitive keywo…
-
I would love it if there was an option on BNFC to parse into either a `std::shared_ptr`/`std::unique_ptr` or to stack allocate classes because it's been a chore to track down everything that's been pa…
-
If we create a [tree-sitter](https://tree-sitter.github.io/tree-sitter/) backend, we could get basic editor support for all languages using BNFC with almost no work.
Tree-sitter grammars are the defa…