Research
A study compares the theory and the known systems of one field with the kernel. It ends with proposals, ranked by value for effort. A study changes no rule. The roadmap takes up each proposal as a row. The studies are in the folder docs/research of the repository.
R1: staging and partial evaluation
Section titled “R1: staging and partial evaluation”The main finding. prepare is a first Futamura projection, written by hand. A harness that proves one meaning comes before a faster tier.
What came of it. The reference interpreter and agree (D15). Compiled paths are next. Read the study.
R2: algebraic effects and the run side
Section titled “R2: algebraic effects and the run side”The main finding. The run side is already a small effect system. A run recorded the payload of each effect, but not its outcome.
What came of it. A mock perform for an evaluation, and the record and replay of effects (D19). Read the study.
R3: attribute grammars and the tree kit
Section titled “R3: attribute grammars and the tree kit”The main finding. Demand evaluation with one memo for each node and attribute is the reference meaning. It needs no schedule.
What came of it. The decorated tree (D16). The page Direction shows it live. Read the study.
R4: incremental computation and schedules
Section titled “R4: incremental computation and schedules”The main finding. The unit of incremental work is a document. An early cutoff needs an equality that is safe for each host value.
What came of it. sameResult (D20). The schedule diagram gets its graph from refsOf. Read the study.
R5: types and abstract interpretation
Section titled “R5: types and abstract interpretation”The main finding. A type check is an abstract interpretation of the plan. The ladder finds the type rule of a kind by name.
What came of it. check knows the names of operations. Value types and value domains are in the kernel (D22). Read the study.
R6: language workbenches and extensibility
Section titled “R6: language workbenches and extensibility”The main finding. coeval is the semantic half of a language workbench, as data. Before the study, a later kind won without a message.
What came of it. One merge with conflict rules (D17), and the composition checklist (D18). The page Composition shows it live. Read the study.
R7: a formal semantics of the kernel
Section titled “R7: a formal semantics of the kernel”The main finding. The kernel is a fold with an open algebra, and a small big-step calculus describes it. Each soundness claim assumes host code that keeps its contract. A compiled evaluator can give a part more capabilities than its document has.
What came of it. The written calculus is a page of the specification: SEMANTICS.md (K90). The narrowing of compiled parts and conformance tests for evaluators are next. A third tier from the functional correspondence comes later. Read the study.
The next work
Section titled “The next work”The section “The order of the next work” of the roadmap gives the order in which the plan takes up the proposals.