code wiki / (root) / smoke_nxc_pipeline11.nx

smoke_nxc_pipeline11.nx

buildroot/runtime/smoke_nxc_pipeline11.nx

706 B20 linesdepth 6pulls 17 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

Just lex+parse, no opt/regalloc/emit, then write_elf.

dependencies 8 imports · 0 importers

syscalls.nx types.nx lex_kinds.nx outbuf.nx ir.nx lex.nx parse.nx elf_writer.nx smoke_nxc_pipeline11.nx

imports: syscalls.nxtypes.nxlex_kinds.nxoutbuf.nxir.nxlex.nxparse.nxelf_writer.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

11func main() -> i64 {