dsl block reaches nothing by itself in the permission derivation, and native only through foreign codeOpen and answer this issue on GitHub.
tools, compiler, ready, future · opened 2026-11-21 · updated 2026-11-21 · 0 comments
Part of #1433 After #2563
A grammar’s run at build time reaches nothing (Part II 10.2, NK1152). A grammar run while the program runs, and the function that runs a block (execute, exec), are derived as any function; only where that function hands the text to foreign code is it native (decided by the owner, 2026-11-08, #1433).
dsl reaches nothing by itself in the derivation (crates/nikaia-std/src/compiler/touch.nika). Test: a template grammar whose block runs in pure Nikaia reports an empty set through nikaia permissions, a block run through an extern call reports native.nikaia permissions reports an empty set for a template grammar whose block runs in pure Nikaia and native for one run through an extern call, shown by tests; that commit carries Fixes with this issue’s number, and the report has a Found: line per finding.
Split from #1433 by Claude Code