dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation
git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.gitlet
s :: String -> String -> [Inline]
s annotation sentence = [text (sentence ++ " ")]
sx :: String -> [Inline] -> [Inline]
sx annotation inlines = inlines ++ [text " "]
stepThen :: String -> String -> String -> String -> Content ()
stepThen stepAnnotation stepSentence resultAnnotation resultSentence = paragraph (s stepAnnotation stepSentence ++ s resultAnnotation resultSentence)
recover :: String -> String -> Content ()
recover annotation sentence = paragraph (s annotation sentence)
c :: String -> [Inline]
c code = [inlineCode Nothing code]
t :: String -> [Inline]
t phrase = [text phrase]
codes :: [[[Inline]]] -> Content ()
codes = table [t "Code", t "Meaning", t "English cues", t "Example", t "Reading"]
code :: String -> String -> String -> String -> String -> [[Inline]]
code name meaning cues example reading = [c name, t meaning, t cues, t example, c reading]
pairTable :: String -> String -> String -> String -> String -> String -> Content ()
pairTable question bad badReading good goodReading why = table [t "Side", t ("Question: " ++ question), t "Reading"] [[t "Bad", t bad, c badReading], [t "Good", t good, c goodReading], [t "Why", t why, t ""]]
in do
title [text "dreamstop: a user manual for continuous disambiguation"]
section (Identifier "About this manual") [text "About this manual"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "This manual is for people and agents who work on OpenFP documentation." ++ s "[ASR·HAB]" "It teaches dreamstop, a language for continuous disambiguation." ++ s "[ASR·HAB]" "It covers the codes, the semantics, the verdicts, the questions, the document rules and the minimal pairs.")
paragraph (s "[ASR·HAB]" "The manual follows the dreamstop specification, version 2." ++ s "[ASR·PRG]" "The dreamstop Haskell package is being built in the dreamstop/dreamstop repository." ++ s "[ASR·HAB·NEG]" "No step in this manual uses that package.")
paragraph (sx "[ASR·HAB] [ASR·HAB]" [text "The sections from ", reference (Identifier "The one property"), text " to ", reference (Identifier "Roles"), text " introduce the language in the order a reader needs it."] ++ sx "[ASR·HAB]" [text "The sections from ", reference (Identifier "Annotating a sentence"), text " to ", reference (Identifier "Reviewing with dreamstop"), text " are procedures."] ++ sx "[ASR·HAB]" [reference (Identifier "Reference table"), text " and the ", reference (Identifier "Glossary"), text " collect the codes and the terms."])
paragraph (s "[ASR·HAB]" "Readings appear in monospace, as in [ASR·HAB]." ++ s "[ASR·HAB] [ASR·HAB]" "A pair table gives its question in its heading, its bad side, its good side and the reason the good side settles the question." ++ s "[ASR·HAB] [ASR·HAB]" "Every sentence of this manual carries a dreamstop reading under the Manual rules, and the source keeps each reading beside its sentence." ++ s "[ASR·HAB] [ASR·HAB]" "A quoted example counts as content of the sentence that quotes it.")
section (Identifier "The one property") [text "The one property"] $ do
paragraph (s "[ASR·HAB]" "dreamstop secures one property." ++ s "[ASR·HAB] [ASR·HAB]" "Every question that a reader is entitled to ask of a document has exactly one answer.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "A document fails this property in two ways, and the two are one failure." ++ s "[ASR·HAB]" "Ambiguity of reading is a sentence with several meanings." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Ambiguity by omission is a clear text that fits several situations that matter to the reader.")
table [t "Failure", t "Example", t "What it leaves open"]
[ [t "Ambiguity of reading", t "Added the review store, which moved reviews out of SQLite.", t "whether the move is a one-off import or what the store does"]
, [t "Ambiguity by omission", t "Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0.", t "whether operators must do anything"]
]
paragraph (s "[ASR·HAB]" "Readers make both failures visible by annotating each clause with codes." ++ s "[ASR·HAB] [ASR·HAB]" "A program then computes, from the readings alone, how many answers each question has." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Zero answers is nonsense or contradiction, one answer is resolved, and several answers are ambiguous." ++ s "[ASR·HAB] [ASR·HAB]" "A document passes when every question in its kind's set is resolved.")
paragraph (s "[ASR·HAB]" "Continuous disambiguation applies this test at every review." ++ s "[ASR·HAB]" "A wrong reading of a ChangeLog entry costs an incident after a release." ++ s "[ASR·HAB]" "The same reading costs one rewrite at review.")
section (Identifier "Clauses and segmentation") [text "Clauses and segmentation"] $ do
paragraph (s "[ASR·HAB]" "A reading of a sentence is a non-empty list of clauses, in order." ++ s "[ASR·HAB]" "A sentence with several meanings has several readings.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "A clause is one finite verb group with everything it governs." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Five rules settle where clauses begin and end.")
ordered
[ paragraph (s "[ASR·HAB]" "A finite verb group is a finite verb with its auxiliaries and modals." ++ s "[ASR·HAB]" "An imperative is finite.")
, paragraph (s "[ASR·HAB]" "Every finite verb group starts a clause, including in relative, reduced relative, temporal and conditional clauses.")
, paragraph (s "[ASR·HAB·NEG]" "Infinitives, participles and verbless adjuncts are not clauses." ++ s "[ASR·HAB] [ASR·HAB]" "They belong to the clause that contains them.")
, paragraph (s "[ASR·HAB]" "Coordinated finite verbs are separate clauses, even with one shared subject.")
, paragraph (s "[ASR·HAB]" "Clauses are ordered by the position of their finite verb in the text.")
]
table [t "Sentence", t "Finite verb groups", t "Clauses"]
[ [t "The store removes the table and adds a log.", t "removes, adds", t "2"]
, [t "Keep the guard armed until the import has finished.", t "Keep, has finished", t "2"]
, [t "Set metering.vx to raise the fuel default.", t "Set", t "1"]
, [t "The children the forge spawns inherit its lock.", t "spawns, inherit", t "2"]
]
paragraph (s "[ASR·HAB]" "Finiteness is a syntactic test." ++ s "[ASR·HAB] [ASR·HAB·NEG]" "Two readers apply it the same way, so segmentation involves no judgement about meaning." ++ s "[ASR·HAB] [ASR·HAB]" "A subordinate clause takes ASR unless it is itself a command, a question or a warning.")
section (Identifier "Codes and their order") [text "Codes and their order"] $ do
paragraph (s "[ASR·HAB]" "Every clause has ten slots." ++ s "[ASR·HAB]" "Force and aspect always have a value." ++ s "[ASR·HAB]" "Mood has the default FAC." ++ s "[ASR·HAB]" "Phase, the two negations, the modal, bound and evidence are optional." ++ s "[ASR·HAB]" "A role sits beside the slots.")
paragraph (s "[ASR·HAB]" "Each code has three letters." ++ s "[ASR·HAB]" "A clause renders as its codes joined by a middle dot inside square brackets, in this fixed order.")
codeBlock (Language "text") "Force · Mood · Aspect · Phase · NEG · Ground · Strength · NEG · Bound · Evidence"
paragraph (s "[ASR·HAB]" "The block above is a template, not a reading." ++ s "[ASR·HAB·NEG]" "FAC, absent slots and false negations are not rendered." ++ s "[ASR·HAB]" "A clause with no modal has one negation position, after phase." ++ s "[ASR·HAB]" "A role renders after the brackets.")
codeBlock (Language "text") "[ASR·HAB·CSS]\n[ASR·HAB·DEO·NEC] obligation-holder operators\n[ASR·PFV] release-action [ASR·HAB·INC]\n[ASR·PFV] or [ASR·HAB]"
paragraph (s "[ASR·HAB]" "The block above holds four example readings, one per line." ++ s "[ASR·HAB]" "The third reading has two clauses." ++ s "[ASR·HAB]" "The fourth line joins two readings of one ambiguous sentence with or.")
paragraph (s "[ASR·HAB]" "The fixed order makes equal meanings print equally." ++ sx "[ASR·HAB] [ASR·HAB] [ASR·HAB]" [text "Aspect prints beside force, although it applies first, as ", reference (Identifier "Semantics and laws"), text " explains."])
section (Identifier "Force") [text "Force"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "Force says what the speaker does with the clause." ++ s "[ASR·HAB]" "Every clause has exactly one force.")
codes
[ code "ASR" "assertive: states that p" "declarative sentence" "The shell no longer accepts unsigned commands." "[ASR·HAB·CSS]"
, code "DIR" "directive: tells the reader to do something" "imperative" "Upgrade nixlab-shell." "[DIR·PFV]"
, code "IRG" "interrogative: asks which alternative holds" "question mark, inversion" "Does healthz answer?" "[IRG·HAB]"
, code "DEC" "declarative: the utterance makes it so" "this release deprecates, is hereby" "This release deprecates oldApi." "[DEC·PFV]"
, code "ADM" "admonitive: warns of a risk" "do not, never, be careful, with a hazard" "Do not run this against production." "[ADM·PFV·NEG]"
, code "CMS" "commissive: commits the author to a future act" "will with the author as agent, is scheduled for" "oldApi will be removed in 0.25." "[CMS·PFV]"
]
paragraph (s "[ASR·HAB]" "Each force is answered differently." ++ s "[ASR·HAB] [ASR·HAB]" "An assertion is true or false, and a directive is complied with." ++ s "[ASR·HAB] [ASR·HAB]" "A question is answered, and a declaration takes effect by being said." ++ s "[ASR·HAB] [ASR·HAB]" "A warning names a hazard, and a commitment is kept or broken.")
paragraph (s "[ASR·HAB]" "Aspect applies under every force." ++ s "[ASR·HAB]" "Upgrade X, read as [DIR·PFV], and Upgraded X, read as [ASR·PFV], differ in force alone.")
paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Records state what is true of the software, so their reader checks them." ++ s "[ASR·HAB·NEG]" "A command or a question is not true or false." ++ sx "[ASR·HAB] [ASR·HAB]" [text "Each document kind therefore allows only some forces, as ", reference (Identifier "Document rules"), text " sets out."])
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for force is in the corpus yet.")
section (Identifier "Mood") [text "Mood"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "Mood says whether the clause is put forward as fact.")
codes
[ code "FAC" "factual, the default, not rendered" "indicative" "The forge restarts the runner." "[ASR·HAB]"
, code "HYP" "hypothetical: considered without commitment" "if we, would, suppose" "If we adopt option B, the forge would restart the runner." "[ASR·HYP·PFV] [ASR·HYP·HAB]"
, code "COU" "counterfactive: known to be false" "would have, had we" "The law would have caught the race." "[ASR·COU·PFV]"
]
paragraph (s "[ASR·HAB]" "Issues and designs weigh options." ++ s "[ASR·HAB] [ASR·HAB]" "An option that a reader takes for a decision misleads that reader." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "ChangeLogs, READMEs and manuals are FAC throughout, because their reader acts on what they say.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for mood is in the corpus yet.")
section (Identifier "Aspect") [text "Aspect"] $ do
paragraph (s "[ASR·HAB]" "Aspect relates the event to the reference time." ++ s "[ASR·HAB]" "Every clause has an aspect.")
codes
[ code "PFV" "perfective: the event as a whole" "simple past, a single imperative act" "Added the review store." "[ASR·PFV]"
, code "PRF" "perfect: it happened and its result holds" "has, have, had with a participle" "When the forge has imported the reviews, back up STATE/reviews/." "[ASR·PRF] [DIR·PFV]"
, code "PRG" "progressive: under way, unfinished" "is …ing, keep" "Keep the guard below armed." "[DIR·PRG]"
, code "HAB" "habitual: what the thing is or regularly does" "simple present, states, generic truths" "An Issue carries issueAssignee." "[ASR·HAB]"
]
paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Aspect decides whether a clause reports an event or describes behaviour." ++ s "[ASR·HAB]" "The commonest failure in the corpus is moved against moves." ++ s "[ASR·HAB]" "States and generic truths take HAB.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "An imperative takes the aspect of the act it asks for." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "A single act is PFV, a standing practice is HAB, and keeping a state is PRG.")
paragraph (s "[ASR·HAB]" "PRG has an imperfective paradox." ++ s "[ASR·HAB] [ASR·PFV]" "“The forge was importing reviews” leaves open whether the import finished.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for aspect is in the corpus yet.")
section (Identifier "Phase") [text "Phase"] $ do
paragraph (s "[ASR·HAB]" "Phase is a change in truth across a reference point." ++ s "[ASR·HAB]" "Each document kind fixes its reference point." ++ s "[ASR·HAB] [ASR·HAB]" "A ChangeLog measures from the release, and an issue measures from the time of writing." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]" "READMEs and manuals have no reference point, so their clauses carry no phase.")
table [t "Code", t "English cue", t "Before p", t "After p", t "Example", t "Reading"]
[ [c "INC", t "now", t "false", t "true", t "Operators must now back up STATE/reviews/.", c "[ASR·HAB·INC·DEO·NEC] obligation-holder operators"]
, [c "CSS", t "no longer", t "true", t "false", t "The shell no longer accepts unsigned commands.", c "[ASR·HAB·CSS]"]
, [c "CNT", t "still", t "true", t "true", t "Compiled code that loops without allocating is still uninterruptible.", c "[ASR·HAB] [ASR·HAB·CNT]"]
, [c "EXP", t "not yet", t "false", t "false, p expected", t "The forge does not use it yet.", c "[ASR·HAB·EXP]"]
]
paragraph (s "[ASR·HAB] [ASR·HAB]" "The ChangeLog question about what behaves differently asks about truth on either side of a release." ++ s "[ASR·HAB]" "Phase answers that question directly.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for phase is in the corpus yet.")
section (Identifier "Modality") [text "Modality: Ground and Strength"] $ do
paragraph (s "[ASR·HAB]" "A modal is one Ground and one Strength, written ground first." ++ s "[ASR·HAB] [ASR·HAB]" "The ground says what makes the modal hold." ++ s "[ASR·HAB] [ASR·HAB]" "The strength says in how many of the admitted situations the content holds.")
table [t "Axis", t "Code", t "Meaning", t "Test"]
[ [t "Ground", c "DEO", t "a rule or permission", t "the blame test: doing otherwise is possible but blameworthy"]
, [t "Ground", c "ABL", t "the nature or capacity of the thing", t "the impossibility test: otherwise is not an option"]
, [t "Ground", c "TEL", t "what a named goal requires", t "the goal test: doing otherwise fails the goal, and nobody is to blame"]
, [t "Strength", c "NEC", t "necessary", t "holds in every situation the ground admits"]
, [t "Strength", c "WNC", t "weakly necessary", t "holds in every best situation the ground admits"]
, [t "Strength", c "POS", t "possible", t "holds in some situation the ground admits"]
]
table [t "English", t "Modal", t "Example", t "Reading"]
[ [t "must", c "DEO·NEC", t "Callers must add pageSize = Nothing.", c "[ASR·HAB·DEO·NEC] obligation-holder callers"]
, [t "should", c "DEO·WNC", t "Operators should rotate the token monthly.", c "[ASR·HAB·DEO·WNC] obligation-holder operators"]
, [t "may, of permission", c "DEO·POS", t "Reviewers may record a review while CI runs.", c "[ASR·HAB·DEO·POS] obligation-holder reviewers [ASR·HAB]"]
, [t "can, of ability, and may, of what might happen", c "ABL·POS", t "The spend can vary by a few units.", c "[ASR·HAB·ABL·POS]"]
, [t "inevitably, always by its nature", c "ABL·NEC", t "xs <- … always captures the whole value.", c "[ASR·HAB·ABL·NEC]"]
, [t "to do G, you need", c "TEL·NEC", t "To build the manual you need Typst 0.14.", c "[ASR·HAB·TEL·NEC]"]
, [t "to do G, you ought to", c "TEL·WNC", t "For reproducible timings you should pin the GPU clock.", c "[ASR·HAB·TEL·WNC]"]
]
paragraph (s "[ASR·HAB]" "The three tests are applied in turn to choose a ground." ++ s "[ASR·HAB]" "The blame test picks DEO." ++ s "[ASR·HAB]" "The impossibility test picks ABL." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "The goal test picks TEL, and TEL applies only when the clause names its goal.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "Every DEO clause carries an obligation-holder, whether its strength is NEC, WNC or POS." ++ s "[ASR·HAB] [ASR·HAB]" "A may of permission therefore names the reader it permits." ++ s "[ASR·HAB] [ASR·HAB]" "The test for may is the question of who is permitted." ++ s "[ASR·HAB·NEG] [ASR·HAB]" "A may that permits nobody is ABL·POS." ++ s "[ASR·HAB·NEG] [ASR·HAB]" "“The spend may vary” permits nobody, so it reads as ABL·POS.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "Must rarely says whether a rule or a goal requires the act." ++ s "[ASR·HAB] [ASR·HAB]" "A clause that names no goal is therefore DEO.")
paragraph (s "[ASR·HAB·NEG]" "dreamstop has no alethic ground." ++ s "[ASR·HAB] [ASR·HAB]" "Necessity fixed by how the system works is ABL.")
paragraph (s "[ASR·HAB·NEG]" "Granting a permission to another party is not a modal of its own." ++ s "[ASR·HAB]" "“Guests can be given permission to push” reads as ABL·POS over DEO·POS, with the inner modal as content of the outer clause.")
paragraph (s "[ASR·HAB] [ASR·HAB·NEG]" "Every combination of ground and strength is meaningful, so no reading writes an invalid modal.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for modality is in the corpus yet.")
section (Identifier "Negation") [text "Negation scope"] $ do
paragraph (s "[ASR·HAB]" "NEG before the modal negates the modal." ++ s "[ASR·HAB]" "NEG after the modal negates the content." ++ s "[ASR·HAB]" "The position of NEG in the reading is its scope.")
table [t "Codes", t "Logic", t "English", t "Example", t "Reading"]
[ [c "NEG·DEO·NEC", t "not necessarily p", t "need not", t "Callers need not change their imports.", c "[ASR·HAB·NEG·DEO·NEC] obligation-holder callers"]
, [c "DEO·NEC·NEG", t "necessarily not p", t "must not", t "Agents must not push to main.", c "[ASR·HAB·DEO·NEC·NEG] obligation-holder agents"]
, [c "NEG·ABL·POS", t "not possibly p", t "cannot", t "The tag cannot be moved by a later push.", c "[ASR·HAB·NEG·ABL·POS]"]
, [c "ABL·POS·NEG", t "possibly not p", t "can refrain, can leave unset", t "You can leave pageSize unset.", c "[ASR·HAB·ABL·POS·NEG]"]
]
paragraph (s "[ASR·HAB]" "“Need not” and “must not” differ only in scope." ++ s "[ASR·HAB] [ASR·HAB]" "The first leaves an act optional, and the second forbids it." ++ s "[ASR·HAB·NEG·ABL·POS] [ASR·HAB]" "A single negation slot cannot tell them apart, so dreamstop has two.")
paragraph (s "[ASR·HAB]" "May, in the sense of permission, is DEO·POS." ++ s "[ASR·HAB] [ASR·HAB]" "Its dual form NEG·DEO·NEC·NEG means the same and is rewritten to DEO·POS.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "A clause with no modal has one negation position, and NEG there denies the clause.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for negation scope is in the corpus yet.")
section (Identifier "Bound") [text "Bound"] $ do
codes
[ code "ONE" "happens one time in the program's life, however long it takes" "once, the first time, a one-off" "The store now imports the SQLite review tables once, at its first use." "[ASR·PFV·INC·ONE]"
]
paragraph (s "[ASR·HAB]" "A one-off migration and recurring behaviour call for different action from operators." ++ s "[ASR·HAB] [ASR·HAB]" "ONE excludes HAB, because one time and regularly contradict each other." ++ s "[ASR·HAB]" "Bare HAB already means each occurrence." ++ s "[ASR·HAB]" "Object quantifiers such as each and every are content, not bound.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for bound is in the corpus yet.")
section (Identifier "Evidence") [text "Evidence"] $ do
paragraph (s "[ASR·HAB]" "Evidence states the basis of an assertion." ++ s "[ASR·HAB]" "It appears on ASR clauses with mood FAC only.")
codes
[ code "OBS" "observed or measured directly by the author" "we measured, on our machine" "Startup took 200 ms on an RTX 3060." "[ASR·PFV·OBS]"
, code "PUP" "a verifiable third-party record, such as CI" "in the recorded benchmark, CI shows" "Median startup fell from 800 ms to 200 ms in the recorded benchmark." "[ASR·PFV·PUP]"
, code "RPR" "reported by someone else" "according to, reported in" "Users report that the page loads twice." "[ASR·HAB·RPR] [ASR·HAB]"
, code "INF" "inferred" "so, must be, probably" "The lock is probably inherited." "[ASR·HAB·INF]"
, code "REC" "remembered" "as before, last time" "The import took an hour last time." "[ASR·PFV·REC]"
]
paragraph (s "[ASR·HAB] [ASR·HAB]" "A ChangeLog asks whether any claim is measured." ++ s "[ASR·HAB] [ASR·HAB]" "A claim counts as measured when its evidence is OBS or PUP." ++ s "[ASR·HAB]" "A command or a question has no basis to state." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]" "A hypothetical or counterfactual clause commits to nothing, so it has nothing to back.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for evidence is in the corpus yet.")
section (Identifier "Roles") [text "Roles"] $ do
paragraph (s "[ASR·HAB]" "A role records a fact about a clause's place in the document." ++ s "[ASR·HAB·NEG]" "No code carries that fact." ++ s "[ASR·HAB]" "Each clause has at most one role.")
table [t "Role", t "Meaning", t "Used by", t "Fits"]
[ [c "step", t "a thing the reader does, in order", t "manual, README task instructions", t "DIR clauses only"]
, [c "precondition", t "a state that holds before a step", t "manual", t "ASR or IRG clauses with PRF or HAB"]
, [c "release-action", t "the change this release makes: Added, Removed, Upgraded", t "ChangeLog", t "ASR·PFV clauses with no phase"]
, [c "obligation-holder reader", t "the reader a DEO modal binds, such as operators or callers", t "ChangeLog, manual", t "ASR clauses with a DEO modal"]
]
paragraph (s "[ASR·HAB]" "Every DEO clause carries an obligation-holder." ++ s "[ASR·HAB]" "The ChangeLog question about obligations reads its answer from these roles.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for roles is in the corpus yet.")
section (Identifier "Semantics and laws") [text "Semantics and laws"] $ do
section (Identifier "What each layer denotes") [text "What each layer denotes"] $ do
paragraph (s "[ASR·HAB]" "In this section, p is the content of a clause, a proposition about the program or the reader." ++ s "[ASR·HAB]" "Each layer applies to the result of the layer below it.")
codeBlock (Language "text") "denote c = force ∘ evidence ∘ mood ∘ phase ∘ outerNeg ∘ modal ∘ innerNeg ∘ bound ∘ aspect"
table [t "Layer", t "What it denotes"]
[ [t "Aspect", t "PFV: the event occurs as a whole. PRF: it has occurred and its result holds. PRG: it is under way and may not finish. HAB: it is what the thing typically does, with exceptions allowed."]
, [t "Bound", t "ONE: the event occurs exactly one time in the program's life."]
, [t "Modal", t "the ground selects the situations that count. NEC: p in all of them. WNC: p in all the best of them. POS: p in some."]
, [t "Negation", t "classical negation at its position."]
, [t "Phase", t "defined from Before p and After p, the truth of p in the predecessor revision and in the documented revision."]
, [t "Mood", t "FAC commits to p. HYP considers p without commitment. COU considers p and commits to not p."]
, [t "Evidence", t "annotates the commitment with its basis and leaves p unchanged."]
, [t "Force", t "maps the result into its kind of act: judgements, plans, sets of alternatives, changes made by saying, hazards or commitments."]
]
section (Identifier "Normal form") [text "Normal form"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "The order is fixed, so two readings mean the same only if they are equal after three rewrites.")
ordered
[ paragraph (s "[ASR·HAB] [ASR·HAB]" "NEG·G·NEC·NEG becomes G·POS, and NEG·G·POS·NEG becomes G·NEC.")
, paragraph (s "[ASR·HAB]" "A clause with no modal carries at most one NEG.")
, paragraph (s "[ASR·HAB] [ASR·HAB]" "INC directly over a negation becomes CSS on the positive, and CSS over a negation becomes INC." ++ s "[ASR·HAB]" "CNT and EXP keep a negation beneath them.")
]
section (Identifier "Laws") [text "Laws"] $ do
paragraph (s "[ASR·HAB]" "The package checks each law on every reading or on every pair.")
table [t "Law", t "Statement"]
[ [t "1. Well-formed", t "every clause has a force and an aspect"]
, [t "2. Strength order", t "G·NEC p implies G·WNC p, which implies G·POS p, within a ground"]
, [t "3. Duality", t "G·POS equals NEG·G·NEC·NEG within a ground. WNC has no dual code."]
, [t "4. Counit", t "only ABL·NEC has a counit: ABL·NEC p implies p. DEO·NEC p does not imply p, because an obligation is not a fact. TEL·NEC p does not either, because a goal may be abandoned."]
, [t "5. Unit of ability", t "p implies ABL·POS p: what happens was within capacity"]
, [t "6. Phase from Before and After", t "INC p is not Before p and After p. CSS p is Before p and not After p. CNT p is Before p and After p. EXP p is neither, with p expected."]
, [t "7. Phase needs a reference point", t "a clause carries a phase only in a document that has a reference point"]
, [t "8. No phase on DEC or CMS", t "a declaration takes effect at the release and a commitment lies after it"]
, [t "9. ONE excludes HAB", t "one time and regularly contradict each other"]
, [t "10. Evidence on ASR·FAC only", t "only a factual assertion has a basis to state"]
, [t "11. Mood restrictions", t "HYP only on ASR and IRG, COU only on ASR"]
, [t "12. TEL names its goal", t "annotators apply this test, and the package cannot check it"]
, [t "13. Roles fit force", t "as the table in Roles gives, and every DEO clause carries an obligation-holder"]
]
paragraph (s "[ASR·HAB]" "Law 4 is the deontic no-counit point." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "A reviewer who reads an obligation as a fact takes a requirement for evidence that it is met.")
section (Identifier "Verdicts") [text "Verdicts"] $ do
paragraph (s "[ASR·HAB]" "People or agents produce readings." ++ s "[ASR·HAB·NEG·ABL·POS]" "No program can compute readings from English." ++ s "[ASR·HAB]" "Everything after the readings is computed.")
ordered
[ paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "The package normalises every reading and drops any reading that breaks a law, as an annotator error.")
, paragraph (s "[ASR·HAB] [ASR·HAB]" "Each reader contributes the set of readings it finds." ++ s "[ASR·HAB·NEG] [ASR·HAB]" "A reader that finds none contributes the token no reading.")
, paragraph (s "[ASR·HAB·NEG] [ASR·HAB]" "If every reader finds no reading, the verdict is Nonsense." ++ s "[ASR·HAB] [ASR·HAB]" "If the union of contributions is one reading, the verdict is Clear." ++ s "[ASR·HAB]" "Otherwise the verdict is Ambiguous, with the readings found.")
]
paragraph (s "[ASR·HAB] [ASR·HAB]" "One reader with no reading beside another reader with one reading is a disagreement, and a disagreement is ambiguity.")
table [t "Sentence", t "Readings", t "Verdict"]
[ [t "The shell no longer accepts unsigned commands.", c "[ASR·HAB·CSS]", t "Clear"]
, [t "Added the review store, which moved reviews out of SQLite.", c "[ASR·PFV] release-action [ASR·PFV·ONE] or [ASR·PFV] release-action [ASR·HAB]", t "Ambiguous"]
, [t "The shell now still accepts unsigned commands.", t "none", t "Nonsense"]
]
section (Identifier "Questions") [text "Questions and the answer function"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "Each document kind has questions that its reader is entitled to have answered." ++ s "[ASR·HAB] [ASR·HAB]" "An answer function takes the clear readings of a document, with their roles and in order, and returns the set of answers." ++ s "[ASR·HAB] [ASR·HAB]" "A question is resolved when the set has exactly one element.")
section (Identifier "The sentence question") [text "The sentence question"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "Every sentence of every document carries the question of which reading it has." ++ s "[ASR·HAB]" "Its answer is the verdict, resolved when the verdict is Clear." ++ s "[ASR·HAB] [ASR·HAB]" "Document rules apply only to clear sentences, so a rule is a predicate over one reading.")
section (Identifier "ChangeLog questions") [text "ChangeLog questions"] $ do
table [t "Question", t "Answer"]
[ [t "What changed?", t "the list of release-action clauses. An empty list is two answers: nothing changed, or the entry did not say."]
, [t "What behaves differently now?", t "the list of clauses with INC or CSS, plus DEC clauses. A standing claim with no phase, where rule C4 requires one, contributes two answers."]
, [t "Must I do anything, for reader r?", t "the clauses whose role is obligation-holder r. With none for r, the answer is no only if the release names some obligation-holder, otherwise two answers."]
, [t "Is any claim measured?", t "for each ASR clause: measured if its evidence is OBS or PUP."]
]
section (Identifier "README questions") [text "README questions"] $ do
table [t "Question", t "Answer"]
[ [t "What is this?", t "the first sentence, which is one or more ASR·HAB clauses"]
, [t "What does it do?", t "the ASR·HAB clauses without a modal or with an ABL modal"]
, [t "What does it need?", t "the TEL·NEC clauses. An empty list means nothing only if the README says so in a NEG·TEL·NEC clause."]
]
section (Identifier "Manual questions") [text "Manual questions"] $ do
paragraph (s "[ASR·HAB]" "A procedure is a run of step clauses under one heading.")
table [t "Question", t "Answer"]
[ [t "What do I do?", t "the list of step clauses"]
, [t "In what order?", t "the document order of the steps"]
, [t "How do I know it worked?", t "for each step, the ASR clauses without a role that follow it before the next step"]
, [t "How do I recover?", t "the steps that follow a precondition clause carrying a negation"]
]
section (Identifier "Document rules") [text "Document rules"] $ do
paragraph (s "[ASR·HAB]" "dreamstop owns every document kind." ++ s "[ASR·HAB]" "A document kind is a value with five parts: a reference point, the forces and moods it allows, its questions with their answer functions, its rules and its pairs." ++ s "[ASR·HAB] [ASR·HAB]" "Every kind contains the sentence question and rule D1, and adds to them without removing anything." ++ s "[ASR·HAB·NEG]" "Kinds do not inherit from one another.")
paragraph (s "[ASR·HAB]" "Each kind lives in its own repository, such as dreamstop/kinds/changelog, beside the language package dreamstop/dreamstop." ++ s "[ASR·HAB·ABL·POS]" "Anyone can fork a kind without forking the language." ++ s "[ASR·HAB] [ASR·HAB]" "Quality-control guides and other projects refer to a kind by repository and tag, and render its rules and pairs from it." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]" "A guide never restates a kind's rules, so it does not drift from the checker.")
paragraph (s "[ASR·HAB]" "Each rule is a predicate over one clear reading, or over the readings of one release, entry or procedure." ++ s "[ASR·HAB]" "An entry is one bullet of a ChangeLog." ++ s "[ASR·HAB]" "The reasons come from the specification.")
table [t "Rule", t "Kind", t "Statement and reason"]
[ [t "D1", t "every document", t "Every sentence is clear, because the sentence question applies everywhere."]
, [t "D2", t "ChangeLog, README, manual", t "FAC throughout, because their reader acts on what they say."]
, [t "C1", t "ChangeLog", t "Force is ASR, DEC or CMS. Obligations are ASR·DEO·NEC with a holder, so the reader sees whom they bind."]
, [t "C2", t "ChangeLog", t "PFV without ONE appears only on release-action clauses. One-off behaviour of the released program is PFV·ONE."]
, [t "C3", t "ChangeLog", t "No PRG, because a release is a fixed state."]
, [t "C4", t "ChangeLog", t "Every ASR clause that is not a release-action carries a phase, unless it has OBS or PUP evidence."]
, [t "C5", t "ChangeLog", t "A HAB clause straight after a release-action in the same sentence counts as new only with INC."]
, [t "C6", t "ChangeLog", t "CNT needs an INC or CSS in the same entry, because still is news only beside a change."]
, [t "C7", t "ChangeLog", t "Every DEO clause, whether must, should or may, carries an obligation-holder."]
, [t "C8", t "ChangeLog", t "An absent obligation is NEG·DEO·NEC, never NEG·ABL·POS."]
, [t "R1", t "README", t "Force is ASR or DIR, with DIR only on step clauses."]
, [t "R2", t "README", t "No phase."]
, [t "R3", t "README", t "No PFV or PRF outside steps, and no release-action."]
, [t "R4", t "README", t "DEO·POS only where a rule grants permission, ABL·POS for what the program can do."]
, [t "M1", t "manual", t "Force is ASR, DIR, ADM or IRG. DIR only on step clauses, IRG only on precondition clauses."]
, [t "M2", t "manual", t "Every DIR clause is a step."]
, [t "M3", t "manual", t "A precondition has aspect PRF or HAB, never PRG."]
, [t "M4", t "manual", t "No phase."]
, [t "M5", t "manual", t "Obligations are ASR·DEO with a holder."]
, [t "I1", t "issue", t "Force is ASR, DIR or IRG, and HYP and COU are allowed. The reference point is the time of writing."]
, [t "U1", t "interface copy", t "Force is ASR or DIR."]
]
paragraph (s "[ASR·HAB·NEG]" "Issues and interface copy have no ruled question set." ++ s "[ASR·HAB]" "Only the sentence question and rules I1 and U1 apply to them.")
paragraph (s "[ASR·HAB·NEG]" "No accepted pair for any document rule is in the corpus yet.")
section (Identifier "Minimal pairs") [text "Minimal pairs"] $ do
paragraph (s "[ASR·HAB]" "Minimal pairs specify every rule." ++ s "[ASR·HAB·NEG]" "A rule with no pair is not a rule." ++ s "[ASR·HAB]" "dreamstop has one kind of pair.")
table [t "Part", t "Content"]
[ [t "Question", t "a question from the document kind's set, or the sentence question"]
, [t "Bad side", t "a text and its readings, which leave the question with no answer or several"]
, [t "Good side", t "a text and its one reading, which give exactly one answer"]
, [t "Edit", t "the difference between the two, derived and never declared"]
]
paragraph (s "[ASR·HAB]" "Every pair obeys three laws.")
ordered
[ paragraph (s "[ASR·HAB]" "The good side resolves the question.")
, paragraph (s "[ASR·HAB·NEG]" "The bad side does not resolve it.")
, paragraph (s "[ASR·HAB] [ASR·HAB·NEG]" "The edit is minimal: no smaller edit to the bad side resolves the question.")
]
section (Identifier "Edit size") [text "Edit size"] $ do
paragraph (s "[ASR·HAB]" "The package computes the edit from the readings." ++ s "[ASR·HAB]" "A bad side with several readings is compared through its closest reading." ++ s "[ASR·HAB] [ASR·HAB]" "The edit is the set of slot changes, and an inserted or deleted clause counts as all its slots." ++ s "[ASR·HAB]" "Its size is the number of slot changes.")
paragraph (s "[ASR·HAB]" "Law 3 is checked over readings." ++ s "[ASR·HAB] [ASR·HAB]" "The package applies every proper non-empty subset of the slot changes to the bad reading and runs the answer function." ++ s "[ASR·HAB·NEG]" "None of those smaller edits resolves the question." ++ s "[ASR·HAB] [ASR·HAB]" "Annotators judge whether the wording is minimal.")
section (Identifier "The corpus") [text "The corpus"] $ do
paragraph (s "[ASR·HAB]" "The corpus is one Vortex data file, read by the package, the manual and annotating agents." ++ s "[ASR·HAB]" "Each entry holds the kind, the question, the rule, the bad side, the good side, a paragraph of reasons and the source of the text." ++ s "[ASR·HAB·NEG]" "The edit is not stored." ++ s "[ASR·HAB]" "Disputed pairs stay in a separate appendix with both annotators' readings.")
paragraph (s "[ASR·HAB] [ASR·HAB]" "A pair enters the corpus when two independent annotators agree on the good side and on the verdict of the bad side." ++ s "[ASR·HAB]" "The package then confirms the three laws." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Annotating agents are prompted with the pairs for their document kind, so the pairs both calibrate and test them.")
section (Identifier "Annotating a sentence") [text "Annotating a sentence"] $ do
paragraph (s "[ASR·HAB] [ASR·PRF] precondition" "Before you start, you have read the rules for the sentence's document kind.")
ordered
[ stepThen "[DIR·PFV] step" "Mark every finite verb group in the sentence." "[ASR·HAB]" "Each marked group is one clause, in text order."
, stepThen "[DIR·PFV] step" "Choose a force for each clause." "[ASR·HAB]" "Each clause has one of ASR, DIR, IRG, DEC, ADM and CMS."
, stepThen "[DIR·PFV] step" "Choose a mood for each clause." "[ASR·HAB] [ASR·HAB]" "Most clauses take the default FAC, which is not written."
, stepThen "[DIR·PFV] step" "Choose an aspect for each clause." "[ASR·HAB]" "Each clause has one of PFV, PRF, PRG and HAB."
, stepThen "[DIR·PFV] step [ASR·HAB] [ASR·HAB]" "Choose a phase if the document kind has a reference point and the clause compares the two sides of it." "[ASR·HAB]" "The clause has INC, CSS, CNT, EXP or no phase."
, stepThen "[DIR·PFV] step [DIR·PFV] step" "Choose a modal with the blame, impossibility and goal tests, and place each NEG by its scope." "[ASR·HAB]" "The clause has at most one modal and at most two negations."
, stepThen "[DIR·PFV] step [ASR·HAB]" "Add ONE, evidence and a role where the clause carries them." "[ASR·HAB]" "The clause is complete."
, stepThen "[DIR·PFV] step [DIR·PFV] step" "Write the codes in the fixed order, and apply the three rewrites." "[ASR·HAB]" "The reading is in normal form."
, stepThen "[DIR·PFV] step [ASR·HAB] [DIR·PFV] step" "Look for a slot in which another careful reader chooses a different code, and write each such reading." "[ASR·HAB]" "The sentence has one reading or several."
]
section (Identifier "Checking a reading") [text "Checking a reading"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "A reading is well formed when every law holds for it." ++ s "[ASR·HAB] [ASR·HAB]" "A sentence is clear when every reader writes the same single reading.")
section (Identifier "When readers disagree") [text "When readers disagree"] $ do
recover "[ASR·HAB·NEG] precondition [DIR·PFV] step [ASR·HAB]" "If two readings do not match, find the first slot in which they differ."
paragraph (s "[ASR·HAB] [ASR·HAB]" "That slot names the question the sentence leaves open.")
recover "[ASR·HAB·NEG] precondition [DIR·PFV] step [ASR·HAB]" "If the slot does not settle by its layer's test, rewrite the sentence so that only one code fits."
paragraph (s "[ASR·HAB]" "The rewritten sentence returns to the first step.")
section (Identifier "Writing a pair") [text "Writing a pair"] $ do
paragraph (s "[ASR·HAB] [ASR·PRF] precondition" "Before you start, a review has found a question with no answer or several.")
ordered
[ stepThen "[DIR·PFV] step" "Write the question in its reader's words." "[ASR·HAB]" "The pair has its question."
, stepThen "[DIR·PFV] step [ASR·PFV] [DIR·PFV] step" "Copy the bad side exactly as it appeared, and annotate it." "[ASR·HAB]" "The bad side has its readings."
, stepThen "[DIR·PFV] step [ASR·HAB] [DIR·PFV] step" "Make the smallest edit that gives the question exactly one answer, and annotate the result." "[ASR·HAB]" "The good side has its one reading."
, stepThen "[DIR·PFV] step" "Try every smaller edit to the bad side." "[ASR·HAB·NEG]" "None of them resolves the question."
, stepThen "[DIR·PFV] step" "Record the kind, the rule, a paragraph of reasons and the source." "[ASR·HAB]" "The pair is ready for verification."
]
section (Identifier "Checking a pair") [text "Checking a pair"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB]" "A pair is complete when the three laws hold for it." ++ s "[ASR·HAB] [ASR·HAB]" "It is accepted when two independent annotators agree on it.")
section (Identifier "When a pair cannot be written") [text "When a pair cannot be written"] $ do
recover "[ASR·HAB·NEG] precondition [DIR·PFV] step [ASR·HAB] [ASR·HAB]" "If no code separates the two sides, open an issue that proposes the code or rule they need."
paragraph (s "[ASR·HAB]" "The issue carries both sides and the question.")
recover "[ASR·HAB·NEG] precondition [DIR·PFV] step" "If the annotators do not agree, move the pair to the appendix of disputed pairs with both readings."
paragraph (s "[ASR·HAB] [ASR·HAB]" "The dispute shows where the language is ambiguous.")
section (Identifier "Reviewing with dreamstop") [text "Reviewing with dreamstop"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB] precondition" "Before a review starts, the change under review holds its documentation.")
ordered
[ stepThen "[DIR·PFV] step" "Annotate every changed sentence, each reviewer working alone." "[ASR·HAB]" "Each sentence has a verdict."
, stepThen "[DIR·PFV] step" "Run the answer function for each question in the document kind's set." "[ASR·HAB]" "Each question has its set of answers."
, stepThen "[DIR·PFV] step [ASR·HAB·NEG]" "Report each sentence that is not clear, and each question with no answer or several." "[ASR·HAB]" "Each finding names a slot or a question."
]
section (Identifier "Checking a review") [text "Checking a review"] $ do
paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "A review passes when every sentence is clear and every question has exactly one answer." ++ s "[ASR·HAB]" "Clause 2, PFV against HAB, is a complete finding.")
section (Identifier "Settling a finding") [text "Settling a finding"] $ do
recover "[ASR·HAB·NEG] precondition [DIR·PFV] step" "If a sentence does not get one reading, rewrite the sentence."
paragraph (s "[ASR·PFV] [ASR·HAB·NEG]" "An explanation of what the author meant does not settle a finding.")
recover "[ASR·HAB·NEG] precondition [DIR·PFV] step [ASR·HAB]" "If a question does not get one answer, add the clause that answers it."
paragraph (s "[ASR·HAB]" "Every settled finding is a candidate pair for the corpus.")
section (Identifier "This manual's questions") [text "This manual's questions"] $ do
paragraph (s "[ASR·HAB]" "This manual is held to the Manual questions." ++ s "[ASR·HAB] [ASR·HAB]" "Each step is followed by the sentence that states its result." ++ s "[ASR·HAB] [ASR·HAB]" "Each procedure has a section that starts from a failed check." ++ s "[ASR·HAB] [ASR·HAB]" "The repository keeps this map in prose/questions.vx, and the build checks it.")
table [t "Procedure", t "What do I do?", t "In what order?", t "How do I know it worked?", t "How do I recover?"]
[ [t "Annotating a sentence", t "its steps", t "their numbers", t "Checking a reading", t "When readers disagree"]
, [t "Writing a pair", t "its steps", t "their numbers", t "Checking a pair", t "When a pair cannot be written"]
, [t "Reviewing with dreamstop", t "its steps", t "their numbers", t "Checking a review", t "Settling a finding"]
]
section (Identifier "Worked examples") [text "Worked examples"] $ do
paragraph (s "[ASR·HAB]" "These sentences come from the ChangeLogs of nixlab-shell 0.122.0.0 and vortex-shell 0.7.0.0 and 0.7.0.1.")
section (Identifier "Example: the review store") [text "The review store"] $ do
quotation $ paragraph (t "Added the review store (NixLab.ReviewStore), which moved reviews and sign-offs out of SQLite.")
table [t "Reading", t "Codes", t "What a reader takes from it"]
[ [t "1", c "[ASR·PFV] release-action [ASR·PFV·ONE]", t "the release moved the existing reviews one time"]
, [t "2", c "[ASR·PFV] release-action [ASR·HAB]", t "the store is where reviews live"]
]
paragraph (s "[ASR·HAB]" "The sentence is ambiguous in the aspect of clause 2." ++ s "[ASR·HAB·NEG] [ASR·HAB]" "Reading 2 has no phase, so it fails rule C5." ++ s "[ASR·HAB]" "Rule C5 calls for INC on the second clause.")
quotation $ paragraph (t "Added the review store (NixLab.ReviewStore), which now moves reviews and sign-offs out of SQLite.")
paragraph (s "[ASR·HAB]" "The rewrite reads as [ASR·PFV] release-action [ASR·HAB·INC]." ++ s "[ASR·HAB]" "The one-time import has its own sentence in the same entry, with PFV, INC and ONE.")
section (Identifier "Example: vortex-shell") [text "vortex-shell and uninterruptible loops"] $ do
quotation $ paragraph (t "Compiled code that loops without allocating is neither charged nor interruptible.")
paragraph (s "[ASR·PFV]" "vortex-shell 0.7.0.0 had this entry." ++ s "[ASR·HAB·NEG] [ASR·HAB]" "Its clauses carry no phase, so the entry fails rule C4." ++ s "[ASR·HAB]" "A reader takes the limitation as new or as old.")
paragraph (s "[ASR·PFV]" "vortex-shell 0.7.0.1 corrected the entry with still." ++ s "[ASR·HAB] [ASR·PFV] [ASR·HAB]" "Its CNT is licensed by a CSS in the same entry, because 0.7.0.0 began charging evaluation that allocates.")
quotation $ paragraph (t "Compiled code that loops without allocating is still uninterruptible, so the shell cannot stop it.")
paragraph (s "[ASR·HAB]" "The rewrite reads as [ASR·HAB] [ASR·HAB·CNT] [ASR·HAB·NEG·ABL·POS].")
section (Identifier "Example: operator obligations") [text "Operator obligations"] $ do
quotation $ paragraph (t "Operators must now back up STATE/reviews/ and STATE/approvals/ with the rest of the state directory.")
paragraph (s "[ASR·HAB]" "This sentence from nixlab-shell 0.122.0.0 is clear." ++ s "[ASR·HAB]" "It reads as [ASR·HAB·INC·DEO·NEC] obligation-holder operators.")
paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Its force is ASR, because the ChangeLog reports that an obligation exists." ++ s "[ASR·HAB] [ASR·HAB]" "Its ground is DEO, because skipping the backup is possible but blameworthy." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "Its holder is operators, so the question of what operators do has one answer.")
quotation $ paragraph (t "After restoring a state directory without them, operators should now restore them.")
paragraph (s "[ASR·HAB]" "The companion sentence reads as [ASR·HAB·INC·DEO·WNC] obligation-holder operators." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "It recommends where the first sentence obliges, and the strength slot records the difference.")
section (Identifier "What codepoints cannot see") [text "What codepoints cannot see"] $ do
paragraph (s "[ASR·HAB]" "dreamstop checks the shape of meaning, not its content." ++ s "[ASR·HAB·ABL·POS]" "A passing document can fail its reader through these limits.")
table [t "Limit", t "What it means"]
[ [t "Annotation is human", t "two annotators can differ for reasons unrelated to the language"]
, [t "Content is invisible", t "the package cannot see whether a TEL clause names its goal, whether a figure lacks evidence, or whether two clauses talk about the same thing"]
, [t "Synonyms share codes", t "the spend can vary and the spend may vary are both ABL·POS, though a reader might hear permission in may"]
, [t "The reader set is not computed", t "a release that names operators can stay silent about callers"]
, [t "Order inside a sentence", t "do A or B and do A and B in any order look like ordered steps"]
, [t "Segmentation is syntactic", t "the finiteness rule can split a sentence where meaning does not"]
, [t "The weakest boundary", t "PFV against HAB for things that happen once in the program's life split annotators, and ONE should fix most of it"]
, [t "The evidence for the aspect set", t "the choice rests on 78 pairs and two annotators per scheme, so it is a decision, not a measurement"]
, [t "One reference point per document", t "a phase measured from another point, such as since the token rotated, cannot be written"]
]
section (Identifier "Reference table") [text "Reference table"] $ do
paragraph (s "[ASR·HAB]" "The table lists every code in display order.")
table [t "Layer", t "Code", t "Meaning"]
[ [t "Force", c "ASR", t "states that p"]
, [t "Force", c "DIR", t "tells the reader to act"]
, [t "Force", c "IRG", t "asks which alternative holds"]
, [t "Force", c "DEC", t "makes it so by saying"]
, [t "Force", c "ADM", t "warns of a risk"]
, [t "Force", c "CMS", t "commits the author"]
, [t "Mood", c "FAC", t "factual, not rendered"]
, [t "Mood", c "HYP", t "considered without commitment"]
, [t "Mood", c "COU", t "known to be false"]
, [t "Aspect", c "PFV", t "the event as a whole"]
, [t "Aspect", c "PRF", t "happened, result holds"]
, [t "Aspect", c "PRG", t "under way"]
, [t "Aspect", c "HAB", t "typically, or a state"]
, [t "Phase", c "INC", t "false before, true after"]
, [t "Phase", c "CSS", t "true before, false after"]
, [t "Phase", c "CNT", t "true before and after"]
, [t "Phase", c "EXP", t "false before and after, expected"]
, [t "Negation", c "NEG", t "before the modal: negates the modal. After it: negates the content."]
, [t "Ground", c "DEO", t "a rule or permission"]
, [t "Ground", c "ABL", t "the nature or capacity of the thing"]
, [t "Ground", c "TEL", t "what a named goal requires"]
, [t "Strength", c "NEC", t "in every admitted situation"]
, [t "Strength", c "WNC", t "in every best admitted situation"]
, [t "Strength", c "POS", t "in some admitted situation"]
, [t "Bound", c "ONE", t "one time in the program's life"]
, [t "Evidence", c "OBS", t "observed by the author"]
, [t "Evidence", c "PUP", t "a verifiable third-party record"]
, [t "Evidence", c "RPR", t "reported by someone else"]
, [t "Evidence", c "INF", t "inferred"]
, [t "Evidence", c "REC", t "remembered"]
, [t "Role", c "step", t "a thing the reader does"]
, [t "Role", c "precondition", t "a state that holds before a step"]
, [t "Role", c "release-action", t "the change a release makes"]
, [t "Role", c "obligation-holder", t "the reader a DEO modal binds"]
]
section (Identifier "Glossary") [text "Glossary"] $ do
glossary
[ definition (Identifier "Term: answer function") [text "Answer function"] $ paragraph (s "[ASR·HAB] [ASR·HAB]" "An answer function is the computation that returns a question's set of answers from a document's clear readings.")
, definition (Identifier "Term: clause") [text "Clause"] $ paragraph (s "[ASR·HAB] [ASR·HAB]" "A clause is one finite verb group with everything that the verb governs.")
, definition (Identifier "Term: code") [text "Code"] $ paragraph (s "[ASR·HAB]" "A code is one three-letter value of one slot, such as HAB or CSS.")
, definition (Identifier "Term: continuous disambiguation") [text "Continuous disambiguation"] $ paragraph (s "[ASR·HAB] [ASR·HAB]" "Continuous disambiguation is a check at every review that each question has exactly one answer.")
, definition (Identifier "Term: corpus") [text "Corpus"] $ paragraph (s "[ASR·HAB]" "The corpus is the set of verified minimal pairs, kept as one Vortex data file.")
, definition (Identifier "Term: document rule") [text "Document rule"] $ paragraph (s "[ASR·HAB]" "A document rule is a predicate over clear readings for one document kind, specified by its pairs.")
, definition (Identifier "Term: minimal pair") [text "Minimal pair"] $ paragraph (s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "A minimal pair is a question, a bad side that leaves it unresolved, a good side that resolves it, and the smallest edit between them.")
, definition (Identifier "Term: normal form") [text "Normal form"] $ paragraph (s "[ASR·HAB]" "A normal form is a reading in the fixed order after the three rewrites.")
, definition (Identifier "Term: reading") [text "Reading"] $ paragraph (s "[ASR·HAB]" "A reading is one meaning of a sentence, written as its clauses' codes in order.")
, definition (Identifier "Term: reference point") [text "Reference point"] $ paragraph (s "[ASR·HAB] [ASR·HAB]" "The reference point is the point that phase compares across.")
, definition (Identifier "Term: role") [text "Role"] $ paragraph (s "[ASR·HAB]" "A role is a fact about a clause's place in the document, written after its brackets.")
, definition (Identifier "Term: verdict") [text "Verdict"] $ paragraph (s "[ASR·HAB]" "A verdict is the answer to the sentence question: Nonsense, Clear or Ambiguous.")
]