Home

Awesome

cnaz

cnaz is an alterative interpreter for naz, written in C. The primary objective for this interpreter is to use an unbounded integer type for the unlimited mode naz -u, instead of the floating point based number type used in the javascript interpreter.

Usage

After cloning the repository you can compile the interpreter with

$ cc -std=gnu99 -o interpreter interpreter.c nazlib.c

and run the interpreter with

$ ./interpreter filename.naz

This reposity is currently only written for UNIX and only tested on Debian / Ubuntu.

Differences

Currently, cnaz can only run a subset of naz programms. The following list shows all the additional restriction for naz programs to be executed by cnaz: