code wiki / _hdl_build / nx_deck.nx
nx_deck.nx
buildroot/runtime/_hdl_build/nx_deck.nx
about
nx_deck.nx -- LIB: sovereign PRESENTATION generator -- the first organ of the Nishi office suite. Builds a deck
(slides: a title + bullets) from DATA and emits TWO formats: (1) our SUPERIOR SOVEREIGN .ndeck -- line-based,
deterministic, human-readable, diffable, tiny (no XML/ZIP bloat) -- and (2) a PowerPoint-COMPATIBLE OOXML
presentationml slide (the exact XML PowerPoint uses inside a .pptx; single-quoted attrs = valid XML, no escaping).
Sovereign-native + interop-export, exactly like Gerber: our format is the real one, .pptx is the bridge. never-brick
#26: pure file writes, deterministic. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_deck_gate.nx
structs
| none |
consts
| none |
functions
| 9 | func dk_strlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: dk_wf |
| 10 | func dk_wf(fd: i64, s: *u8) -> i64 { sys_write(fd, s, dk_strlen(s)); return 0 } |
| 13 | func deck_write_ndeck(fd: i64, deck_title: *u8, titles: *i64, nslides: i64, bullets: *i64, boff: *i64, bcnt: *i64) -> i64 |
| 27 | func deck_write_pptx_slide(fd: i64, title: *u8, bullets: *i64, boff_s: i64, bcnt_s: i64) -> i64 |