I have a python script that generates a lot of template code in C ++. The approach I took does if itβs hard to maintain things like the right indentation while it spits out the code. Obviously, my main problem is creating the right code that compiles and does what it should do, but it would be nice if it were also user friendly and easy on the eye.
I suggest directing the output of my generator to a code decoder. This should ultimately happen on an automated build server, so ideally I want to use a python module that I can easily use.
I know that there are many solutions other than python to solve this problem, but python is what I really need and I would rather not write it myself.
c ++ python beautifier
Downward facing god
source share