nx_browser_demo_html.nx
buildroot/runtime/nx_browser_demo_html.nx
about
nx_browser_demo_html.nx -- end-to-end HTML-input demo. Tokenizes
"<body>42</body>", builds a LayoutBox tree via nx_layout_from_dom,
positions the text box manually, runs the integrated paint walk
with text rendering, dumps to stdout.
Demonstrates the full bits-up pipeline:
HTML bytes
-> nx_html_tokenizer (Phase 1)
-> nx_layout_from_dom (Phase 3)
-> nx_paint_walk_layout (Phase 4, with text rendering)
-> nx_paint_fb_ascii_dump (Phase 5)
-> sys_write stdout
No Chromium / WebKit / Blink / Servo path anywhere. All RV64 nx.
dependencies 12 imports · 0 importers
diagram shows first 10 each side; +2 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_css_tokenize.nxnx_css_apply.nxnx_css_color_decode.nxnx_html_tokenizer.nxnx_layout_box.nxnx_layout_default_display.nxnx_layout_from_dom.nxnx_paint_solid_rect.nxnx_paint_text.nxnx_paint_walk_layout.nxnx_paint_fb_ascii_dump.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
| none |
functions
| 29 | func _put_byte(buf: *u8, i: i64, v: i64) -> i64 called by 1: main |
| 34 | func main() -> i64 |