Skip to content

cg-2611/sodium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sodium

The Sodium programming language is currently in the very early stages of development.

The Windows operating system is not currently supported.

Contents:

nac

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.

Building Sodium

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

Run Unit Tests

To run the unit tests for the Sodium compiler, run the following command:

cargo test --bin nac

Releases

No releases published

Packages

No packages published

Languages