From 0645628b0623a0e0953089758bdab3bc6f434cc4 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Sat, 10 Oct 2026 11:24:14 +0000 Subject: [PATCH] Plan: editor support and a thread stress test, step 16 --- diff --git a/PLAN.md b/PLAN.md index 1da580a..61b06ed 100644 --- a/PLAN.md +++ b/PLAN.md @@ -138,7 +138,19 @@ The test runner stays in the Makefile: it must work when the compiler doesn't. +- [ ] 16. Editor support: `editor/vim` (`syntax/jed.vim`, `indent/jed.vim` + by `shiftwidth()`, and `ftdetect/jed.vim`, which sets 4 spaces) + and `editor/emacs/jed-mode.el` (indenting by `jed-indent-offset`, + 4 unless set). Both colour reserved words, basic types, built-in + procedures, numbers, characters, strings and nested comments. + `make check` loads each, headless, on the examples. And a stress + test of native threads, `make stress`: 40,000 threads spawned and + joined, about 200 alive at once and waiting on one `Mutex`, so a + stack `join` failed to free would run the process out of mappings; + `spawn` under a low thread limit fails with `Thread.Failed`. A small + version of it runs in `make check`. + Wrap up -- [ ] 16. `README.md` and `doc/compiler.md`, a guide to reading the +- [ ] 17. `README.md` and `doc/compiler.md`, a guide to reading the compiler file by file.