This is a card in Dave's Virtual Box of Cards.

Mushrat-Lang

Page created: 2022-04-05 , updated: 2023-06-07

A new language: "mushrat-lang" with lots of inspiration from: sed (and a little bit of awk), vi (and especially Vim - which takes the concept of object/verb even further), APL, and Forth.

I especially like the single-letter commands in sed. Terse is very good in a CLI tool.

Stack based and concatenative or "register/variable" based? Postfix or applicative?

Tempted to say all lowercase letters are reserved for language intrinsics, all upper case are user-defined variables (or functions?). Boom, 26 of each. Enough for this CLI tool?

Simple vs. easy: assembly language is simple. But it’s not easy to create big programs in assembly. Many high-level languages are easy, but they’re not simple.

As for syntax: