aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_ocda_peg_ssp.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-30 16:18:59 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-30 23:14:23 -0400
commit993a3f655359f98dc26d3d3222e07792e2ccddf7 (patch)
tree1633a8183b2affec4a2951c8357ab89e9073bd25 /org/out_ocda_peg_ssp.org
parentsearch database: show all included notes (diff)
abstraction 2.1: a poem states its object range
- A poem is a container of verse, and stores its range of verse ocn, - its verse are the citable units with ocn. - A note in the last verse of a poem previously was not gathered into the endnotes section, this now is fixed Format 2.0 -> 2.1: the property is an addition, the poem is not a citable object (but contans a range of objects), its verse are (individual citable objects), and every reader checks the major version. A 2.0 database reads as having no ranges. (assisted by Claude-Code)
Diffstat (limited to 'org/out_ocda_peg_ssp.org')
-rw-r--r--org/out_ocda_peg_ssp.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/org/out_ocda_peg_ssp.org b/org/out_ocda_peg_ssp.org
index 9fda543..7e54845 100644
--- a/org/out_ocda_peg_ssp.org
+++ b/org/out_ocda_peg_ssp.org
@@ -41,6 +41,16 @@ module sisudoc.ocda.abstraction.ssp;
part when a property is added (a reader of the newer format still reads
the older one), the major part when one changes meaning or goes away.
+ 2.1 2026-09-29 .ocn_range, the first and last ocn of what a
+ container holds. A poem is a container of verses and
+ is cited as their range: it now opens its run of
+ verses rather than closing it, carries ocn 0 and no
+ identifier, and states the range. It used to carry
+ the last verse's ocn and identifier, so one number
+ named two objects. A 2.0 reader reads a 2.1 file:
+ the poem was never rendered and has no text, the
+ verses are unchanged, and the property is an
+ addition.
2.0 2026-09-18 source.digest changes meaning: it now covers every
markup file the document is made of, where it was the
sha256 of the master file alone. For a .sst that was
@@ -163,6 +173,11 @@ template sspObjectRecord() {
if (obj.metainfo.last_descendant_ocn != 0) {
output ~= ".last_descendant: " ~ obj.metainfo.last_descendant_ocn.to!string;
}
+ /+ ↓ a container: the first and last ocn of what it holds (2.1) +/
+ if (obj.metainfo.ocn_range_first != 0) {
+ output ~= ".ocn_range: " ~ obj.metainfo.ocn_range_first.to!string
+ ~ " " ~ obj.metainfo.ocn_range_last.to!string;
+ }
/+ ↓ child headings (from pre-computed map) +/
if (obj.metainfo.children_headings.length > 0) {
string[] ch;