Skip to content

Conversation

@charlespwd
Copy link
Contributor

@charlespwd charlespwd commented Dec 2, 2025

Reviewers, please note base branch to PR.

In this PR

  • Remove Environment.error_mode
  • Remove lax_parse, strict_parse + :warn error mode
  • Rename strict2_parse to parse_markup
  • Remove warnings system
  • Setup History.md

@charlespwd charlespwd changed the base branch from main to v6 December 2, 2025 14:41
@charlespwd charlespwd marked this pull request as ready for review December 2, 2025 15:28
Copy link
Contributor

@karreiro karreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR, @charlespwd! Great stuff! I've left some comments that may be applied in follow-up PRs.

Copy link
Contributor

@karreiro karreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes, @charlespwd!

* As tag argument `{% render 'snip', enabled: a or b %}`
* As conditional tag argument `{% if cond %}` (extending previous behaviour)
* (TODO) Add support for subexpression prioritization and associativity
* In ascending order of priority:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is not missing from this list?

Copy link
Contributor Author

@charlespwd charlespwd Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deep pull :D It's not in scope (yet?), but, unlike last time, we wouldn't be held back by lax anymore and the system would leave space for a UnaryExpression node with an operator and an expression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants