AjayMT / msh

mirror of https://git.sr.ht/~ajaymt/msh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

msh

msh is a basic shell implemented in OCaml. It does not aim to be POSIX-compatible or particularly useful.

msh can parse commands that look like this:

ENV_VAR=1 ENV_VAR=2 command -args --args -args | ENV_VAR=3 command

As of now, it does not support:

  • escaping

  • command/process substitution

  • tab completion

  • history searching

  • most other things

Build

You will need the OCaml toolchain, specifically ocamldep, ocamlc and ocamlopt. You will also need menhir.

To build a native executable, simply

make nc

For other build options, consult the OCamlMakefile documentation.

About

mirror of https://git.sr.ht/~ajaymt/msh

License:MIT License


Languages

Language:OCaml 98.0%Language:Makefile 2.0%