Expand description
Equivalence checking utilities for comparing pattern-rs and gram-hs implementations
§Using gramref CLI for Reference Outputs
The gramref CLI tool can be used to get reference outputs for comparison:
# Get reference output (value only, canonical format)
echo '(node1)' | gramref parse --format json --value-only --canonicalSee gramref CLI Testing Guide for comprehensive usage examples and integration patterns.
Structs§
- Difference
- A single difference found during equivalence checking
- Equivalence
Options - Options for equivalence checking
- Equivalence
Result - Result of an equivalence check between pattern-rs and gram-hs implementations
- Test
Case - Test case structure (placeholder - will match test-sync-format.md from feature 002)
- Test
Case Input - Test case input (placeholder)
- Test
Case Output - Test case output (placeholder)
Enums§
- Comparison
Method - Method used for equivalence comparison
Functions§
- check_
equivalence - Check equivalence between pattern-rs and gram-hs outputs
- check_
equivalence_ from_ test_ data - Check equivalence using extracted test data from gram-hs