Projects covers Forester, Merry, xdge and ocaml-crockford.
June 2026/projects
Merry, the POSIX-compatible shell, has a set of new fixes in its repository that target a class of problems where multi-stage commands could freeze. Built-ins and compound commands now run concurrently within a pipeline rather than blocking the remaining stages, and loops yield between iterations so other stages can proceed. Input and output streams are also closed after a compound command finishes, preventing the shell from exhausting open file handles. Scripts chaining several piped commands are far less likely to stall or leak resources as a result. 1d0e955a452ec3ed
Alongside the concurrency work, the project saw a steady stream of POSIX compatibility corrections across the month. Dollar-prefixed variables now work inside arithmetic expressions, tilde-prefixed words resolve through the configured path, and double-quoted strings unescape backslash sequences as the standard specifies. Trap handlers queue their actions and fire at safe points in the event loop, and running exec inside a subshell now spawns a child process so the parent script continues. For anyone porting shell scripts to Merry, these changes remove a number of surprising behaviours. 77c2b3d8c0115a10
On the performance side, Merry now caches the search path for external commands, reducing the time spent resolving each one in scripts that invoke many commands in sequence. The shell's command-line interface also gained correct handling of common options and a debug logging switch for inspecting what the shell is doing internally. c552593f10fa1a8e
W26.2026 · 22–28 Jun/projects
Merry is a POSIX-compatible shell. Recent commits fix six compatibility issues in quoting, pipes, arithmetic, signal handling, and subshells, and speed up command-path resolution.
Fixes
Quoting: Double-quoted strings now unescape backslash sequences to match standard shell behaviour, so escaped quotes and backslashes produce the expected characters. Scripts that rely on POSIX quoting rules will no longer see unexpected substitutions. 77c2b3d8
Pipes: Each stage of a pipeline now closes its read end when finished, preventing scripts from accumulating open file handles. Long-running scripts that chain many piped commands will no longer leak resources between stages. e640f4ad
Arithmetic: The shell's arithmetic expression syntax now parses correctly, and any remaining parse errors report the line and column where the problem occurs. Scripts that use arithmetic for counters or index calculations will no longer fail on valid expressions. 17b2f1b7
Signal and trap handling: Trap handlers now queue their actions and run them at safe points in the shell's event loop, so traps fire reliably instead of being lost. Merry also recognises the pipe-broken signal (sent when a process writes to a closed pipe) and passes the current execution context to EXIT handlers, matching the standard environment rule. 605a9466f18ac7c7
Subshells: Running exec inside a subshell now spawns a child process rather than replacing the parent shell, so the parent script continues after the subshell ends. Scripts that use subshells to isolate a command will no longer lose the parent process. c0115a10
Command lookup: Merry now caches the search path for external commands and streamlines environment and pipeline handling, reducing the time spent resolving each command. Scripts that invoke many external commands in sequence will spend less time on path resolution. c552593f91fc4233