3 ms·
I would be mostly interested in reading the Core or STG representation, so I can apply transformations to them. Of course, it would also be nice to generate int
by amelius 12y ago
I would be mostly interested in reading the Core or STG representation, so I can apply transformations to them. Of course, it would also be nice to generate intermediate code from scratch, but that is something which is not forming an obstruction at this point (as it would be easy to just generate Haskell code instead).
I'm not looking for high-performance solutions, just some tools to make researching new ideas a little simpler.
To give you some idea about the things I'd like to do:
* Transforming programs into "incremental programs", so they run faster on changing inputs.
* Automatically translating functional data-structures to other languages (C++)
* Sending code over the network
I tried using the GHC parser directly, but that route turned out to be too much work (too many cases to handle). Then I looked at Core, but the documentation was lacking or not up to date.
So, from where I stand, the internal documentation is the biggest problem, and, according to good software engineering practices, there can be no excuse for having no good internal documentation :)
Besides just plain documentation, a tutorial with examples would be nice, but I can understand if that is not a priority.
Anyway, keep up the good work :) I'm happy with GHC as it is. I just wished it was a little more "open".