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

Idea: AST tree without changing representation #440

Open
CAD97 opened this issue Feb 20, 2020 · 1 comment
Open

Idea: AST tree without changing representation #440

CAD97 opened this issue Feb 20, 2020 · 1 comment

Comments

@CAD97
Copy link
Contributor

CAD97 commented Feb 20, 2020

It recently hit me that Pest's QueueableToken list is roughly isomorphic to the flat tree that Rowan uses.

That means we can, with no change to the internal representation, provide a typed tree API similar to Rowan's.

@dragostis
Copy link
Contributor

This actually really interesting and something I've though of a while ago. I think it's certainly worth a shot.

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

3 participants