Nickforall / ijssel

yet another tiny compiler. just a toy project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ijssel

Tiny LLVM-based compiler.

fn main do
    add(100, 1000)
end

# Adds a to b
fn add(a, b) do
    a + b
end
USAGE:
    ijssel [FLAGS] [OPTIONS] <FILE>

FLAGS:
        --debug      Whether to perform optimisations
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --type <file-type>    Output format. [default: object]  [possible values: object, asm]
    -o, --output <output>     Output to write object or assembly to. If omitted this will default to the input file name
                              with an extension corresponding the `type`

ARGS:
    <FILE>    An ijssel source file

About

yet another tiny compiler. just a toy project.


Languages

Language:Rust 98.2%Language:Shell 0.8%Language:C 0.7%Language:Makefile 0.3%