raz / commit 0645628b

commit
0645628b0623a0e0953089758bdab3bc6f434cc4
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
cb4208e2
Plan: editor support and a thread stress test, step 16

patch · log

1 file changed, +13 -1

PLAN.md (history) modified +13 -1

@@ -138,7 +138,19 @@
138138 The test runner stays in the Makefile: it must work when the
139139 compiler doesn't.
140140
141+- [ ] 16. Editor support: `editor/vim` (`syntax/jed.vim`, `indent/jed.vim`
142+ by `shiftwidth()`, and `ftdetect/jed.vim`, which sets 4 spaces)
143+ and `editor/emacs/jed-mode.el` (indenting by `jed-indent-offset`,
144+ 4 unless set). Both colour reserved words, basic types, built-in
145+ procedures, numbers, characters, strings and nested comments.
146+ `make check` loads each, headless, on the examples. And a stress
147+ test of native threads, `make stress`: 40,000 threads spawned and
148+ joined, about 200 alive at once and waiting on one `Mutex`, so a
149+ stack `join` failed to free would run the process out of mappings;
150+ `spawn` under a low thread limit fails with `Thread.Failed`. A small
151+ version of it runs in `make check`.
152+
141153 Wrap up
142154
143-- [ ] 16. `README.md` and `doc/compiler.md`, a guide to reading the
155+- [ ] 17. `README.md` and `doc/compiler.md`, a guide to reading the
144156 compiler file by file.