I am on osx. I found this http://neugierig.org/software/c-repl/ but the links on that page for code seem to be broken.
Seems like the code of c-repl can now be found at a Github repository. It seems to be a dead project, though (last commit was 3 years ago), so I'd suggest looking into alternatives as well: