3 ms·
I have done something like this and use it for simple tests of my assumptions [1]. This one from OP is more polished I suppose. I must check if it supports (wit
by hawski 12y ago
I have done something like this and use it for simple tests of my assumptions [1]. This one from OP is more polished I suppose. I must check if it supports (with shebang) putting "c-script",in pipeline.
As was already mentioned Fabrice Bellard's tcc is great in this regard. There were similar projects done with LLVM.
What I would really like to have is some kind of compiler or different C preprocessor that would implement modules, such as that building C would be as simple as building Go programs. Price for it I suppose are macros. I think it's possible.
[1] http://hawski.com/ccrun http://hawski.com/ccrun