On 1 Apr 2009, at 16:31, Daniel Lincke wrote:
Hi Haskellers, I am looking for a parser which can parse Haskell code and build an syntax tree out of it. The syntax tree should be storable in some reasonable file format in order to use it as an input for applications like programm transformation systems.
Just a note – the storable syntax tree you're looking for is called "a .hs file". You just want a nice interface to your Haskell parser so that said syntax transformers can work easily.
You might want to look at how HaRe does it. I believe using Programatica at the moment, because it's the only one that preserves comments and code layout.
Bob _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell