Its not bad but personally I would go for pre-compilation to a byte-code format, its usually far more efficient even if it does have the compile-time penalty.
If you do want to go down that route then you may want to take a peak at the source code for an old scripting language I made called MicroC. Its not as efficient as it could be but its a good example of byte-code compilation.
http://www.binaryphoenix.com/index.php?action=viewproject&pid=11
If you do want to go down that route then you may want to take a peak at the source code for an old scripting language I made called MicroC. Its not as efficient as it could be but its a good example of byte-code compilation.
http://www.binaryphoenix.com/index.php?action=viewproject&pid=11