Cling : C++ REPL using Clang and LLVM
root.cern.ch
root.cern.ch
I wonder if it'd be possible to compile Clang and Emscripten with Emscripten and make an (albeit slow) in-browser REPL for C.
I'm a scrub to C and it'd really bum me out if I find out about an interpreter to play with just in time for it to no longer be viable.
From their own site, one of the main goals of Cling is to be backward compatible with CINT. This will also mean propagating CINT's numerous idiosyncracies, reducing Cling's scope considerably.
Nice to see CINT evolving and using clang for better conformance (and performance, presumably), and hopefully this will free some time that was being spent on CINT but if you find yourself using this more than once for physics analysis, do yourself a favor and try python instead.
The other thing to consider is that C is not really designed for use in a REPL. I personally use it more than any other language, but I don't personally feel that I would get much more out of it if I had a C REPL.
Having said that, C has no realtime features, and there are a lot of interesting potential applications if you have the ability to eval C code at runtime.