nx_mathml.nx
buildroot/runtime/nx_mathml.nx
about
nx_mathml.nx -- CLI for the sovereign LaTeX-subset to MathML typesetter.
usage: nx_mathml <latex> [inline]
Emits a MathML subtree on stdout, ready to paste into a page, a nx_paper_native .MATH row, or a
document in the unified portal. Default is DISPLAY (block); pass a second argument to get inline.
A formula this subset cannot read is REFUSED BY NAME with the offending command echoed, and nothing
is written -- a half-converted formula is wrong in a way the reader cannot see.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: syscalls.nxnx_mathml_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 13 | func nm_slen(s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { i = i + 1 } return i } |
| 14 | func nm_puts(s: *u8) -> i64 { sys_write(1, s, nm_slen(s)); return 0 } |
| 16 | func main(argc: i64, argv: *i64) -> i64 |