Skip to content

acquitelol/elle

Repository files navigation

Mia

₊˚ Elle ♡︎

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.

Hello, World!

use std/prelude;

fn main() {
    $println("Hello world!");
}

How to run

  $ 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!

♡ You can now run ellec to get a help message of how to use the compiler!

Try compiling a simple example!

  $ ellec ./examples/hello.le --run

Try compiling an example with libraries!

  $ ellec ./examples/graphics/ball.le -z -lraylib --run

Licensing

⇡ Back to top️!

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages