-
According to `bnfc --help`:
`--functor Make the AST a functor and use it to store the position of the nodes`
How would you go about storing the position of the nodes?
The type that
``` haskell…
-
@phadej, thanks for this tool, it solved my problem to communicate the preprocessor(happy/alex)-generated files to my doctests-main in a robust way.
In the light of your explanation at https://gith…
-
With the following example:
```
S. S ::= "#" [A] ;
A. A ::= "a" ;
delimiters A "[" "]" separator "," ;
```
```
$ bnfc --haskell --cnf -m test.cf && make
$ echo "# [ a ]" | ./TestCNF
```
You get `T…
-
A frequent question is how to use white-space as a separator, doing this:
```
separator A " ";
```
doesn't work and the answer is to use an empty string:
```
separator A "";
```
Maybe bnfc could …
-
It seems the only characters that should be escaped in bracket expressions in regexes are `]`, `\`, and `-`. I'm not sure if this means that there needs to be different escaping in different contexts.…
-
The IDE team is working on commands that will display isolated L4 outputs in VS Code (dot file as a graph & english as plaintext for now).
As such, we would like to request 2 additional flags in L…
-
BNFC currently is licensed under GPL-2 which is a bit strict and excludes e.g. industrial users from using the sample grammars (and even the `bnfc` tool) in closed-source projects.
The following l…
-
Cabal v1-installs are deprecated. One part of it, Cabal sandboxes, [will be removed](https://github.com/haskell/cabal/commit/6248c74280a54382f85079f58a1ea40ba0db9476) in cabal-install 3.4. Homebrew us…
-
BNFC-2.8.4 is on nightly, I would like to have it added to LTS.
(N.B.: BNFC is mostly an executable and does not strictly follow the package version policy.)
Checklist for adding a package:
- […
-
I have been working on a [BNFC](https://github.com/BNFC/bnfc) parser for Antlrvsix. I generated a parser for the [the LBNF example](https://github.com/BNFC/bnfc/blob/master/examples/LBNF/LBNF.cf), and…