Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NuStack Build StatusCoverage Status

NuStack is a new WIP compiled language, heavily inspired by C and Perl 6.
The main goal of this project is to experiment with building "true" compilers and learn more about asm in the process.

The compiler is written entirely in TypeScript, and is run via node bin/index.js

Quickstart

Quick commands to compile and run code:

npm run build                                         # Compile compiler
node bin/index.js -i inFile.ns -o outFile.asm -a 64   # Compile NuStack source
nasm -f elf64 -o objFile.o outFile.asm                # Assemble asm output
ld -e main -o bin objFile.o                           # Link obj file
./bin                                                 # Run executable

About

Start of a new era

Resources

Releases

No releases published

Packages

No packages published