Why not use vlang?
I wanted to do the same thing to python. So wrote a parser for a variant of python.
It's spy-ast on pypi