/nitrogen-vm

A virtual machine for a (soon to come) higher level language

Primary LanguageC++MIT LicenseMIT

Nitrogen

Description

Yet another VM language

Dev Notes

Language support for Atom

Adding Opcodes

  • Add to TokenInst in Token.h
  • Add to isInstruction in Token.cpp
    • If desired, add to printTokenList
  • Add bytecode to Bytecode.h
  • Implement in Compiler.cpp
  • Add to Decomp.cpp
  • Implement behavior in Runtime.cpp

To Do

Here are the current features to add for Nitrogen:

  • Special string character parsing (fix strings majorly)
  • Floats

Below are general features that should be added:

  • Implement the native API in Nitrogen
    • Check for NVM memory leaks
  • Runtime debugger