Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zanellia
· 5y ago · 0 comments
Pretty cool! How do you manage multiple target languages with a single AST parser? Do you use an intermediate AST?
Comments
[–]
adsharma
5y ago
No intermediate AST. To understand the various stages of transpilation and separation of language specific and independent rewriters, this file is a good starting point:
https://github.com/adsharma/py2many/blob/main/py2many/cli.py...
[–]
pure_simplicity
5y ago
That's a good question to put in the discussion tab on their GitHub repo, that way others that are interested can find it too :)