code wiki / _hdl_build / nx_step_parse_gate.nx
nx_step_parse_gate.nx
buildroot/runtime/_hdl_build/nx_step_parse_gate.nx
about
nx_step_parse_gate.nx -- teeth for R1a STEP structure parse on the REAL canonical assembly
knowledge/fetched/step_as1.stp (as1-oc-214, AP214, banked by nx_step_sample_fetch). T1 lex scale ·
T2 PRODUCTs found incl as1/nut/rod-assembly (probe-verified names) · T3 NAUO edges collected + EVERY
parent/child PD resolves PD->PDF->PRODUCT · T4 exactly ONE assembly root and it is the as1 product ·
T5 occurrence tree depth >= 2 (assembly of assemblies), printed for eyeball · T6 BOM leaf occurrences
>= 4, printed · T7 NEG-CONTROL: a real NON-STEP file (NHTSA JSON) lexes to 0 entities · T8 truncation
robustness: first-2000-bytes parse yields fewer entities, no crash. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_step_parse.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
| 10 | func spg_tooth(name: *u8, pass: i64, fails: *i64) -> i64 |
| 18 | func spg_prod_out(st: *i64, prodidx: i64, out2: *i64) -> i64 |
| 25 | func main() -> i64 |