Skip to content
Start of a new era
TypeScript JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
libns @ 203de08
scripts
src
test
.gitignore
.gitmodules
.travis.yml
README.md
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

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
You can’t perform that action at this time.