nx_cite.nx
buildroot/runtime/nx_cite.nx
about
nx_cite.nx -- WRITING arc, rung W-CITE-1: the CITATION manager (papers cluster).
Operator intent: "write research papers". nx_paper_gen already compiles cited
papers from measured work; this organ formats a REFERENCE record into the four
styles a human author needs: APA 7 / MLA 9 / Chicago (notes-biblio) / IEEE.
The reference is a key:value record (operator/lane DATA, the seam) parsed by
REUSING nx_scenario's field parser (DRY). v1 scope = a single-author JOURNAL
ARTICLE with PRE-SPLIT author name (author_last + author_first) so name parsing
is unambiguous. HONEST LIMITS (later rungs): multi-author lists, books/web,
and per-style title-case normalization -- this organ does STRUCTURE (order,
punctuation, italic markers), not orthography (titles are emitted verbatim).
author_last / author_first / year / title / journal / volume / issue / pages
Pure integer, NO syscalls. license_tier: ORIGINAL
module: nishi-core.write.cite
depends: nishi-core.write.scenario
capability: WRITE_CITATION
dependencies 1 imports · 0 importers
imports: nx_scenario.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 21 | const CITE_APA: i64 = 0 |
| 22 | const CITE_MLA: i64 = 1 |
| 23 | const CITE_CHICAGO: i64 = 2 |
| 24 | const CITE_IEEE: i64 = 3 |
functions
| 27 | func ct_app_initial(buf: *u8, n: i64, out: *u8, p: i64, cap: i64) -> i64 |
| 39 | func ct_apa(buf: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 62 | func ct_mla(buf: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 85 | func ct_chicago(buf: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 108 | func ct_ieee(buf: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 131 | func ct_format(buf: *u8, n: i64, style: i64, out: *u8, cap: i64) -> i64 |