Search code examples
haskellghcbnfghcialex

How to compile BNF Converter?


Did anyone succeed in building BNFC with ghc-7.2.1 and alex-3? I was trying to fix it manually, but there are lots of errors. Does anybody know where can I find some patches that will help me to get it done? Thanks in advance.


Solution

  • I've placed a modified darcs repo at http://www.tiresiaspress.us/haskell/bnfc/ . It works with ghc-7.4 and alex-3 (I didn't change the docs, so it still says alex-2). Very hackish, YMMV.