end2end_test.nx
buildroot/runtime/end2end_test.nx
about
end2end_test.nx -- prove lex.nx + parse.nx + ir.nx work together.
Takes a NishiLang source string in memory, runs it through the
full NishiLang-side front-end (lex → parse → IR), and verifies
structural invariants on the resulting Module.
This is the "nx compiles nx" demo: zero C-side compiler code
touches the IR build; every byte from source to SSA goes through
NishiLang-shipped modules.
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_types.nxnx_lex_kinds.nxnx_ir.nxnx_tokenizer.nxnx_parse.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
| 19 | func run_src(src: *u8, expect_n_funcs: i64) -> i64 { |
| 33 | func main() -> i64 {
calls 1: run_src |