nx_macro_test.nx
buildroot/runtime/nx_macro_test.nx
about
nx_macro_test.nx -- exercise the new @macro preprocessor.
Per user 2026-05-15: "do c i want real foundational stuff".
This test verifies: zero-arg macros, single-arg macros, multi-arg
macros, recursive expansion, macros inside expressions.
dependencies 1 imports · 0 importers
imports: nx_kernel_v2.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
| 28 | func test_zero_arg() -> nx_int called by 1: main |
| 34 | func test_single_arg() -> nx_int called by 1: main |
| 42 | func test_axiom_macro() -> nx_int |
| 52 | func test_recursive_in_expr() -> nx_int called by 1: main |
| 59 | func main() -> nx_exit |