News for hackers. Stuff that matters.
Re:Amber the programming language compiled to Bash/Ksh/Zsh by wavemode on Saturday July 11, 2026 @05:02PM (#48875857)
Well, you can "source" a script, so its effects persist in your current shell session. That's a feature of the script and your shell sharing the same language.
Re:Amber the programming language compiled to Bash/Ksh/Zsh by freehorse on Saturday July 11, 2026 @07:11PM (#48876723)
Then it seems that what you want is running a repl of your chosen language rather than shell/"executable" scripts.
Re:Amber the programming language compiled to Bash/Ksh/Zsh by zbentley on Saturday July 11, 2026 @06:19PM (#48876377)
Sure, but “shell scripts” as an (admittedly imprecise) term usually imply separate executable files, not shell libraries/functions that are sourced.