Skip to content

redac/nnp-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NilNovi Compiler & VM

NNP Compiler - Language theory and compilation course project 2021/2022

This project contains a compiler and a virtual machine (VM) for the NNP language. The compiler turns the program into object code that can be executed by the VM.

How to use

Compile your NNP code using the following command :

python3 src/anasyn.py yourprogram.nno -o output.out

Run your compiled NNP code using

python3 src/vm.py output.out

use the -h flag to display help and more information regarding the commands.

For more information on the source code, visit the wiki.