Package Details: bnfc 2.8.3-1

Git Clone URL: (read-only, click to copy)
Package Base: bnfc
Description: The BNF Converter is a compiler construction tool generating a compiler front-end from a Labelled BNF grammar. It is currently able to generate C, C++, C#, Haskell, Java, and OCaml, as well as XML representations.
Upstream URL:
Licenses: GPL2
Submitter: flaviut
Maintainer: flaviut
Last Packager: flaviut
Votes: 2
Popularity: 0.002791
First Submitted: 2015-10-04 22:58
Last Updated: 2020-05-16 21:37

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

Richie commented on 2020-07-22 01:11

To generate a compiler chain for the Java Hello World LBNF Calc from the bnfc documentation I needed to do this after installation:

# install cup from AUR
yay -S cup
# install jlex somewhere
mkdir -p /home/user/J/JLex
cd /home/user/J/JLex

# generate compiler using alternative classpath
export CLASSPATH=.:./Calc:/usr/share/java/cup/java-cup-11b.jar:/home/user/J
bnfc -m -java

Maybe someone can make use of that information.

flaviut commented on 2018-04-05 16:54

Thank you, fixed!

wolf480pl commented on 2018-04-05 13:54

Some time ago, all haskell packages in Arch have been switched to dynamic linknig, so for this package to build, I had to add --enable-executable-dynamic to the configure options.

flaviut commented on 2016-10-31 03:23

Thank you, fixed! commented on 2016-10-31 02:03

`haddock` is gone, and now we have `haskell-haddock-api` (which depends on `haskell-haddock-library`, not sure if both or only the last one is required).

flaviut commented on 2016-05-11 00:05

I've updated this package to 2.8.1. The author doesn't provide binary packages for 2.8.1, so I've modified it to build from the source tarball. That means that several haskell-related dependencies have been added to makedepends.

They're ~900MB if you don't already have them installed. They can be uninstalled if you'd like. Bnfc will still work (with what caveats, I don't know).

This is bnfc, not bnfc-bin, so even if the author does begin releasing binary files again, I don't think I'll change this package to use them.