Skip to content

Compiler & Interpreter

KerbalMissile edited this page Mar 13, 2026 · 9 revisions

Compiler

Nova provides a compiler that can turn Nova code into .dll's or .exe's, it does this by turning Nova code into IL code which is the language inside .dll's and .exe's. The compiler UI is pretty simple, it will autodetect any .nova files in its current folder then present them, you can then select the files you want to compile, select if you want a .exe or a .dll, then click the compile button, and boom, you should have a .dll or .exe. If not, please open up an issue with a picture of the last generated IL code, as well as the error in the compiler terminal area and also your .nova file.

image

Here is a picture of the compiler as it looks like in the repo.

Interpreter

The interpreter just takes your code and performs it, I haven't tested how it does with UI's so please open up an issue if there is an issue. To use the interpreter, you should open a terminal with its path in the folder with your nova_interpreter.py and your .nova files. Then, all you have to do is run this command, python nova_interpreter.py YOUR_NOVA_FILE_HERE.nova, and it will run it, if you have a simple put("Hello, World!") then it should just display Hello, World!. For opening an issue with the interpreter, just send your .nova file and the error you're seeing.

If there are any issues with the two, open up an issue and I will take a look and see if I can fix it or if it has been fixed on my side already. Make sure to include the proper context like mentioned before

Nova Link Sidebar

Built-in Functions & Utilities

Math & Numbers

Variables & Data Types:

Loops & Conditionals:

File Reading & Writing

GUI & Event Handlers

Nova Tools

Inputs

Compiler & Interpreter

VS Code Extension

Clone this wiki locally