The Sodium programming language is currently in the very early stages of development.
The Windows operating system is not currently supported.
nac
is the Sodium compiler. The Sodium compiler will be able to be used to compiler programs written in Sodium.
The compiler uses LLVM as a compiler back-end.
Sodium currently requires LLVM version 16 in order to be built.
Currently only the Sodium compiler is in development. Therefore the following instructions show how to build the Sodium compiler:
nac
.
First clone the repository and change to its directory:
git clone https://github.com/cg-2611/sodium.git
cd sodium
Then to build the nac
executable:
cargo build --bin nac
The executable can then be run using:
./target/debug/nac path/to/sodium/file.na
To run the unit tests for the Sodium compiler, run the following command:
cargo test --bin nac