The C Interpreter: A Tutorial for Cin (1988)
tuhs.org
tuhs.org
Not so much for interactive stuff, but if I'm building little PoCs for an idea that will get dropped into a C project, or fiddling with structs work out how something should/is being stored, or in situations where I'm making stuff that interacts with or examples based on C code and I want to use the same parts as in the real code, etc.
Having an interpreter to poke at in-development code, though, would IMO still be useful. (I wouldn’t use Haskell or SML/OCaml for scripting either, and yet I swear by their interpreters.) Even GDB has something like one—the expression fragment the “print” command understands includes casts, which means it can parse type names, and for unoptimized C that’s honestly half the battle.
Or take it from (younger) Russ Cox[2]:
> All current C environments suffer from a much larger problem, namely a lack of interactivity. You can’t sit at a prompt, enter C fragments, and see what happens.
[1] http://yosefk.com/blog/i-cant-believe-im-praising-tcl.html
https://root.cern.ch/root/html534/guides/users-guide/CINT.ht...
[1] https://news.ycombinator.com/item?id=11748147
Wikipedia seems to imply that it was separated out from LPmud's built-in 'C interpreter' which sounds about right.