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

Parser state in filters #32

Open
TheLartians opened this issue Apr 12, 2019 · 0 comments
Open

Parser state in filters #32

TheLartians opened this issue Apr 12, 2019 · 0 comments

Comments

@TheLartians
Copy link
Owner

TheLartians commented Apr 12, 2019

Currently, filters only capture an external state and are therefore not thread-safe and is not also not reset on syntax errors. Adding an internal state variable that is unique to the current parsing process would resolve this. The difficulty lies in finding a type-safe way to implement this.

@TheLartians TheLartians changed the title Thread-safe filters Inner parser state Apr 12, 2019
@TheLartians TheLartians changed the title Inner parser state Parser state in filters Apr 12, 2019
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