DAC

DAC — Literate Programming Tool Revival
Login

DAC — Literate Programming Tool Revival

DAC is a small, dependency-light literate programming tool that extracts (“tangles”) named code chunks and renders (“weaves”) source documents.

Revival status

This repository is in investigation and stabilization. The canonical Tcl tangler and historical Perl draft pass their original nested-expansion tests. The Tcl core also has focused coverage for final source lines without trailing newlines and standalone weave terminators. The repaired dac-hfd.tcl is retained under D-008 as an experimental workflow incubator. Its test/green paths are characterized previews; no HFD command is currently a stable supported interface.

Current implementations

Verified commands

prove -v
tclsh dac.test
tclsh dac-hfd.test
tclsh dac-hfd-components.test
./dac.tcl -t -R day01.py day01.dac

Known risks

Recursive chunk cycles now have application-level detection under D-007. Malformed/unterminated inputs lack declared diagnostics. An automated derivative reproducibility gate remains to be implemented. See STATUS.md and COMPATIBILITY.md.

Governance

Agent behavior is canonical in AGENTS.md. Architecture is canonical in ARCHITECTURE.md. Semantic governance is canonical in SPEECHACT.md. Any meaningful behavior or architecture change must update relevant documentation in the same unit of work.