dreamstack/compiler/ds-parser/CHANGELOG.md

855 B

Changelog

All notable changes to this package will be documented in this file.

[0.6.0] - 2026-03-10

Added

  • Rust-like match patterns: Tuple(Vec<Pattern>), IntLiteral(i64), BoolLiteral(bool) pattern variants
  • Parse tuple patterns: (a, b) ->
  • Parse boolean literal patterns: true -> / false ->
  • Parse integer literal patterns: 42 ->
  • Parse nested constructors: Some(Ok(x)) ->
  • Wildcard _ now correctly parsed as Pattern::Wildcard (was Ident("_"))
  • can_be_pattern() recognizes LParen, True, False as pattern starts
  • 5 new parser tests for match patterns (tuple, int, bool, nested, mixed arms)
  • 12 resilient parsing tests covering all Declaration and Expression variants

Test Coverage

  • 49 tests (was 32 in v0.5.0)

[0.5.0] - 2026-03-09

  • Initial release with full DreamStack language parser