~tudor/rwsh

Really Weird Shell - Structural Regular Expressions UNIX Shell made in Rust
4eeedea4 — Tudor Roman 5 years ago
multiline regex in match patterns
d39e011c — Tudor Roman 5 years ago
Added len function
fix test many_word_parameters

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~tudor/rwsh
read/write
git@git.sr.ht:~tudor/rwsh

You can also use your local clone with git send-email.

#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.

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