5 ms·
Weird Shell – Structural Regular Expressions Unix Shell Made in Rust
- linsomniac 6y agoHaving recently played around with sam, I could see some interesting possibilities based on the title of this post, But from the link, it doesn't seem like there are any examples of what this is meant to look like.
- im_down_w_otp 6y agohttps://git.sr.ht/~tudor/rwsh/tree/master/examples https://git.sr.ht/~tudor/rwsh/tree/master/examples
- justaguy88 6y agoSourceHut itself looks interesting for self-hosting on-prem repositories in a private company
- filterfish 6y agoYeah, it does doesn't it. I've seen a couple of projects using it but nothing more.
- rurban 6y agoI'm not sure, but having eval on the RHS using $1, $2 vars as in Perl seems to be easier to use and remember. You can represent all se commands this way naturally: x a i d c Structural regular expressions seem to be to me more like dynamic pattern matchers and parsers, such as in raku (perl6).
- blodorn 6y agoLinux vi like text editor using Structural Regular Expressions too https://github.com/martanne/vis https://github.com/martanne/vis