code wiki / (root) / nx_coq_dir_ingest.nx

nx_coq_dir_ingest.nx

buildroot/runtime/nx_coq_dir_ingest.nx

2727 B74 linesdepth 8pulls 20 transitivereach 0 importersview sourcekind tooltopic coq
docsdependenciesstructsconstsfunctions

about

nx_coq_dir_ingest.nx -- ingest every Coq decl in the corpus at nxc2/_offc/coq_corpus.txt (assembled by nx_ingest_dir.sh). Same shape as nx_lean_dir_ingest; only the parser, bridge, output prefix, and corpus path differ -- the rest is identical (which is the "point at X" promise: per-source code is minimal). genealogy_id: substrate_self_hosting_synth_2026_05_14 + point_at_x_ingester lineage_id: per_source_dir_driver

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_coq_ingest.nx nx_ingest_runner.nx nx_coq_stream_ingest.nx nx_bloom_capacity.nx nx_coq_dir_ingest.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_coq_ingest.nxnx_ingest_runner.nxnx_coq_stream_ingest.nxnx_bloom_capacity.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close sys_write ↻ print_i64 sys_mmap ↻ itoa sys_mmap ↻ sys_write ↻ nx_coq_ingest_corpus nx_coq_db_alloc sys_mmap ↻ sys_mmap ↻ nx_coq_next_token nx_coq_skip_ws nx_lex_is_ws nx_ascii_is_id_start nx_ascii_is_alpha nx_ascii_is_lower nx_ascii_is_upper

structs

none

consts

25const NX_COQ_DIR_DISK_BUDGET: nx_size = 1073741824
26const NX_COQ_DIR_SHARD_BYTES: nx_size = 104857600
27const NX_COQ_DIR_BLOOM_CAPACITY: nx_int = 1000000
28const NX_COQ_DIR_WATCHDOG_MS: nx_int = 60000

functions

30func main() -> nx_exit