BNFC / bnfc

BNF Converter
http://bnfc.digitalgrammars.com/
586 stars 165 forks source link

unrecognized option `--antlr' #205

Closed martinschaef closed 5 years ago

martinschaef commented 7 years ago

On osx, when installing bnfc via cabal, I get:

> cabal install happy alex bnfc
> bnfc --version
2.8.1
> export CLASSPATH=$CLASSPATH:./antlr-4.6-complete.jar
>bnfc --java --antlr -m bnfc/ast.bnfc
unrecognized option `--antlr'

The help also doesn't mention the antlr option. I can't use cup because our CI barfs when it tries to compile the generated code with -wall.

andreasabel commented 6 years ago

The development version has an experimental support for ANTLR. Version 2.8.1 does not have it, afaik.

andreasabel commented 5 years ago

2.8.2 has been released now.