My aggregated monorepo of OCaml code, automaintained

Feature: x-ocaml cell modes#

Extend the x-ocaml WebComponent to support exercise, test, hidden, and interactive cell modes — enabling assessment-style worksheets and step-by-step tutorials.

Scope#

  • Exercise cells: editable skeleton code with CodeMirror
  • Test cells: immutable assertions linked to exercises (positional + explicit)
  • Hidden cells: setup code that runs but isn't shown
  • Interactive cells: demo/example code (read-only, visible)
  • Cell dependency ordering and execution within environments
  • Test-to-exercise linking resolution

References#

  • Design — Sections 2, 4
  • Plan — Stream 2 (tasks 2.1–2.6)