Ψ A minimal, sensible, scripting language for configuring, extending and controlling your application
GPL-2.0 License
PSI is a scripting language with the following aims:
Ensure you have an up-to-date Rust compiler toolchain (https://rust-lang.org)
Build from source (use a nightly compiler for potential performance improvements)
cargo install psi-lang
Ensure you have an up-to-date Rust compiler toolchain (https://rust-lang.org)
Clone the repo and enter the directory
git clone https://github.com/curlpipe/psi.git
cd psi/compiler
Build from source (use a nightly compiler for potential performance improvements)
cargo build --release
Add the executable
mv target/release/psi_compiler /usr/bin/psi
You can find a cheatsheet for the language over here
You can also use the --learn
or -l
flag for an interactive learning environment to get yourself up to scratch on the langauge very quickly.
Here is the usage for the command line application itself:
psi -h
- Show help messagepsi -r
- Access a REPL for trying out the language (a great environment to get to know it)psi example.psi
- Run code from a filepsi example.psi -v
- Run code from a file (and show the internal workings of PSI)psi -rv
or psi -r -v
- Combine the repl and verbose argument to interactively show the internal workingspsi -l
- Access an interactive learning environment to learn the language quicklyDistributed under the GPLv2 License. See LICENSE
for more information.
Project Link: https://github.com/curlpipe/psi