3 ms·
Sure, andsomeone, somewhere has probably written a C interpreter. If a language is overwhelmingly used in a particular manner I think it's fair to consider it a
by JeremyBanks 17y ago
Sure, andsomeone, somewhere has probably written a C interpreter. If a language is overwhelmingly used in a particular manner I think it's fair to consider it a compiled/interpreted/whatever language even if that's not actually the case 100% of the time.
- telemachos 17y agoI 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.