nx_browser_page_demo_test.nx
buildroot/runtime/nx_browser_page_demo_test.nx
about
nx_browser_page_demo_test.nx -- the browser renders a REAL webpage.
Fetches http://example.com/ with the bits-up stack (DNS + sockets +
HTTP/1.1), then renders the HTML to readable text via nx_html_to_text
(tag strip + entity decode + script/style removal). This is a
sovereign text-mode browser -- Lynx/w3m class -- rendering a real
page off the live internet, every byte NishiLang.
PROOF (not a claim): the rendered text MUST contain the real page's
own words ("Example Domain" + "illustrative examples"). The rendered
text is also written to nishi-browser-proofs/rendered_example_com.txt
so it can be read + diffed against the live page.
expect_exit: 0
license_tier: ORIGINAL
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_connect.nxnx_dns_resolve_a_record.nxnx_https_url_connect.nxnx_http_client.nxnx_http_response_parse.nxnx_html_to_text.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
| 25 | func _contains(hay: *u8, hlen: i64, needle: *u8, nlen: i64) -> i64 called by 1: main |
| 43 | func _slen(s: *u8) -> i64 called by 1: main |
| 49 | func main() -> i64 |