
10 Feb
2007
10 Feb
'07
10:15 a.m.
Hi
Also, I recommend looking into embedding YHC. I have not had a chance to use it yet, but it looks like it is a better fit to an "interpreter-only" embedding situation than GHC--with GHC, you are getting a lot more than you seem to be asking for.
I would want to compile code as well. Compile bits of code <100 lines at a time and load them back into my app for execution. Does YHC compile and how efficiently?
Yhc can happily compile code and run it. You'll probably pay a factor of 2-8 times slower than GHC, depending on what the code does. The entire Yhc binary distribution on Windows is 8Mb, of which 6Mb is the compiler. Thanks Neil