Skip to content

NoxTools/noxscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nox Script Compiler

nsc is a compiler written in Python for Nox Script. The compiler generates an obj file that can be loaded into Nox maps.

How to use

First, download the compiler from releases. Download nsc.exe for Windows and nsc.linux for Linux. Make sure you also download builtins.h into the same directory.

Usage

>nsc -h
Usage: nsc [OPTIONS] SOURCE
    
  NoxScript 3.0 Compiler - By Andrew Wesie (zoaedk) and Brian Pak (cai)

Options:
  -o, --out TEXT  Output file path.
  -v, --verbose   Verbose mode. Displays script information.
  -h, --help      Show this message and exit.

Simply pass in the script source file name as an argument to the compiler.

Screenshots

demo

wrong