sipha-diff 2.0.0

Tree diff and comparison utilities for sipha syntax trees
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented0 out of 4 items with examples
  • Size
  • Source code size: 6.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.41 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • sipha-parser/sipha
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • NyalephTheCat

Tree diff and comparison for sipha syntax trees.

Compare two syntax trees by their emitted text (round-trip). Useful for tests (assert formatted output) or refactors (compare before/after).

Grammar tests with S-expressions

Use [assert_parse_eq] or the [assert_parse!] macro to compare a parsed tree against an expected S-expression string (e.g. "(ROOT (EXPR (NUM \"1\")))").