
Thanks for this Neil. Can I assume this code is also under the GPL? All of the code is under the GPL, it says so on the wiki (maybe
Hi Robert, putting the license on a wiki isn't the best idea...), I guess we deleted LICENSE by accident at some point. I wrote all the stuff in that .zip, so if another license is better for you, I'm sure it can be arranged. Since the bytecode will be a library, the GPL might not be the best choice anyway.
In that case I may see if I can move this code in that direction. I have the idea that it would be nice to automaticly derive interfaces and serialization code from the xml structure found in the YHC source, and use Eternal Compatibility in Theory to maintain compatibility across bytecode versions.
That would be very nice. If you look at /src/compiler98/ByteCode/data/haskell.xsl that generates some Haskell code for reading bytecodes - I never got round to integrating it into the haskell module reader, but it shouldn't be too hard. The Python version of Yhi (Pyhi) uses that .xml already. Thanks Neil