Elle is a procedural programming language built in Rust which compiles to the QBE backend. There is also a mirror of this repository on SourceHut.
✩ It is heavily recommended to read the FAQ before trying the language. It will allow you to grasp the strengths and weaknesses of the language at a glance and quickly learn whether this language is one you would be comfortable using.
✩ You can view the Elle documentation here. Please note the language is still in active development and documentation is due to change at any time with no warning.
use std/prelude;
fn main() {
$println("Hello world!");
}
$ git clone https://github.com/acquitelol/elle
$ cd elle
$ make
to install the compiler, standard library, and runtime (installs into ~/.local/ by default)
Add the compiler executable to your $PATH
:
$ export PATH="$HOME/.local/bin:$PATH"
OR
$ make compile-release
to get only a compiler executable and not install anything (does not require root)
- You're done!
Try compiling a simple example!
$ ellec ./examples/hello.le --run
Try compiling an example with libraries!
$ ellec ./examples/graphics/ball.le -z -lraylib --run
- Please read LICENSE.md
- Copyright © 2024 Rosie (acquitelol)