Phase 3: Remove Hardcoded DtRobust System
Part of Epic #247
Objective
Remove all hardcoded DtRobust logic from the compiler IR, making it operator-agnostic and letting the standard library be authoritative.
Tasks
Remove Type Definitions
Remove Hardcoded Parsing
Remove Execution Logic
Update Related Code
Validation
Files to Modify
crates/kernels/ir/src/types.rs
crates/kernels/ir/src/expressions.rs
crates/kernels/ir/src/ssa/types.rs
crates/kernels/ir/src/lower/expr.rs
crates/kernels/ir/src/vectorized/mod.rs
crates/kernels/ir/src/codegen.rs
- Various test files
Success Criteria
Dependencies
- Requires Phase 2 (complete stdlib implementation)
Breaking Changes
DtRobustOperator and related types removed from public API
- DSL must use
kernel. prefix for dt-robust functions
Estimated Time: 1 week
Phase 3: Remove Hardcoded DtRobust System
Part of Epic #247
Objective
Remove all hardcoded DtRobust logic from the compiler IR, making it operator-agnostic and letting the standard library be authoritative.
Tasks
Remove Type Definitions
DtRobustOperatorenum from types.rsIntegrationMethodenum from types.rsDtRobustCallvariant fromCompiledExprDtRobustCallfromSsaInstructionRemove Hardcoded Parsing
parse_dt_robust_operator()function from lower/expr.rsdt_robust_operator_name()in codegen.rs (or remove entirely)Remove Execution Logic
execute_dt_robust()from vectorized/mod.rsUpdate Related Code
Validation
Files to Modify
crates/kernels/ir/src/types.rscrates/kernels/ir/src/expressions.rscrates/kernels/ir/src/ssa/types.rscrates/kernels/ir/src/lower/expr.rscrates/kernels/ir/src/vectorized/mod.rscrates/kernels/ir/src/codegen.rsSuccess Criteria
Dependencies
Breaking Changes
DtRobustOperatorand related types removed from public APIkernel.prefix for dt-robust functionsEstimated Time: 1 week