yapgen icon indicating copy to clipboard operation
yapgen copied to clipboard

Using 'cont' for preprocess files generate code bloat ?

Open mingodad opened this issue 3 years ago • 8 comments

It's interesting your idea of using the preprocessor cont but looking at the generated files they have a full copy of almost everything and using inline for not so small functions (although the compiler can decide not to inline) doesn't it generate more code than needed ?

I like the idea of a parser and grammar interpreter to rapid prototype and also the possibility of using Lua for the actions while prototyping. I'm collecting grammars here https://github.com/mingodad/plgh and I found this tool https://www.bottlecaps.de/rr/ui fantastic to help visualize the grammar, there is any plan to add an option to output the grammar in EBNF format compatible to visualize the grammar ?

Thanks for your great work ?

mingodad avatar Apr 02 '21 12:04 mingodad