Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Creating a PR for this because I think some of these behaviours are wrong.
The ESI spec says...
The condition_lexer will allow those second type of conditions and parse them to Lua.
evaluate_condition also returns non-boolean values for some conditions which seems wrong?
Also some conditions that pass through the lexer result in errors in the evaluator because they are invalid Lua. We should probably try and catch these too.