Crush is a command line shell that is also a powerful modern programming language.
Go to file
2022-09-06 01:18:00 +02:00
docs Minor refactoring 2022-09-05 15:32:31 +02:00
example_data Add split and words deserializers 2020-08-04 22:35:56 +02:00
ordered_map Fix tests 2020-08-27 23:18:52 +02:00
signature Naming 2022-09-05 15:59:20 +02:00
src AST/parsing cleanup 2022-09-06 01:18:00 +02:00
tests AST/parsing cleanup 2022-09-06 01:18:00 +02:00
.gitignore System tests for serialization 2020-04-13 23:23:29 +02:00
build.rs Run cargo fmt 2020-08-10 02:30:33 +02:00
Cargo.lock Fix pup invocation bug 2022-09-03 11:23:06 +02:00
Cargo.toml Simplify command invocation code 2022-09-01 19:11:56 +02:00
ideas Slightly better error reporting on arithmetic ops 2020-10-03 13:01:29 +02:00
LICENSE Add license 2020-04-01 22:10:00 +02:00
README.md Wrong link for syntax 2020-10-02 13:54:46 -05:00
todo Minor refactoring 2022-09-05 15:32:31 +02:00

Crush

Crush is an attempt to make a traditional command line shell that is also a modern programming language. It has the features one would expect from a modern programming language like a type system, closures and lexical scoping, but with a syntax geared toward both batch and interactive shell usage.

Building and installing Crush

Crush should work on any modern Unix system. Install rust,

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

clone this repository,

git clone https://github.com/liljencrantz/crush.git

and run

cd crush; cargo build

and you should have a working binary to try out.

Have fun!