code wiki / (root) / lex_test.nx

lex_test.nx

buildroot/runtime/lex_test.nx

1204 B39 linesdepth 4pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic lex
docsdependenciesstructsconstsfunctions

about

lex_test.nx -- self-test for lex.nx.

dependencies 2 imports · 0 importers

lex_kinds.nx lex.nx lex_test.nx

imports: lex_kinds.nxlex.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 ↻

structs

none

consts

none

functions

12func main() -> i64 {
calls 1: lex_source