DoctorLove wrote:Well, im doing it all with
http://www.oxygenbasic.org/
Its a simple DLL which compiles and execute basic code on the fly.
The language is Mature and basic to learn.
MAC osx and Linux are in the making.
Im sold to it.
That really looks awesome, nice clear syntax, I'm going to look into that more!
However, considering this is a compiler, does it also include the possibility to
assemble its supported code to a buffer that can be executed like with the
fASM dll does above? I bookmarked it, interesting, thanks!
edit
Yes a byte-code interpreter might be an option, however if I'd (for example) were
to extend Lua with a function that allows for allocation and execution of blocks of
assembly code (machine code), that would be cool because Lua is already an
interpreted language that precompiles to bytecode.
Bytecode would mean I'd have to develop an engine with fixed functionality, fASM
provides me with an option to simply execute code without having to develop
additional stuff. The Lua and does the work before the assembly is made, e.g. obtain
a pointer to a function and do some nice stuff with it.