code wiki / _hdl_build / nx_render_wiki_styled.nx

nx_render_wiki_styled.nx

buildroot/runtime/_hdl_build/nx_render_wiki_styled.nx

1290 B26 linesdepth 8pulls 32 transitivereach 0 importersview sourcekind tooltopic render
docsdependenciesstructsconstsfunctions

about

nx_render_wiki_styled.nx -- thin driver: read the most-recently-fetched page (saved by nishi after a live fetch), else the bundled Wikipedia snapshot, and render it to a styled BMP via the reusable nx_render_html_to_bmp. (The whole styled pipeline now lives in nx_render_html.nx so nx_browse shares it.) No gcc/V8/Chrome.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_render_html.nx nx_render_wiki_styled.nx

imports: nx_syscalls.nxnx_render_html.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close sys_write ↻ nx_render_html_to_bmp sys_mmap ↻ _rh_to_fb rh_slen sys_mmap ↻ rh_extract_styles sys_mmap ↻ nx_html_cursor_init nx_html_next_token _scan_name _is_name _is_void_element _lc nx_html_is_raw_text_tag _lc ↻ nx_html_consume_raw_text

structs

none

consts

none

functions

8func main() -> i64