Abstract Syntax Tree for Patching Code and Assessing Code Quality
Python's ast module is fantastic, we use it both to compile Python to Michelson[0], an assembly language for the Tezos blockchain, and Python to JavaScript[1]. However, for refactoring one might want to consider redbaron[2].<p>[0] <a href="https://yourlabs.io/pyratzlabs/pymich" rel="nofollow">https://yourlabs.io/pyratzlabs/pymich</a>
[1] <a href="https://yourlabs.io/oss/ryzom/#javascript" rel="nofollow">https://yourlabs.io/oss/ryzom/#javascript</a>
[2] <a href="https://redbaron.readthedocs.io/en/latest/" rel="nofollow">https://redbaron.readthedocs.io/en/latest/</a>