MiniVM is a virtual machine for executing Eeyore/Tigger IR, which is designed for PKU compiler course.
Before building MiniVM, please make sure you have installed the following dependencies:
cmake
3.13 or later- C++ compiler supporting C++17
flex
andbison
readline
(optional, see Building Without the Built-in Debugger)
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
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
.
See the documentation about the VM part of MiniVM.
See CHANGELOG.md
Copyright (C) 2010-2021 MaxXing. License GPLv3.