/rwsh

Really Weird Shell - shell based around Structral Regular Expressions - mirror repo

Primary LanguageRustGNU General Public License v3.0GPL-3.0

rwsh

builds.sr.ht status

(Better name ideas pending)

This is going to be a UNIX shell based around Structural Regular Expressions and the usam experiment.

To do:

See todo/todo.txt.

  • Basic command execution with quoted string rules
  • Pipes
  • Structural regular expressions
    • Addresses
    • Basic commands (a, c, i, d, p)
    • Loops
    • Variable and command substitution (with capture group values)
      • In addresses
      • In command parameters
    • Shell commands in SRE
  • Shell stuff:
    • Load scripts
    • ||, &&, !
    • Redirection
    • Job control (God have mercy)
      • Handle signals
  • Variables and variable substitution
    • Strings
    • Assignment
    • Arrays / Lists
    • Maps
  • Command substitution
  • Control flow structures
    • If-else
    • While
    • For
      • String globbing
    • Switch
    • Matches (awk-like pattern list)
  • Functions
  • Builtins
    • cd
    • exit
    • true / false
    • eval
    • calc
    • ...