picoc

Lightweight C interpreter for scripting and embedded applications

brewmacoslinux
Try with needOr install directly
Source

About

C interpreter for scripting

Commands

picoc

Examples

Run a C script file directly$ picoc script.c
Execute C code interactively in the REPL$ picoc
Run a C program with command-line arguments$ picoc program.c arg1 arg2