code wiki / _hdl_build / nx_food_site.nx

nx_food_site.nx

buildroot/runtime/_hdl_build/nx_food_site.nx

9756 B139 linesdepth 7pulls 10 transitivereach 5 importersview sourcekind librarytopic food
docsdependenciesstructsconstsfunctions

about

nx_food_site.nx -- LIB: the CONSUME surface. Renders the restaurant SITE from the LIVE grounded store, composed from the `food` builder domain (catalog templates resolved by nb_lookup + the domain-agnostic nw_render binding substitution). Closes the food loop end to end: seg-store -> engine -> builder domain -> sovereign no-JS page. Boundary defense (rule 12): all data bindings are HTML-escaped by nw_bind_add, so a restaurant name like "<script>" cannot inject markup. license_tier: ORIGINAL

dependencies 4 imports · 3 importers

nx_food_science.nx nx_web_render.nx nx_food_clean_source.nx nx_syscalls.nx nx_food_site.nx nx_food_menu.nx nx_food_site_gate.nx nx_pantry_meal_gate.nx

imports: nx_food_science.nxnx_web_render.nxnx_food_clean_source.nxnx_syscalls.nx

imported by: nx_food_menu.nxnx_food_site_gate.nxnx_pantry_meal_gate.nx

structs

none

consts

none

functions

13func fs_emit_component(catpath: *u8, kind: *u8, id: *u8, bindings: *u8, out: *u8, off: i64) -> i64
20func fs_num(v: i64) -> *u8
called by 1: fs_render_avail calls 2: sys_mmapfd_apnum
28func fs_role_names(world: *i64, build: *i64, roles: *i64, nb: i64, rc: i64, out: *u8) -> i64
called by 1: fs_render_avail calls 1: as_append
47func fs_teach(catpath: *u8) -> i64
59func fs_render(store_prefix: *u8, catpath: *u8, restaurant: *u8, out: *u8) -> i64
72func fs_render_avail(store_prefix: *u8, catpath: *u8, restaurant: *u8, avail: *i64, avoid: *i64, prefw: *i64, out: *u8) -> i64