Bash has been unchanged for decades but its not a very nice language.
I know pydantic has been experimenting with https://github.com/pydantic/monty (restricted python) and I think Cloudflare and co were experimenting with giving typescript to agents.
Check it out here: https://www.npmjs.com/package/@archildata/just-bash
I'm not going for compatibility, but something that is a bit hackable. Deliberately not having /lib /share and /etc to avoid confusion that it might be posix
On neocoties for proof of static hosting
gaigalas•1h ago
That's a lot of incompatibilities.
LLMs like to use the shell because it's stable and virtually unchanged for decades.
It doesn't need to worry much about versions or whether something is supported or not, it can just assume it is.
Re-implementing bash is a herculean effort. I wish good luck.
esafak•1h ago
pro-tip: vercel's https://agent-browser.dev/ is a great CLI for agent-based browser automation.
gaigalas•1h ago
Trained on an interpreter that is stable is virtually unchanged for decades. That's precisely my point.
It was never trained on an incompatible, partial implementation.
> agent-based browser automation
Clearly out of scope. You a bot?
athorax•1h ago
esafak•51m ago
gaigalas•46m ago
https://github.com/alganet/coral
busybox, bash, zsh, dash, you name it. If smells bourne, it runs. Here's the list: https://github.com/alganet/coral/blob/main/test/matrix#L50 (more than 20 years of compatibility, runs even on bash 3)
It's a great litmus test, that many have passed. Let me know when just-bash is able to run it.
esafak•14m ago
simonw•11m ago