-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d932f98
commit e4c7326
Showing
3 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,11 @@ cabal-version: 2.0 | |
-- Shunning this extra effort, we only support stack snapshot that have a sufficient Cabal. | ||
build-type: Simple | ||
category: Parsing | ||
Copyright: (c) Andreas Abel, Jonas Almström Duregård, Krasimir Angelov, Jean-Philippe Bernardy, Björn Bringert, Johan Broberg, Kyle Butt, Paul Callaghan, Grégoire Détrez, Markus Forsberg, Ola Frid, Peter Gammie, Thomas Hallgren, Pascal Hof, Simon Huber, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Andreas Lööw, Justin Meiners, Kent Mein, Ulf Norell, Gabriele Paganelli, Michael Pellauer, Fabian Ruch, and Aarne Ranta 2002 - 2021. Free software under the BSD 3-clause license. | ||
Copyright: (c) Andreas Abel, Jonas Almström Duregård, Krasimir Angelov, Jean-Philippe Bernardy, Björn Bringert, Johan Broberg, Kyle Butt, Paul Callaghan, Grégoire Détrez, Markus Forsberg, Ola Frid, Peter Gammie, Thomas Hallgren, Pascal Hof, Simon Huber, Patrik Jansson, Kristofer Johannisson, Antti-Juhani Kaijanaho, Andreas Lööw, Justin Meiners, Kent Mein, Ulf Norell, Gabriele Paganelli, Michael Pellauer, Michał Radwański, Fabian Ruch, and Aarne Ranta 2002 - 2023. Free software under the BSD 3-clause license. | ||
License: BSD3 | ||
License-File: LICENSE | ||
Maintainer: [email protected] | ||
Homepage: http://bnfc.digitalgrammars.com/ | ||
Homepage: https://bnfc.digitalgrammars.com/ | ||
bug-reports: https://github.com/BNFC/bnfc/issues | ||
Synopsis: A compiler front-end generator. | ||
Description: | ||
|
@@ -22,10 +22,10 @@ Description: | |
but can also be used for generating Agda, C, C++, Java, Ocaml and XML code. | ||
. | ||
Given a Labelled BNF grammar the tool produces: | ||
an abstract syntax as a Haskell, Agda, C, C++, Ocaml module or Java directory, | ||
an abstract syntax as a Haskell, Agda, C, C++, Ocaml module or Java package, | ||
a case skeleton for the abstract syntax in the same language, | ||
an Alex, JLex, or Flex lexer generator file, | ||
a Happy, CUP, Bison, or Antlr parser generator file, | ||
an Alex, Flex, JLex, JFlex, or ocamllex lexer generator file, | ||
a Happy, CUP, Bison, Antlr, ocamlyacc or menhir parser generator file, | ||
a pretty-printer as a Haskell, Agda, C, C++, Java, or Ocaml module, | ||
an XML representation, | ||
a LaTeX file containing a readable specification of the language. | ||
|
@@ -64,9 +64,9 @@ extra-source-files: | |
stack-8.4.4.yaml | ||
stack-8.2.2.yaml | ||
|
||
Source-repository head | ||
source-repository head | ||
type: git | ||
location: git://github.com/BNFC/bnfc.git | ||
location: https://github.com/BNFC/bnfc.git | ||
subdir: source | ||
|
||
executable bnfc | ||
|
@@ -129,7 +129,7 @@ library | |
default-extensions: | ||
-- Keep the list of language extensions in sync with its other occurrences. | ||
-- Keep in alphabetical order. | ||
-- No CPP since doctests doesn't like it. | ||
-- No CPP since doctest doesn't like it. | ||
DefaultSignatures | ||
DoAndIfThenElse | ||
FlexibleContexts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# 2.9.5 | ||
|
||
Unreleased | ||
Andreas Abel <[email protected]>, July 2023 | ||
|
||
* C/C++/Java: escape newline etc. when printing `String` and `Char` literals [[#449](https://github.com/BNFC/bnfc/issues/449)] | ||
* Java/ANTLR: unescape `String` and `Char` literals in parser (needs Java ≥ 15) [[#451](https://github.com/BNFC/bnfc/issues/451)] | ||
|
@@ -11,6 +11,10 @@ Unreleased | |
* Ocaml: lex escape sequences in `Char` [[#452](https://github.com/BNFC/bnfc/issues/452)] | ||
* Ocaml: removed superfluous `let rec` in the printers for token categories | ||
|
||
Tested GHC versions: | ||
* with `cabal`, GHC 7.10 - 9.6 | ||
* with `stack`, GHC 8.2 - 9.6 | ||
|
||
# 2.9.4.1 | ||
|
||
Andreas Abel <[email protected]>, December 2022 | ||
|