We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@sebastienros is there any cycle detection mechanism in parlot?
example code which will break your app:
var loop = Deferred<string>(); loop.Parser = loop; var test = loop.Parse("hello parlot");
or
var loop = Recursive<string>(c => c); var test = loop.Parse("hello parlot");
I would expect this will detect infinite loop and return null instead of crashing.
The text was updated successfully, but these errors were encountered:
We could do something similar to what we did in Fluid
https://github.com/sebastienros/fluid/blob/436d5ba33c9aabb8c7dfbdd977c234e473475dec/Fluid/TemplateContext.cs#L153-L161
Sorry, something went wrong.
No branches or pull requests
@sebastienros is there any cycle detection mechanism in parlot?
example code which will break your app:
or
I would expect this will detect infinite loop and return null instead of crashing.
The text was updated successfully, but these errors were encountered: