aboutsummaryrefslogtreecommitdiff
path: root/src/lsp
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 15:58:58 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 15:58:58 +0330
commitd55b5fdf92a674a6495878f97a09e95bafdcba3f (patch)
treee811149b65640a3e253e6ebdce41affddb53ac37 /src/lsp
parentmerge line tables (diff)
bounds checking: port agent/bounds-checking onto main 0879d0a; unbounded main in o3call, o3 tests expect no check, boundsrules, bounds_fixed, bounds_heap and zc0unbounded tests
Diffstat (limited to 'src/lsp')
-rw-r--r--src/lsp/server.zc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lsp/server.zc b/src/lsp/server.zc
index c3f9f4f..9a903f0 100644
--- a/src/lsp/server.zc
+++ b/src/lsp/server.zc
@@ -1,6 +1,9 @@
namespace lsp;
include rt, run;
+// the server pokes at headers and raw memory on purpose and runs at full speed: no index bounds checks
+unbounded;
+
// ============================================================================
// server.zc: the language server. it is appended to the genome after the
// compiler (the files of src/compiler/parts in order, then this one, read as one stream), so it does not