Kinda C Interpreter
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

kci - Kinda C Interpreter

kci is a wrapper for C compiler on your Unix system, which behaves like an interpreter.

Run as it is:

$ python

Or install:

$ sudo cp /usr/bin/kci


kci 1> #define five 5

kci 2> int high_five(void) {
... 2>     printf("hi, %i!", five);
... 2> }

kci 3> high_five()
/tmp/kci.c:25: error: expected ‘;’ before ‘}’ token
kci 4> //oops

kci 5> high_five();
hi, 5!