code wiki / _hdl_build / nx_aw_schedule.nx

nx_aw_schedule.nx

buildroot/runtime/_hdl_build/nx_aw_schedule.nx

10390 B93 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic aw
docsdependenciesstructsconstsfunctions

about

nx_aw_schedule.nx -- emits the andelinwest.com CONSULTATION SCHEDULER page (the team's next live rung) and writes the nx_aw_push spec files so it can be streamed onto sites/andelinwest/schedule.html. Sovereign emit (raw sys_write, no template engine, ZERO third-party JS/CSS/CDN). Brand-consistent with nx_andelin_pro's token design system (WCAG 2.2 AA: labels, 44px+ targets, focus-visible, contrast, landmarks). The booking form is FUNCTIONAL NOW with no backend: a tiny dependency-free script assembles the appointment into a pre-filled message to intake@andelinwest.com (works WITH the firm's sovereign email/MTA). RUNG 2 = a server POST /schedule handler -> nx_cms_store + nx_cms_email auto-confirm + nx_cron reminder (the email-wired path). writes /tmp/andelin_schedule.html + /tmp/aw_sched.src + /tmp/aw_sched.dst then: nx_aw_push /tmp/aw_sched.src /tmp/aw_sched.dst (publish) -> fetch-verify the live URL license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_aw_schedule.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_wr sx_puts sys_write sys_exit emit aw sys_write ↻ sys_close sx_write_file sys_openat_wr ↻ sys_write ↻ sys_close ↻

structs

none

consts

13const SCHED_LOCAL: *u8 = "/tmp/andelin_schedule.html" as *u8
14const SCHED_SRC: *u8 = "/tmp/aw_sched.src" as *u8
15const SCHED_DST: *u8 = "/tmp/aw_sched.dst" as *u8
16const SCHED_REMOTE: *u8 = "cat > /volume1/homes/elderwesto/nishihost/sites/andelinwest/schedule.html\n" as *u8

functions

18func aw(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return n }
called by 1: emit calls 1: sys_write
19func sx_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
20func sx_write_file(path: *u8, content: *u8) -> i64
25func emit(fd: i64) -> i64
called by 1: main calls 1: aw
81func main() -> i64