-
I'm working on a C++ compiler on windows environment with flex, and I just noticed the "comments" token works on my grammar when I generate haskell code, but doesn't when I do it for C++ code, when I …
-
Consider the following grammar
```
Atom. Category ::= "h";
NonAtom. Category ::= "o" Category;
```
I create a file to parse using the following python script
``` python
import sys
str = "o " * (in…
gapag updated
9 years ago
-
Hi,
I'm using BNFC to generate the rules and tokens for `FSP` language which is specified at [here](http://www.doc.ic.ac.uk/ltsa/eclipse/help/index.html?appendix_b___fsp_language_spec.htm)
I define …
-
I'm using BNF Converter, 2.6a.
I recently wrote a grammar as part of an university assignment, and was puzzled by the message _unused terminals: 1_ when running `make`. However, I didn't think that t…
-
I tried the experimental os x package - it installed fine, in /usr/bin
I ran /usr/bin/bnfc -m -p Formal.PML PML.cf
I then used ghci to compile the TestPML.hs
I get the following error log:
$ ghci T…
-
Currently the only option relating to generating a makefile is `-m`, which generates a makefile with filename `Makefile`.
Could an option be added to allow the user to also optionally specify the nam…
-
Whenever `Ident` is used in a grammar, the Haskell backend generates:
```
newtype Ident = Ident String deriving (Eq,Ord,Show)
```
I'd like `Ident`s to also derive `Read`. I'm happy to submit a pull …
-
Curly braces in BNFC are considered too special. They seem to be always considered as begin and end marks for block of sequences (often surrounding the seuqnece of things separated by a sperator).
Ho…
-
The download link in "2013-03-01: BNFC 2.5 released." is broken. The URL http://bnfc.digitalgrammars.com/download/bnfc-2.5-src.tgz returns a 404 error.
-
While trying to compile a very simple BNFC file I ran into a bug. I am using version 2.5.0 of BNFC.
A simple BNFC file such as the following will fail for the Java target, as incorrect code is genera…