code wiki / _hdl_build / nx_uigen_l2.nx

nx_uigen_l2.nx

buildroot/runtime/_hdl_build/nx_uigen_l2.nx

11537 B178 linesdepth 2pulls 2 transitivereach 5 importersview sourcekind librarytopic uigen
docsdependenciesstructsconstsfunctions

about

nx_uigen_l2.nx -- ROADMAP RUNG L2: INTENT -> MAPPING. A brief (words describing what's wanted) is mapped BY RULE to design decisions: page-KIND (landing / dashboard / doc / form) -> which components + layout to compose, and TOPIC -> a seed hue for L1's palette generation. This is the rung that starts to resemble v0/GLM: you describe intent, the system produces an APPROPRIATE structure (a form brief yields a form, a metrics brief a dashboard). Honest scope: RULE-BASED (heuristic) mapping + templated copy -- learned generation from free text is L4. Attacks census GAPs intent-to-ui / component-selection. Pure emit. license_tier: ORIGINAL

dependencies 1 imports · 2 importers

nx_uigen_l1.nx nx_uigen_l2.nx nx_uigen_l2_gate.nx nx_uigen_site.nx

imports: nx_uigen_l1.nx

imported by: nx_uigen_l2_gate.nxnx_uigen_site.nx

structs

none

consts

none

functions

9func l2_isalpha(c: u8) -> i64 { let v: i64 = c as i64; if v >= 97 { if v <= 122 { return 1 } } return 0 }
called by 1: l2_has
14func l2_has(s: *u8, kw: *u8) -> i64
35func l2_kind(brief: *u8) -> i64
called by 2: l2_generatecheck_brief calls 1: l2_has
61func l2_hue(brief: *u8) -> i64
93func l2_landing(buf: *u8, off: i64, hue: i64, title: *u8, brand: *u8) -> i64
109func l2_dashboard(buf: *u8, off: i64, hue: i64, title: *u8, brand: *u8) -> i64
131func l2_doc(buf: *u8, off: i64, hue: i64, title: *u8, brand: *u8) -> i64
149func l2_form(buf: *u8, off: i64, hue: i64, title: *u8, brand: *u8) -> i64
171func l2_generate(buf: *u8, off: i64, brief: *u8, title: *u8, brand: *u8) -> i64