Cling, a c/c++ interpreter

I was looking around for a scripting language for my pet game project and stumbled upon Cling, a llvm / clang based interactive c/c++ interpreter. As Haiku has a really nice native c++ api I thought to give it a spin on Haiku. I managed to get it to compile and mostly work with just few changes. It’s like Apple’s Swift Playground on steroids. As it jit-compiles c++ while you type and can load native libraries, I tried to write a really simple native Haiku app on that and it worked. (Video of it running ) Nice way to try things things while coding. Just wanted to share and hope other Haiku-users might find useful and fun.


Cool, I recall porting UnderC to BeOS years ago… but it’s not maintained anymore anyway.

1 Like