[Haskell-cafe] C++ Parser?

Hans Aberg haberg-1 at telia.com
Tue Jan 24 14:54:42 CET 2012


On 24 Jan 2012, at 11:06, Christopher Brown wrote:

> I have stumbled across language-c on hackage and I was wondering if anyone is aware if there exists a full C++ parser written in Haskell? 

There is a yaccable grammar
  http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11

You might run it through a parser generator that outputs Haskell code.
  http://www.haskell.org/haskellwiki/Applications_and_libraries/Compiler_tools

Hans





More information about the Haskell-Cafe mailing list