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

Propagate :locals down the parse tree #55

Open
mkremins opened this issue Dec 10, 2014 · 1 comment
Open

Propagate :locals down the parse tree #55

mkremins opened this issue Dec 10, 2014 · 1 comment

Comments

@mkremins
Copy link
Owner

Rather than determining locals by walking up the tree from a particular loc like we do right now, it might make more sense to populate :locals on each parse tree node, starting at the top of the tree with an empty set and introducing new locals as binding nodes are encountered.

Like the annotation of :head? nodes, this task would probably be performed during the render phase.

@mkremins
Copy link
Owner Author

mkremins commented Feb 2, 2015

This is probably a prerequisite for #21.

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