2 ms·
Makes it easy to "try before you buy", too. If you decide it's not for you, you can "step out" and keep the generated C code and go from there.
by actionfromafar 10mo ago
Makes it easy to "try before you buy", too. If you decide it's not for you, you can "step out" and keep the generated C code and go from there.
- morcus 10mo agoVery good point that I never considered! Thanks.
- forgotpwd16 10mo agoThis isn't a very sane plan. The ~300 LOC example mini_grep (https://github.com/z-libs/Zen-C/blob/main/examples/tools/mini_grep.zc https://github.com/z-libs/Zen-C/blob/main/examples/tools/min...) compiles to a ~3.3k LOC monstrosity (https://pastebin.com/raw/6FBSpt1z https://pastebin.com/raw/6FBSpt1z). It's easier to rewrite the whole thing than going from the generated code. At least for now, generated code shouldn't be considered something you're ever supposed to interact with.
- actionfromafar 10mo agoI looked at it primed for the worst by your comment, but it’s honestly not so bad. A lot of setup, data type code and what looks like overloads.