PEGParser
PEGParser copied to clipboard
Parser state in filters
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.