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

Improve parser errors #4

Open
batiati opened this issue Aug 2, 2022 · 0 comments
Open

Improve parser errors #4

batiati opened this issue Aug 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@batiati
Copy link
Owner

batiati commented Aug 2, 2022

Parser errors are very limited, and they have few test cases.
There are some missing features in parser errors:

  • Closing tags are not checked, you can open a tag with triple-mustaches and close with regular ones {{{invalid}}
  • Define the correct behavior when dealing with triple-mustaches and custom delimiters, for now, any delimiter + { is recognized as a triple-mustache
  • Improve error messages, maybe by printing parser errors on the output writer when rendering in the streamed mode and comptime mode.
@batiati batiati added the enhancement New feature or request label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant