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 28 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 sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read 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 _lc ↻ _is_ws _lfd_name_eq _lfd_lc _rh_copy_css rh_filter_media sys_mmap ↻ rh_find rh_media_matches rh_find ↻ rh_num_after rh_digit cx_expand sys_mmap ↻ cx_collect

structs

none

consts

none

functions

8func main() -> i64