r/CLI • • 1d ago

Want a bash-like shell for Mini Micro?

/r/MiniScript/comments/1ycsjzi/want_a_bashlike_shell_for_mini_micro/

Cross-posting from r/MiniScript, but since that's probably unfamiliar to most people here, let me add some context:

MiniScript is a relatively new (2017) scripting language, designed to be small and simple yet with modern constructs like lists, maps, first-class functions, and OOP. MiniScript can be used on the command line, but there's also Mini Micro, a retro-styled virtual computer — think something along Apple II or Commodore 64 lines, but substantially more powerful and based on the MiniScript language instead of BASIC.

The standard command-line environment of Mini Micro is MiniScript itself, which means that you have to quote file names/paths, because they're just string literals. mash offers an alternative: the syntax is bash-like, including command chaining, stdin/stdout, pipes, etc. It includes a few small built-ins, and the rest of the commands are small MiniScript programs.

Hope that clears up any confusion... feel free to hit me with questions!

1 Upvotes

0 comments sorted by