Nils
| I'd like to play around a bit with ghc's data flow analysis. Is there a
| way to access the internal dataflow information? What would the data
| representation be like? If it's not accessible would it be possible to
| use ghc's frontend (parser, type inference system, ...) and then do ones
| own data flow analysis on the internal program representation?
GHC doesn't really do any data flow analysis (unless you count strictness
analysis). What did you have in mind?
Yes, you can certainly reuse the front end. You should start by grabbing
the current 2.04 sources, reading the "building-and-installation" manual,
and building a complete compiler. Then you're ready to start hacking!
I'll be glad to help if I can.
Simon