Is there any Interpreter for C?

1

I would like to test small C code snippets in the same way I can do with Python, opening the terminal and testing command-by-command, would this be possible with c?

    
asked by anonymous 26.02.2015 / 06:17

2 answers

5

There are several you can use the GDB as shell interactive , another debug that can be used as an interactive shell is UPS .

In addition to Picoc already quoted by you too, I can quote

26.02.2015 / 12:29
2

I found Picoc

  • Click the link and download the installation files
  • Open in a folder and type in the make | make test
  • Run Picoc by passing -i parameter, so ./picoc -i
  • youcanrunmultipleprogramsinteractively

    picocmyprog1.cmyprog2.cmyprog3.c

    IfyouliketoprogramwithvimusingTmuxorsomethingofthesort,youcandevelopyourprograminonewindowandseetheresultinanotherin"real time"

        
    26.02.2015 / 06:17