Epilang is a high-level, interpreted, general-purpose programming language with a Rust-like syntax.
Visit the Wiki for quickstart and documentation.
Epilang standalone binaries can be downloaded from the Release page.
Pass a source file path as argument to the epilang executable to run it:
epilang path/to/file.epi
Run the epilang executable with no args to start the Epilang interactive shell:
epilang
The following is an example interaction with the Epilang interactive shell:
epilang> let x = 3
epilang> x
3
epilang> x + 3
6
To build this project from source you need Rust. To install it follow the instructions on the official installation page.
After installing you must be able to run cargo
from the command line.
The following command prints the Cargo version, just to be sure it is installed.
cargo -V
Download Epilang source code from this repository and navigate to the source code directory on the command line:
git clone https://github.com/epieffe/epilang.git
cd epilang
To create a debug build of the project and immediately start the Epilang interacive shell use the following command:
cargo run
Or pass a file path as argument to run it:
cargo run path/to/file.epi
To create a debug build of the project use the following command:
cargo build
This command creates an executable file in targert/debug/epilang
. Run this file to start Epilang.
To create an optimized build of the project use the following command:
cargo build --release
This command creates an executable file in targert/release/epilang
. Run this file to start Epilang.