code wiki / (root) / smoke_nxc_pipeline2.nx

smoke_nxc_pipeline2.nx

buildroot/runtime/smoke_nxc_pipeline2.nx

2143 B59 linesdepth 7pulls 24 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

Same as smoke_nxc_pipeline.nx but skip the crt0 stub to see if the failure is in the prepended `call main` reference.

dependencies 11 imports · 0 importers

syscalls.nx types.nx lex_kinds.nx outbuf.nx ir.nx lex.nx parse.nx opt.nx regalloc.nx riscv.nx smoke_nxc_pipeline2.nx

diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.

imports: syscalls.nxtypes.nxlex_kinds.nxoutbuf.nxir.nxlex.nxparse.nxopt.nxregalloc.nxriscv.nxnxasm_v2.nx

imported by: nobody (leaf or entry point)

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

main lex_source skip_ws_comments peek advance peek2 peek ↻ is_alpha lex_ident_or_kw tok_text_ptr peek ↻ is_alnum is_alpha ↻ is_digit advance ↻ keyword_lookup push_tok is_digit ↻ lex_number peek ↻ peek2 ↻ advance ↻ is_hexdigit is_digit ↻ hex_val push_tok ↻ is_digit ↻ lex_string advance ↻ tok_text_ptr ↻ peek ↻ push_tok ↻ peek2 ↻ emit_punct advance ↻ push_tok ↻ advance ↻ push_tok ↻ parse_module prepass_register_structs

structs

none

consts

none

functions

16func main() -> i64 {