From 5301d95ef0735c8c744a4b8e7c8e14374b4c8b3f Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Wed, 26 Jul 2023 20:27:41 +0200 Subject: [PATCH] v2.9.5: CHANGELOG etc. --- docs/dev/release.rst | 4 ++-- source/BNFC.cabal | 16 ++++++++-------- source/CHANGELOG.md | 6 +++++- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/docs/dev/release.rst b/docs/dev/release.rst index 7aaf1cae0..a93396a88 100644 --- a/docs/dev/release.rst +++ b/docs/dev/release.rst @@ -5,7 +5,7 @@ Releasing This document concerns the developers and contributors of BNFC only. ☐ Write changes - In `source/changelog`. Write an overview of the important changes: features + In `source/CHANGELOG.md`. Write an overview of the important changes: features added, deprecated and removed. The format of the first line is:: @@ -14,7 +14,7 @@ This document concerns the developers and contributors of BNFC only. ├┄┘ └┄┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘ ├┄┄┄┄┄┄┄┄┘ ┕ version number ┕ Releaser name and email ┕ Date -☐ Bumb version +☐ Bump version The version increment should be based on the changes listed in the changelog, according to `semantic versioning`_. diff --git a/source/BNFC.cabal b/source/BNFC.cabal index 3a4d685d6..cca33f2d5 100644 --- a/source/BNFC.cabal +++ b/source/BNFC.cabal @@ -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: bnfc-dev@googlegroups.com -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 diff --git a/source/CHANGELOG.md b/source/CHANGELOG.md index 2065b07f8..ecc719dfc 100644 --- a/source/CHANGELOG.md +++ b/source/CHANGELOG.md @@ -1,6 +1,6 @@ # 2.9.5 -Unreleased +Andreas Abel , 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 , December 2022