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;
}Building:
- Rust
- LLVM 21.1
- just
Usage:
- LLVM 21.1
- Mold/lld/gold/ld
just installjust testRun oxic --help for more information.
oxic file.oxiThe 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.
- The compiler is still in development, expect bugs and missing features.