Library to parse and check Haskell code?
问题 Is there any library in hackage that can parse haskell code and check if it is valid code or not? I'm willing to play a bit with an evolutionary model and I want to check if produced strings of code will compile without having to write them to the disk and run the compiler. Ideally it would be nice to be able to run the code in the strings too, but only checking the validity of the code is ok. If you know about parser libraries (in haskell) that check for other languages (lisp, C,...)it would