nx_doc_func_scan.nx
buildroot/runtime/nx_doc_func_scan.nx
about
nx_doc_func_scan.nx -- bits-up function-pattern extraction.
Substrate-canonical building block for replacing bash + grep +
awk in audit primitives. Extracts `func NAME(` patterns from
NishiLang source content, returns iterator results compatible
with nx_doc_extract_link_target's pattern.
Per [[feedback-bits-up-shell-replace-linux-brother-tools]]:
substrate's audit infrastructure stops depending on Linux-brother
tools for its own self-audit. bench/nx_audit_within_file_func_
duplicates.sh (bash) is INTERIM; bits-up nx_audit_func_duplicates
composes THIS primitive.
**Quadrant:** REFERENCE (Diátaxis)
**Topic Type:** REFERENCE (DITA)
**Status:** DRAFT (first stone; bits-up substitute for bash audit
detector)
**Trust State:** WRITTEN_UNTESTED
**Competitive State:** UNCLASSIFIED (no benchmark vs grep+awk
substrate-internally yet)
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_string_ops.nx
imported by: nx_doc_func_scan_test.nx
structs
| 30 | struct NxFuncScanResult |
consts
| none |
functions
| 51 | func nx_doc_func_scan_next( called by 1: main |