/MiniVM

MiniVM is a virtual machine for executing Eeyore/Tigger IR.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

MiniVM

Build and Test

MiniVM is a virtual machine for executing Eeyore/Tigger IR, which is designed for PKU compiler course.

Building from Source

Before building MiniVM, please make sure you have installed the following dependencies:

Then you can build this repository by executing the following command lines:

$ git clone --recursive https://github.com/pku-minic/MiniVM.git
$ cd MiniVM
$ mkdir build
$ cd build
$ cmake .. && make -j8

Building Without the Built-in Debugger

You can turn the CMake option NO_DEBUGGER on to disable the built-in debugger (MiniDbg):

$ cmake -DNO_DEBUGGER=ON ..
$ make -j8

With this option turned on, you can build MiniVM without readline.

How does MiniVM Work?

See the documentation about the VM part of MiniVM.

Changelog

See CHANGELOG.md

License

Copyright (C) 2010-2021 MaxXing. License GPLv3.