The reqvm projects consists of two programs, the reqvm virtual machine and the reqvm assembler.
Note that this guide assumes you're in the root of the repository.
$ make -C ./vmYou may optionally specify:
*DEBUG(yes|no) - turns off optimizations and adds debug symbols. By default the value is yes.
The binary will be under ./vm by the name vm (with the platform extension suffix if needed).
$ make -C ./assemblerYou may optionaly specify:
DEBUG(yes|no), by default the value isyesAGGRESIVE_LOGGING(yes|no), by default the value isyes. This option makes the assembler log all function call parameters. Please note that this is very verbose.
The assembler depends on the magic_enum library and it is included as a git submodule(under ./assembler/thirdparty), you may clone recursively(git clone --recursive), init the submodules yourself(git submodule init), or do nothing, the Makefile should be able to take care of it.
The binary will be under ./assembler by the name assembler (with the platform extension suffix if needed).