bnfc icon indicating copy to clipboard operation
bnfc copied to clipboard

BNF Converter

Results 101 bnfc issues
Sort by recently updated
recently updated
newest added

I am having trouble figuring out how I can write a `token` like the built-in `String` but with different quotation marks and, in my Abs.hs result, only get the content...

token
faq
builtin

This is an issue to contemplate a more flexible handling of LBNF rules in the backend. Currently there is a `define` pragma that allows rule names to be first-order functions...

enhancement
AST

I turned on the new `--text-token` option – thank you for that, by the way! – but `String` is the one thing still parsed into a Haskell `String` (`[Char]`) rather...

enhancement
Haskell
token
AST
builtin

You can write `separator nonempty Stmt ","` in the grammar but the generated `Abs` file still uses the type `[Stmt]` rather than `NonEmpty Stmt`. This means that you have to...

Haskell
lists
AST

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';...

wontfix
lexer
faq

Linux binaries are missing for the following releases: - [ ] 2.8.3 (#262) - [ ] 2.8.4 (#300) - [ ] 2.9.0 (#326) - [ ] 2.9.1 (#342) - [...

Linux
help wanted

Currently, the delimiters for lists with layout are hardwired to the Haskell ones, `{ ; }`. This could be relaxed, by analysing which form of list layout keywords are followed....

enhancement
layout

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....

LBNF
error-reporting

[`Rust`](https://www.rust-lang.org) is quite a new language... but, it is an awesome language. Particularly, it features `affine types`, `algebraic data types`, and is in addition a `systems programming language`, so it's...

[ Haskell ] Name created test parser as file, not Main (+) avoids conflicts with user-written Main module (-) harder to compile, needs ghc -main-is option Not sure whether this...