refactor(parser): emit priority spell router as native ir - #6799
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (44)
📒 Files selected for processing (10)
📝 WalkthroughWalkthroughOracle parsing now routes spell, replacement, condition, and die-result semantics through ChangesOracle IR pipeline
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant OracleParser
participant AbilityIr
participant lower_ability_ir
participant AbilityDefinition
OracleParser->>AbilityIr: parse spell or replacement
AbilityIr->>lower_ability_ir: lower effect chain and root transforms
lower_ability_ir->>AbilityDefinition: apply conditions, metadata, and residual policy
OracleParser->>AbilityDefinition: attach eligible die-result branches
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ast-grep (0.45.0)crates/engine/src/parser/oracle_effect/mod.rsast-grep timed out on this file Comment |
Parse changes introduced by this PR✓ No card-parse changes detected. |
Summary
AbilityIrwith ordered root transformsVerification
cargo clippy -p phase-engine --all-targets -- -D warningsb24bc943a3b1…, 99,208,311 bytes)Summary by CodeRabbit