code wiki / _hdl_build / nx_aw_schedule.nx
nx_aw_schedule.nx
buildroot/runtime/_hdl_build/nx_aw_schedule.nx
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
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
structs
| none |
consts
| 13 | const SCHED_LOCAL: *u8 = "/tmp/andelin_schedule.html" as *u8 |
| 14 | const SCHED_SRC: *u8 = "/tmp/aw_sched.src" as *u8 |
| 15 | const SCHED_DST: *u8 = "/tmp/aw_sched.dst" as *u8 |
| 16 | const SCHED_REMOTE: *u8 = "cat > /volume1/homes/elderwesto/nishihost/sites/andelinwest/schedule.html\n" as *u8 |
functions
| 18 | func 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 } |
| 19 | func 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 } |
| 20 | func sx_write_file(path: *u8, content: *u8) -> i64 |
| 25 | func emit(fd: i64) -> i64 |
| 81 | func main() -> i64 |