One language for the prompt and scripts.
Take an expression from the prompt straight into a script. Variables, functions, and control flow follow the same rules in both.
(defn greet (name)
(str "hello, " $name))A small Lisp dialect for your command line and your scripts. Familiar commands, with a little more structure.
Try parsh and coreutils in your browser. Work with your own files on Linux.
SMALL LANGUAGE. FAMILIAR TOOLS.
parsh stands for parenthesis shell. Command calls are expressions, and interactive use and scripts share one language.
Take an expression from the prompt straight into a script. Variables, functions, and control flow follow the same rules in both.
(defn greet (name)
(str "hello, " $name))Text stays one argument. Lists expand one level into external command arguments. No implicit word splitting or globbing, and no guessing what spaces will do.
(let files (list "a file.rs" "b.rs"))
(list $files)On Linux, programs launch directly. Compose commands with pipes and redirections. Keep your familiar tools and use a new syntax.
(|> files.txt
(| (find . -name "*.rs") (sort)))NATIVE LINUXSTART WITH A PARENTHESIS.
A few expressions are all it takes to get a feel for the language. No installation. Just your browser.