code wiki / _hdl_build / nx_dep_retire.nx
nx_dep_retire.nx
buildroot/runtime/_hdl_build/nx_dep_retire.nx
about
nx_dep_retire.nx -- track the RETIREMENT of 3rd-party dependencies (operator: "get rid of the
remaining dependencies... build the nishi team to retire those, only as benchmarking tools"). Each
tool: has the team built a SOVEREIGN NishiLang replacement? -> RETIRED (the tool is now kept ONLY as a
benchmark/reference, not a dependency); else REMAINING (owed a replacement); the OS kernel is SUBSTRATE
(the floor, not retirable). As replacements land, the Auditor reclassifies the tool from DEPENDENCY to
demarcated COMPETITOR. license_tier: ORIGINAL Pairs with nx_auditor.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_dep_retire_test.nx
structs
| none |
consts
| 10 | const DR_RETIRED: i64 = 1 // sovereign replacement exists -> the tool is now BENCHMARK-ONLY |
| 11 | const DR_REMAINING: i64 = 2 // still a real dependency -> owed a sovereign replacement |
| 12 | const DR_SUBSTRATE: i64 = 3 // OS kernel / hardware -- the floor, not retirable |
functions
| 14 | func dr_status(has_replacement: i64, is_substrate: i64) -> i64 called by 1: main |
| 21 | func dr_benchmark_only(status: i64) -> i64 { if status == DR_RETIRED { return 1 } return 0 } called by 1: main |
| 23 | func dr_count(statuses: *i64, n: i64, kind: i64) -> i64 |
| 29 | func dr_remaining_deps(statuses: *i64, n: i64) -> i64 { return dr_count(statuses, n, DR_REMAINING) } |