code wiki / _hdl_build / nx_food_site.nx
nx_food_site.nx
buildroot/runtime/_hdl_build/nx_food_site.nx
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
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
| 13 | func fs_emit_component(catpath: *u8, kind: *u8, id: *u8, bindings: *u8, out: *u8, off: i64) -> i64 |
| 20 | func fs_num(v: i64) -> *u8 |
| 28 | func fs_role_names(world: *i64, build: *i64, roles: *i64, nb: i64, rc: i64, out: *u8) -> i64 |
| 47 | func fs_teach(catpath: *u8) -> i64 |
| 59 | func fs_render(store_prefix: *u8, catpath: *u8, restaurant: *u8, out: *u8) -> i64 |
| 72 | func fs_render_avail(store_prefix: *u8, catpath: *u8, restaurant: *u8, avail: *i64, avoid: *i64, prefw: *i64, out: *u8) -> i64 called by 3: fs_render_restaurantfs_rendermain calls 15: fd_world_opensys_mmapfd_load_framefd_load_weightsfd_choosefs_role_names+9 |