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

lexer options #1

Open
progrium opened this issue May 19, 2015 · 0 comments
Open

lexer options #1

progrium opened this issue May 19, 2015 · 0 comments

Comments

@progrium
Copy link

Based on experience trying to get this to co-exist with a templating syntax (as is with Sigil), it would be nice if there was a method that let you expand with more options since we have a decent little lexer. It would be nice to have options like AllowUnbracketed = false and a way to say only expand within or outside {{ and }} tokens.

The thinking is that this allows you to do full unbracketed parsing outside template blocks, and only unambiguous bracketed expansions inside template blocks. This lets you use variables for template blocks, but doesn't get in the way of variable references of the templating syntax.

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