Skip to content

Commit

Permalink
[ #265 purge CNF ] removed --cnf backend
Browse files Browse the repository at this point in the history
This backend is released under GPL and the author does not want to
release it under MIT or BSD.
  • Loading branch information
andreasabel committed Oct 25, 2020
1 parent 7dbfc69 commit da0e28d
Show file tree
Hide file tree
Showing 22 changed files with 14 additions and 1,637 deletions.
3 changes: 1 addition & 2 deletions examples/C/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ This directory contains different grammars related to the C language:
Developed by Ulf Persson is 2003 as part of a BSc thesis at
Chalmers University of Technology
``C_with_delimiters.cf``
Modified Ansi C grammar to make use of ``delimiter`` pragmas (used in the CNF
backend).
Modified Ansi C grammar to make use of ``delimiter`` pragmas.

And some example programs:

Expand Down
18 changes: 0 additions & 18 deletions source/BNFC.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,6 @@ Source-repository this
subdir: source
tag: v2.8.4

Library
hs-source-dirs: runtime, src
default-language: Haskell2010
Build-Depends: base>=4.8 && <5, array
exposed-modules:
Algebra.RingUtils
Data.Pair
Data.Matrix.Quad
Data.Matrix.Class
Parsing.Chart
Parsing.TestProgram

Executable bnfc
default-language: Haskell2010
Build-Depends:
Expand Down Expand Up @@ -111,7 +99,6 @@ Executable bnfc
-- BNFC core
BNFC.Utils
BNFC.CF
BNFC.ToCNFCore
BNFC.Regex
BNFC.TypeChecker
BNFC.GetCF
Expand All @@ -124,15 +111,13 @@ Executable bnfc
BNFC.Backend.Common.StrUtils
BNFC.Options
BNFC.PrettyPrint
Data.Pair

-- Documentation backends
BNFC.Backend.Latex
BNFC.Backend.Txt2Tag

-- Haskell backend
BNFC.Backend.Haskell
BNFC.Backend.Haskell.ToCNF
BNFC.Backend.Haskell.CFtoTemplate
BNFC.Backend.Haskell.CFtoAlex3
BNFC.Backend.Haskell.CFtoHappy
Expand Down Expand Up @@ -276,7 +261,6 @@ Test-suite unit-tests
-- BNFC core
BNFC.Utils
BNFC.CF
BNFC.ToCNFCore
BNFC.Regex
BNFC.TypeChecker
BNFC.GetCF
Expand All @@ -289,15 +273,13 @@ Test-suite unit-tests
BNFC.Backend.Common.StrUtils
BNFC.Options
BNFC.PrettyPrint
Data.Pair

-- Documentation backends
BNFC.Backend.Latex
BNFC.Backend.Txt2Tag

-- Haskell backend
BNFC.Backend.Haskell
BNFC.Backend.Haskell.ToCNF
BNFC.Backend.Haskell.CFtoTemplate
BNFC.Backend.Haskell.CFtoAlex3
BNFC.Backend.Haskell.CFtoHappy
Expand Down
2 changes: 1 addition & 1 deletion source/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
2.9.0 Andreas Abel <andreas.abel@gu.se>
* Haskell: removed options --alex1, --alex2, --sharestrings, and --profile
* Haskell: removed options --alex1, --alex2, --sharestrings, --profile, and --cnf
* C#: backend removed

2.8.4 Andreas Abel <andreas.abel@gu.se> October 2020
Expand Down
74 changes: 0 additions & 74 deletions source/runtime/Algebra/RingUtils.hs

This file was deleted.

85 changes: 0 additions & 85 deletions source/runtime/BNFC/Runtime/CYKSparse.hs

This file was deleted.

64 changes: 0 additions & 64 deletions source/runtime/Data/Matrix/CYK.hs

This file was deleted.

81 changes: 0 additions & 81 deletions source/runtime/Data/Matrix/Class.hs

This file was deleted.

Loading

0 comments on commit da0e28d

Please sign in to comment.