3 ms·
I was just reading about C interpreters recently. Tcc (properly a compiler) allows you to script in C (you can put the tcc binary in a shebang followed by -run)
by telemachos 17y ago
I was just reading about C interpreters recently. Tcc (properly a compiler) allows you to script in C (you can put the tcc binary in a shebang followed by -run). There's also Ch, which describes itself as "an embeddable C/C++ interpreter for cross-platform scripting, shell programming, 2D/3D plotting, numerical computing, quick animation, and embedded scripting."
(Nothing to do with your larger point. I just had these otherwise useless facts to hand.)
http://bellard.org/tcc/ http://bellard.org/tcc/
http://www.softintegration.com/ http://www.softintegration.com/ (ch)
http://stackoverflow.com/questions/584714/is-there-an-interpreter-for-c http://stackoverflow.com/questions/584714/is-there-an-interp...
- vorador 17y agoActually, tcc -run compiles the code on the fly.