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

Tree parser generator #3

Open
luikore opened this issue Feb 25, 2011 · 0 comments
Open

Tree parser generator #3

luikore opened this issue Feb 25, 2011 · 0 comments

Comments

@luikore
Copy link
Owner

luikore commented Feb 25, 2011

For uniform optimization (tree transformation) and compiler crafting.

For example, this rule (API is still under considering) will reduce a nested parser to an optimized one:

tree [Until, [Pattern]] do |parser|
  UntilPattern[parser.some.some]
end
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