code wiki / (root) / nx_lib_parse.nx

nx_lib_parse.nx

buildroot/runtime/nx_lib_parse.nx

3650 B84 linesdepth 6pulls 7 transitivereach 5 importersview sourcekind librarytopic lib
docsdependenciesstructsconstsfunctions

about

nx_lib_parse.nx -- sovereign JSON -> work-record parser (retires the Python json + pydantic parse of API responses = the "validation" census axis). WIRES the ecosystem's RFC-8259 tokenizer nx_json: extracts top-level string fields (title/doi/published/license/abstract/authors) from a work JSON object into a TAB-delimited nx_lib_store record. Pure, local, no network. The live fetch (nx_https_get) + this parser complete the http-client axis. license_tier: ORIGINAL | genealogy_id: nishi_library_sovereign_parse_2026_07_01

dependencies 1 imports · 2 importers

nx_json.nx nx_lib_parse.nx nx_lib_ingest_json.nx nx_lib_parse_test.nx

imports: nx_json.nx

imported by: nx_lib_ingest_json.nxnx_lib_parse_test.nx

structs

none

consts

none

functions

11func lpr_key_eq(json: *u8, off: i64, len: i64, key: *u8, keylen: i64) -> i64
called by 1: nx_json_get_str
21func nx_json_get_str(json: *u8, jlen: i64, key: *u8, keylen: i64, out: *u8) -> i64
57func lpr_field(json: *u8, jlen: i64, key: *u8, keylen: i64, out: *u8, off: i64) -> i64
called by 1: nx_lib_parse_work calls 1: nx_json_get_str
70func nx_lib_parse_work(json: *u8, jlen: i64, out: *u8) -> i64