You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(isc): deep equivalence verification + code quality + decompose/compose support
Deep equivalence harness:
- Add verify_isc_deep that compares rule counts, metadata, tests,
aliases, and stages between .imp (Ruby DSL) and .isc (ISC parser)
- Reports 274/289 equivalent, 2 IMP-fail (ISC-only), 13 cosmetic differ
DocumentBuilder fixes:
- Properly extract notes values from Parslet tree (was returning raw hashes)
- Add normalize_heredoc to strip per-line indentation from description
and generic field blocks, matching DSL YAML heredoc behavior
- Add filter_noop to remove phantom rules from empty parallel/sequence
blocks that contain only comments
- Handle field_block in generic field extraction
Grammar fixes:
- compose_directive accepts both "compose" and legacy "decompose"
- remove_decompose keyword from codemod directive list
Code quality:
- Remove internal require calls from parser.rb, transform.rb,
document_builder.rb — autoload chain in lib/interscript/isc.rb
and grammar.rb handles lazy loading
0 commit comments