Virtual machine for scripting,
Members - Reputation: 284
Posted 11 May 2003 - 04:32 PM
Crossbones+ - Reputation: 10720
Posted 11 May 2003 - 04:45 PM
I wouldn't try using registers... what's the point if it's a virtual machine? Plus you've gotta write the compiler to decide when to load registers/etc. I just loaded onto the stack with mine.
Right now I'm using the built-in C# compiler with the .NET framework as a "scripting" language (really it's just runtime compilable pluggable source)... it actually compiles just like normal (but without optimizations).
[edited by - Nypyren on May 11, 2003 11:47:11 PM]