4 ms·
Heck, I have never take a compilers course, but in my first year of my first job I did similar code generation for Java just using sublime text replace-all with
by therealdrag0 4y ago
Heck, I have never take a compilers course, but in my first year of my first job I did similar code generation for Java just using sublime text replace-all with regex and/or python and templatizing strings. It was pretty “naive” and required more manual glue steps than yours I’m sure but it worked well for boilerplate and redundant code.