Skip to content
/ oxi Public

Compiler for the Oxi programming language

License

Notifications You must be signed in to change notification settings

septechx/oxi

Repository files navigation

oxic

CI status

Warning

This branch currently contains an in-development, non-functional version of the compiler. For the older, functioning version, use the legacy branch.

Oxic is a compiler for the Oxi programming language.

static std = @import("std");

pub fn main() isize {
    std.print("Hello world\n");

    return 0;
}

Requirements

Building:

  • Rust
  • LLVM 21.1
  • just

Usage:

  • LLVM 21.1
  • Mold/lld/gold/ld

Installation

just install

Running tests

just test

Usage

Run oxic --help for more information.

Compiling

oxic file.oxi

Standard library

The compiler expects the standard library under <root>/lib/oxi/ (e.g. /usr/lib/oxi/ when installed to /usr/bin/oxic). The OXI_LIB_PATH environment variable can be used to override this. The standard library is only needed to be available at compile time, the compiler will include the needed functions in the final binary.

Notes

  • The compiler is still in development, expect bugs and missing features.

About

Compiler for the Oxi programming language

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages