Is it possible to build a interactive C shell?

Mino Yarre picture Mino Yarre · Sep 23, 2010 · Viewed 9.5k times · Source

I'm just wondering if this is possible using either (Python, Java or C)? I'm looking for something like IPython for Python.

Answer

Eli Bendersky picture Eli Bendersky · Sep 23, 2010

Yes, and such things already exist, you just have to google for them :-)

  • Ch is one popular example
  • CINT is another

That said, actually developing a functional interpreter like this from scratch is much more difficult than finding one online. So now it depends on what's behind your question - do you want just an interpreter to use? Then pick one of the linked above. Do you want to develop such an interpreter? Well, then start reading.