Skip to main content

Phase 15. Datalog / logic

FieldValue
MEPMEP-45 §Phases · Phase 15
StatusNOT STARTED
Started
Landed
Tracking issue
Tracking PR

Gate

Logic fixture suite (~20 cases: ancestors, reachability, magic-set, stratified negation) compiles + runs byte-equal vs vm3 on host triple.

Goal-alignment audit

To be written before sub-phase 15.0 starts. Datalog is a niche feature, but it is in the language and the AOT path must not be the place it stops working. Aligns.

Sub-phases

#ScopeStatusCommitPR
15.0Lower datalog rules to semi-naive evaluation: transpiler3/c/lower/logic.goNOT STARTED
15.1Magic-set transform for goal-directed evaluationNOT STARTED
15.2Stratified negation (sub-phase iff corpus demands)NOT STARTED

Decisions made

Fill in along the way.

Deferred work

Aggregates over recursive rules: v2.

Closeout notes

Fill in after gate green.