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

Write a toAST semantic action #12

Open
nfischer opened this issue Apr 4, 2016 · 0 comments
Open

Write a toAST semantic action #12

nfischer opened this issue Apr 4, 2016 · 0 comments

Comments

@nfischer
Copy link
Owner

nfischer commented Apr 4, 2016

So far, I've been transpiling straight from a CST. This has some nice features, since I can sometimes preserve whitespace and comments, which I think are still significant parts of the code.

But I'd like to eventually publish the grammar in its own module, once it's sufficiently general and stable. When I do this, I'd like to have a toAST operation in the package, that's somewhat similar to https://github.com/vorpaljs/bash-parser.

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

No branches or pull requests

1 participant