Post A0enmDWeMQPoAHc6U4 by nothien@mstdn.io
(DIR) More posts by nothien@mstdn.io
(DIR) Post #A0ekffg6zYdJaaE5p2 by toast@toast.cafe
2020-10-29T14:14:08.940379Z
1 likes, 0 repeats
rc sucks because it doesn't go FAR ENOUGH
(DIR) Post #A0enRzAe1Rhxqtfp5M by nothien@mstdn.io
2020-10-29T14:43:11Z
0 likes, 0 repeats
@toast which/what rc
(DIR) Post #A0enS3uWOomYYLAW9I by toast@toast.cafe
2020-10-29T14:45:17.118876Z
0 likes, 0 repeats
@nothien plan9 rc (the shell)
(DIR) Post #A0enmDWeMQPoAHc6U4 by nothien@mstdn.io
2020-10-29T14:45:39Z
0 likes, 0 repeats
@toast and what more do you want from it?
(DIR) Post #A0enmDhdhZCoiMksc4 by toast@toast.cafe
2020-10-29T14:48:57.201219Z
0 likes, 0 repeats
@nothien well for examplewhen you dofn a { echo hi }this creates an exported environment variable fn_a which contains '{echo hi}'this is then used to provide output for `whatis -f` so you can save it to a filebut you can't do `eval $fn_a` or `$fn_a`, because it's not a real variable (despite being in env)this is a purposeful downgrade, and also adds magic for no reasonit also isn't a true by-value shell and has a lot of weirdish aspectsfor instance it has auto-bindings between path and PATH, but you can't make those by hand for new varscofesh is still being designed and these kinds of limitations are something I actively keep in mind
(DIR) Post #A0eo1gWSph5URPtzpw by nothien@mstdn.io
2020-10-29T14:49:52Z
0 likes, 0 repeats
@toast sounds like every other crappy shellIs cofesh your replacement project?
(DIR) Post #A0eo1gotj9phMaWiZM by toast@toast.cafe
2020-10-29T14:51:45.913386Z
0 likes, 0 repeats
@nothien cofesh is a lot more than a user shellthe core idea is to have a real parser and a real stack vmthen, make it embeddable (ala lua)sure you ALSO get a user shell, but that's not necessarily the whole pointthere is a strong trend that as shells progress they become more and more lisp-likeso we thought it'd be interesting to make it go ALL THE WAY, *actually*