On 13.05.2016 15:59, Don Clugston wrote:
All that's needed is a very simple bytecode interpreter.
Here is the one I have hacked together: https://github.com/tgehr/d-compiler/blob/master/interpret.dThis file does both constant folding and byte-code interpretation for most of the language. I still need to implement exception handling.
I'll let you know when it passes interpret3.d. :)