Installation
Simple Installation
- Install a supported C compiler: clang
- Download the latest build for your system from GitHub: Latest Release
- Unpack it anywhere and add the executable to your
PATH
environment variable. - Set the
DEEN_LIB
environment variable to the full path of thestdlib
folder (located near the binary). Example:/home/mealet/deen/stdlib
Build
- Install the Rust Programming Language from the official site.
- Install LLVM following the official tutorial.
- Clone this repository:
git clone https://github.com/mealet/deen
- Go to its directory and run:
cargo build --release
- The executable file will be in the
target/release
folder. - Don't forget to set the
DEEN_LIB
environment variable.
How to use?
- Write code. Example:
deen
// source.dn
fn main() i32 {
println!("Hello, World!");
return 0;
}
- Compile (check CLI Reference for more):
$> deen source.dn output
- Run the executable file:
$> ./output
Hello World!