Merry now includes a standalone shell executable that runs commands and script files. The OCaml library also gains string-based parsing and POSIX shell state, though all changes remain in a single untagged commit.
Features
-
Standalone shell: A new executable runs a single command or a script file and can print the parsed command tree as JSON for inspection. Commit
-
String-based parsing: The library can now build a command tree directly from a string rather than only from a file, simplifying integration into applications that receive commands at runtime.
-
POSIX shell support: A new library component provides shell state such as working directory, home, and environment variables, along with command execution for POSIX-style shells.
Compatibility
- Shell package dependencies: Installing the shell package pulls in several additional libraries beyond the core Merry package.