code wiki / _hdl_build / nx_tok_fold_gate.nx
nx_tok_fold_gate.nx
buildroot/runtime/_hdl_build/nx_tok_fold_gate.nx
about
nx_tok_fold_gate.nx -- KATs for the accent-folding UTF-8 tokenizer (the Unicode rung): Latin diacritics
fold to ASCII base letters on BOTH tokenize sides, unfoldable codepoints separate cleanly (whole sequence
consumed -- continuation bytes never leak into tokens), ASCII behavior is byte-identical to before, and
the STORE-LEVEL proof: an indexed doc containing "Kyōka" is found by ss_term("kyoka") and the quoted
phrase evaluator (fold-consistent positions). license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_seg_store.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
| 8 | func gf_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 9 | func gf_num(v: i64) -> i64 called by 1: main |
| 18 | func gf_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 19 | func gf_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 26 | func gf_toks(s: *u8, out: *u8) -> i64 |
| 48 | func gf_eq(a: *u8, b: *u8) -> i64 called by 1: main |
| 59 | func main() -> i64 |