HolonCode-KIT is a literate-programming editor written in Tcl/Tk. It stores a
program as a book: a structure of chapters, sections, and units (pages).
Each unit holds one proc or code block. WriteAllChapters regenerates the
.tcl source files from the book on every save.
HolonCode-KIT is open for use under GPLv3.
Tcl/Tk 8.6 or later (9.x recommended). No external packages are required for
the editor itself; the .hdb converter additionally needs Mk4tcl.
Download Tcl/Tk: https://www.tcl.tk/software/tcltk/
Each project has a .command launcher. Pass the book file as argument:
tclsh holoncode/holoncode.tcl MyProject.kit
Or use the provided .command files:
HolonS/holons.command— opens the HolonCode master bookHolonTF/HolonTF.command— opens the TclForth projectProject/Project.command— ready-to-use blank project
- HolonS — the HolonCode kernel as a Holon book; regenerates
the source in
holoncode/ - HolonTF — a Holon application project that produces TclForth
- Project — a blank project template, ready to use
- holoncode/ — the HolonCode kernel source (canonical copy)
Books are stored as HolonKit files (.kit): the whole book held in
memory and dumped to one file (see holoncode/kitio.tcl and
HOST86/HOLONKIT.md). It carries four parts — base (config), pages
(chapters/sections/units), archive (revision history), and oldpages (saved
versions). The legacy .hdb (Metakit) books are kept alongside for reference.
convert_db_to_kit.tcl— converts a SQLite.dbbook to.kitconvert_hdb_to_kit.tcl— converts a legacy Metakit.hdbbook straight to.kit(needsMk4tcl)kit_tool.tcl— inspect/edit a.kitbook from the shellmigrate_book_to_kit.tcl— kernel-book migration helper (template for structural book edits)