Merry now compiles to JavaScript, so you can run an interactive shell prompt in a web page. Embedding applications can also register their own custom commands that execute inside the shell.
Features
-
Browser build: Merry can be compiled to JavaScript and run as an interactive prompt in a web page. The line-editing layer now comes from the upstream bruit release, which adds preliminary browser support. Commit
-
Custom built-in commands: The evaluator accepts a parameter for registering custom commands, so an embedding application can define its own shell built-ins alongside the standard ones. Commit