Is there an Interpreter for C?

Asked

Viewed 1,138 times

1

I would like to test small chunks of C code in the same way I can with Python, opening the terminal and testing command by command, this would be possible with c? inserir a descrição da imagem aqui

  • I already tested the Crash. I recommend it for being based on the Clang, which is more intelligent in diagnosis, able to offer error messages simpler than one based on gcc.

2 answers

5


2

I found the Picoc

  1. Click on the link and download the installation files
  2. Open in a folder and type in make | make test terminal
  3. Execute Picoc by passing parameter -i, thus . /picoc -i

inserir a descrição da imagem aqui you can run multiple programs interactively

 picoc myprog1.c myprog2.c myprog3.c

If you like to program with vim using Tmux or something like that, you can develop your program in one window and see the result in another in "real time"

Browser other questions tagged

You are not signed in. Login or sign up in order to post.