code wiki / (root) / nx_text_sentences.nx

nx_text_sentences.nx

buildroot/runtime/nx_text_sentences.nx

2251 B43 linesdepth 2pulls 2 transitivereach 12 importersview sourcekind librarytopic text
docsdependenciesstructsconstsfunctions

about

nx_text_sentences.nx -- shared text primitive extracted from the research stack (Consolidation-Without-Loss STEP A, 2026-07-14). txt_sentence_end = the decimal-safe sentence-boundary scan: a '.' ends a sentence only when followed by space / newline / end (NOT a decimal point like "86.8"); '!' and '?' always end. This scan was BYTE-IDENTICAL in rsq_claim_verdict (S1) and rvs_verify_answer (S1<->S2); extracted here so both call ONE copy. ⚠ nx_research_report (S3) does NOT use this -- it has its own carry-aware state machine (kept separate by design; see the dossier). Contract locked by: nx_research_synth_qwen_gate 8/8 + nx_research_verify_synth_gate 4/4. license_tier: ORIGINAL

dependencies 1 imports · 4 importers

nx_syscalls.nx nx_text_sentences.nx nx_research_report.nx nx_research_synth_qwen.nx nx_research_verify_synth.nx nx_text_sentences_gate.nx

imports: nx_syscalls.nx

imported by: nx_research_report.nxnx_research_synth_qwen.nxnx_research_verify_synth.nxnx_text_sentences_gate.nx

structs

none

consts

none

functions

11func txt_sentence_end(buf: *u8, s: i64, blen: i64) -> i64
33func txt_parse_cite(buf: *u8, blen: i64, i: i64, outp: *i64) -> i64