diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-28 22:08:06 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-28 22:08:06 +0200 |
| commit | 723f223690ce6a01124ea5fbd12e1a90ee0ab3f4 (patch) | |
| tree | ec2e4fc1011deaf5de73af547f997740d9861e21 /internal/render | |
| parent | 175aa1343ff04383a5a1a8ba166505933d9be46a (diff) | |
| download | lectio-723f223690ce6a01124ea5fbd12e1a90ee0ab3f4.tar.gz lectio-723f223690ce6a01124ea5fbd12e1a90ee0ab3f4.zip | |
cmd/clectio-gen: generator for the tiny C build; bible.LookupKeyed
clectio (~/git/projects/clectio) is a tiny suckless-C daily-readings build
that compiles the calendar, citations and scripture text in. clectio-gen is
its data compiler: it reuses this engine to compute, for a year range, each
day's name/colour/readings and emits corpus-independent C tables plus the
verse KEYS, so the C side is a dumb lookup and the hard liturgical logic
stays here (oracle-validated).
- bible.LookupKeyed(version, ref) returns each resolved verse's
(book, chapter, verse) key, mirroring Lookup's splitting/versification.
clectio-gen uses it to record the exact pericopes a lectionary cites.
- Verified: clectio's output is byte-identical to lectio's readings, day
names 157/157 over a 3-year sample.
Diffstat (limited to 'internal/render')
0 files changed, 0 insertions, 0 deletions
