Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add helper functions to construct Common.AST #52

Open
MarisaKirisame opened this issue Sep 18, 2019 · 0 comments
Open

Comments

@MarisaKirisame
Copy link

I am trying to compile a DSL into python, and I found using this easier than manipulating string or doc myself. However, it is still very cumbersome with all those annotation flying around (when I construct the AST, I want anno to be ()).
Another problem is, there is an expr_literal field in Float/Int, and it is the field that guide the pretty print (instead of the literal value). so this make it harder to generate floating point literal in python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant