Show HN: Ced – C REPL in 50 lines of POSIX shell

codeberg.org

4 points by archargelod 2 days ago

Yesterday, I found myself writing a little C throwaway script to test something out. That happens often enough to clutter my HOME and some other directories with these useless text files and binaries.

So I thought that I can use a repl instead. Quick google search didn't find any good and tested solutions. So I wrote my own with help of a tcc compiler. Why POSIX Shell? Because it would be far too easy in a normal language (it'd probably take me ~10 minutes to rewrite this in Nim) and where is fun in that?