code wiki / _hdl_build / nx_browser_importprobe.nx

nx_browser_importprobe.nx

buildroot/runtime/_hdl_build/nx_browser_importprobe.nx

1743 B44 linesdepth 22pulls 216 transitivereach 0 importersview sourcekind tooltopic browser
docsdependenciesstructsconstsfunctions

about

nx_browser_importprobe.nx -- BISECTION INSTRUMENT for the nx_browser build failure. nx_browser fails on the NAS with "nx_parse: unexpected operator token kind=46 at expression start" (TK_EQ, per nx_lex_kinds.nx:107) immediately after br_comp_border registers -- i.e. inside br_draw. The SAME file bytes (sha 3504e69e) parse br_draw fine on the laptop, whose import closure DIVERGES, so the fault is CLOSURE-DEPENDENT rather than a plain syntax error in nx_browser.nx. This probe carries nx_browser's EXACT import list and nothing else, so it answers one question mechanically ON THIS TREE: builds -> the closure is clean here, the fault is in nx_browser.nx's own body fails -> the fault is in an import, and the error localises it there license_tier: ORIGINAL

dependencies 29 imports · 0 importers

nx_syscalls.nx nx_x509_trust_store.nx nx_trust_store_load_from_certdata. nx_https_get.nx nx_http_response_parse.nx nx_html_tokenizer.nx nx_js_eval.nx nx_dom_query.nx nx_html_entities.nx nx_url_resolve.nx nx_browser_importprobe.nx

diagram shows first 10 each side; +19 more imports, +0 more importers in the complete lists below.

imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_get.nxnx_http_response_parse.nxnx_html_tokenizer.nxnx_js_eval.nxnx_dom_query.nxnx_html_entities.nxnx_url_resolve.nxnx_render_html.nxnx_css_color_decode.nxnx_layout_box.nxnx_layout_default_display.nxnx_layout_from_dom.nxnx_layout_block.nxnx_x11_connect.nxnx_x11_window.nxnx_x11_paint.nxnx_http_get_ua.nxnx_dns_resolve_a_record.nxnx_paint_solid_rect.nxnx_paint_text.nxnx_png_write.nxnx_signal.nxnx_browser_buyguard.nxnx_intake_profile.nxnx_media_harvest.nxnx_media_deepcrawl.nx

imported by: nobody (leaf or entry point)

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

main sys_write

structs

none

consts

none

functions

41func main() -> i64
calls 1: sys_write