code wiki / _hdl_build / nx_browser_importprobe.nx

nx_browser_importprobe.nx source

↩ module page · 44 lines · 1743 B

1// nx_browser_importprobe.nx -- BISECTION INSTRUMENT for the nx_browser build failure. 2// nx_browser fails on the NAS with "nx_parse: unexpected operator token kind=46 at expression start" 3// (TK_EQ, per nx_lex_kinds.nx:107) immediately after br_comp_border registers -- i.e. inside br_draw. 4// The SAME file bytes (sha 3504e69e) parse br_draw fine on the laptop, whose import closure DIVERGES, 5// so the fault is CLOSURE-DEPENDENT rather than a plain syntax error in nx_browser.nx. 6// This probe carries nx_browser's EXACT import list and nothing else, so it answers one question 7// mechanically ON THIS TREE: 8// builds -> the closure is clean here, the fault is in nx_browser.nx's own body 9// fails -> the fault is in an import, and the error localises it there 10// license_tier: ORIGINAL 11import "nx_syscalls.nx" 12import "nx_x509_trust_store.nx" 13import "nx_trust_store_load_from_certdata.nx" 14import "nx_https_get.nx" 15import "nx_http_response_parse.nx" 16import "nx_html_tokenizer.nx" 17import "nx_js_eval.nx" 18import "nx_dom_query.nx" 19import "nx_html_entities.nx" 20import "nx_url_resolve.nx" 21import "nx_render_html.nx" 22import "nx_css_color_decode.nx" 23import "nx_layout_box.nx" 24import "nx_layout_default_display.nx" 25import "nx_layout_from_dom.nx" 26import "nx_layout_block.nx" 27import "nx_x11_connect.nx" 28import "nx_x11_window.nx" 29import "nx_x11_paint.nx" 30import "nx_http_get_ua.nx" 31import "nx_dns_resolve_a_record.nx" 32import "nx_paint_solid_rect.nx" 33import "nx_paint_text.nx" 34import "nx_png_write.nx" 35import "nx_signal.nx" 36import "nx_browser_buyguard.nx" 37import "nx_intake_profile.nx" 38import "nx_media_harvest.nx" 39import "nx_media_deepcrawl.nx" 40 41func main() -> i64 { 42 sys_write(1, "IMPORTPROBE: the closure parses\n" as *u8, 31) 43 return 0 44}