Any Yhc Core and/or byte code interpreter available written in e.g. Haskell and/or Java?

Hello, I have this crazy idea that I want to run some of my "serious" toy Haskell programs on my pocket phone. To do this, one idea would be to write an interpreter in Java of some very simple intermediate form of Haskell code, such as the Yhc Core format or the Yhc bytecode format. I am primarily interested in something that helps me to understand how to interpret either the Core or the bytecode format, so Haskell interpreters would be most useful. Best regards Thorkil

Hi Thorkil,
I have this crazy idea that I want to run some of my "serious" toy Haskell programs on my pocket phone. To do this, one idea would be to write an interpreter in Java of some very simple intermediate form of Haskell code, such as the Yhc Core format or the Yhc bytecode format. I am primarily interested in something that helps me to understand how to interpret either the Core or the bytecode format, so Haskell interpreters would be most useful.
Already been done: http://www.brianweb.net/personal/blog/entry.php?entry=18 You can run Yhc bytecode files with a java interpretter - it really needs taking forward, cleaning up and moving into the repo - any help from someone who has a real use for this would be very helpful :) Thanks Neil
participants (2)
-
Neil Mitchell
-
Thorkil Naur