Skip to content

acquitelol/elle

Repository files navigation

₊˚ Elle ♡︎

A procedural programming language built in Rust and QBE

There is also a mirror of this repository on SourceHut.

‎ ‎ ╱|、
(˚ˎ 。7
|、˜〵
じしˍ,)ノ

FAQ

✩ 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.

Documentation

✩ You can view the Elle documentation/reference here. ✩

If you like this project, consider giving it a star!

Hello, World!

Writing a hello world program in Elle is super easy:

use std/io;

fn main() {
    io::println("Hello world!");
}
  • Simple enough! ♡

♡ If you have any questions, please raise an issue :3

All contributions to this project are welcome!


How to run

  • Ensure you have Rust, Cargo and the QBE compiler backend.

      $ 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 && ./hello

Try compiling an example with libraries!

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

Licensing


⇡ Back to top️!

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages