Running BCC with cached sources...

BlitzMax Forums/BlitzMax Programming/Running BCC with cached sources...

bregors(Posted 2006) [#1]
.


bregors(Posted 2006) [#2]
.


grable(Posted 2006) [#3]
BlitzMax cant do this directly, but you can use something like TCC/LIBTCC http://www.tinycc.org to compile C/ASM at runtime & execute it.


bregors(Posted 2006) [#4]
.


grable(Posted 2006) [#5]
Do you need the full BlitzMax language?

If its for scripting feks, i would make a compiler for a subset of BlitzMax and generate code for an interpreter. You get pretty good sandboxing by running in a virtual machine.

btw, you could just as well generate x86 ASM or even C if speed is your thing.


bregors(Posted 2006) [#6]
.