3 ms·
When writing Janet, i enjoy the judge[0] style of testing because it's so interactive. I added emacs helpers, one for running existing tests and one for updatin
by minikomi 8mo ago
When writing Janet, i enjoy the judge[0] style of testing because it's so interactive. I added emacs helpers, one for running existing tests and one for updating the tests. It made for a nice repl-like experience, especially nice when writing grammars[1].
[0] https://github.com/ianthehenry/judge https://github.com/ianthehenry/judge
[1] https://github.com/minikomi/advent-of-code/blob/d73e0b622b262f4a736fc42c6c5a398ed9b11e0a/2024/day5.janet#L51 https://github.com/minikomi/advent-of-code/blob/d73e0b622b26...