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

way to parse back the AST into code? #17

Closed
gabrielcsapo opened this issue May 22, 2017 · 1 comment
Closed

way to parse back the AST into code? #17

gabrielcsapo opened this issue May 22, 2017 · 1 comment

Comments

@gabrielcsapo
Copy link

Acornjs (https://github.com/ternjs/acorn#main-parser has the ability to parse and generate given an AST.

Would it be possible given a shell ast to parse it back to the original output? or even better, add the original string to the output object?

@gabrielcsapo
Copy link
Author

@grncdr thoughts?

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