Skip to content

Release 2022.05.1

Compare
Choose a tag to compare
@foonathan foonathan released this 13 Jul 11:07
· 173 commits to main since this release
  • Change dsl::scan: it will now be invoked with the previously produced values.
  • Add dsl::parse_as to ensure that a rule always produces a value (e.g. when combined with the dsl::scan change above).
  • Add lexy::lexeme_input to support multi-pass parsing.
  • Turn dsl::terminator(term)(branch) into a branch rule, as opposed to being a plain rule (#74).
  • Add dsl::ignore_trailing_sep() separator.
  • Add lexy::bounded<T, Max> for bounded integer parsing (#72).
  • Add dsl::code_unit_id rule.
  • Turn lexy::forward<void> into a sink.
  • Support references in lexy::parse_result and lexy::scan_result
  • Fix bug that prevented lexy::parse with a root production whose value is void.
  • Fix bug that caused infinite template instantiations for recursive scans.
  • Fix bug that didn't skip whitespace in lexy::scanner for token productions.