Cello: Higher Level Programming in C(github.com)
github.com
Cello: Higher Level Programming in C
https://github.com/orangeduck/Cello
6 comments
for me this takes the fun out of C, however, it's pretty cool project full of neat tricks to learn form if you want to know what C can do or how to implement certain high level constructs in your own projects. good job!
Now this looks like an assortment of terrible hacks that I'd never want to use.
Good job though.
Good job though.
Very impressive! Especially the fact that it only uses macros (if I parse the website correctly).
It's not just macros. See the src directory https://github.com/orangeduck/Cello/tree/master/src
Ye. C++ used a preprocessor in it's early days.
Edit: I like this: "#define in ," to make "foreach(a in b)" loops.
Edit: I like this: "#define in ," to make "foreach(a in b)" loops.
I'll definitely look into this!