bnfc icon indicating copy to clipboard operation
bnfc copied to clipboard

BNF Converter

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

Hello! This is a proposed implementation of structured errors in Haskell (discussed in #423). Currently it's mostly done, but I guess I need to add some tests, and some issues...

Blockers for `BNFC`'s tests: - [ ] https://github.com/sol/doctest/pull/375 Blockers for `bnfc-system-tests`: - [ ] https://github.com/maoe/lifted-async/issues/38 (Succeeds: `cabal build all --allow-newer=async:base --allow-newer=lifted-async:base`)

Hello! BNFC errors in the Haskell backend are plain `String` values like this: ```syntax error at line 3, column 1 before `token'``` . There are some inconveniences here: - a...

Haskell
parser
error-reporting

Five years ago I used bnfc (it's amazing, big thanks to all ppl involved in creating it) for the first time to generate frontend for my first compiler. Time issues...

F#

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

enhancement
C++
parser
help wanted

ref https://github.com/BNFC/bnfc/issues/293 PR description: I modified large amount of source code related with issue #293 . I would like to take a review. If there are any problems in this...

C++
AST

Hi there. I was wondering if it would be considered part of the scope of this project to deal with syntax highlighting in a language agnostic way. For example, would...

Hello, Let me repeat my old request to have a way to omit some built-in lexical elements. Especially identifier is in my way, as i have an LALR(1) grammar for...

enhancement
lexer
builtin

Haskell: emit `{-# LANGUAGE Safe #-}` (and `Trustworthy` in generated `Lex`/`Par.hs`) Had to get rid of `GeneralizedNewtypeDeriving` extension in generated `Abs.hs`.

Haskell
warnings

This is an issue documenting known bugs of BNFC that cause some system tests to fail. We keep the tests in the test suite nevertheless, to stimulate further bug fixing....

Testing