Why not take a good, decent scripting language and then build:
- a C/C++ translator
- a command-line tool that "compiles" the script
- a mode that allows auto-compilation in real-time of scripts that have been changed
You could probably start with PHP pages (or whatever) and compile each page into a ".so"
Oh wait... after I wrote that I saw that it's been done.
http://www.phpcompiler.org/
So you *can* have your cake and eat it too.
Sigh, now I need to write a compiler for my favorite language (SMX).
Oct. 2, 2009, 2:39 p.m. - doc
Why not take a good, decent scripting language and then build: - a C/C++ translator - a command-line tool that "compiles" the script - a mode that allows auto-compilation in real-time of scripts that have been changed You could probably start with PHP pages (or whatever) and compile each page into a ".so" Oh wait... after I wrote that I saw that it's been done. http://www.phpcompiler.org/ So you *can* have your cake and eat it too. Sigh, now I need to write a compiler for my favorite language (SMX).