LogoopenSUSE Build Service > Projects
Sign Up | Log In

A compiler front-end generator

The BNF Converter is a compiler construction tool generating a compiler front-end from a Labelled BNF grammar. It was originally written to generate Haskell, but starting from Version 2.0, it can also be used for generating Java, C++, and C.

Given a Labelled BNF grammar the tool produces: an abstract syntax as a Haskell, C++/C module or Java directory, a case skeleton for the abstract syntax in the same language, an Alex, JLex, or Flex lexer generator file, a Happy, CUP, or Bison parser generator file, a pretty-printer as a Haskell, Java, C++/C module, a Latex file containing a readable specification of the language. 

Source Files

Filename Size Changed Actions
BNFC-2.8.1.tar.gz 220 KB over 1 year ago Download File
BNFC.changes 1.36 KB 8 months ago Download File
BNFC.spec 3.23 KB 7 months ago Download File

Comments for devel:languages:haskell (1)

Repo Checker repo-checker wrote 28 days ago

The version of this package in openSUSE:Leap:15.0 has installation issues and may not be installable:

can't install ghc-BNFC-devel-2.8.1-lp150.1.9.x86_64:
  package ghc-compiler-8.0.2-lp150.1.10.x86_64 requires gcc, but none of the providers can be installed
  package ghc-BNFC-devel-2.8.1-lp150.1.9.x86_64 requires ghc-compiler = 8.0.2, but none of the providers can be installed
  package gcc-7-lp150.1.27.x86_64 requires gcc7, but none of the providers can be installed
  nothing provides libmpfr.so.4()(64bit) needed by gcc7-7.3.0+r257042-lp150.1.3.x86_64