A tiny virtual machine written in C.

Corey Prophitt be3efe9c55 Added a link to Wikipedia's stack machine page 4 years ago
bin fe0b38c79c Added bin/ directory 4 years ago
screenshots 17adcfcee6 Added screenshot for GitHub 4 years ago
src 7c89003ea8 Added a number of comments and cleanup code 4 years ago
.gitignore 0b51ece390 Added a .gitignore file 4 years ago
Makefile acecfe5221 Added Makefile 4 years ago
README.md be3efe9c55 Added a link to Wikipedia's stack machine page 4 years ago

README.md

Micro VM

A virtual machine implementation in C.

This project serves as a gentle introduction to emulation and virtual machine development. The machine is based on the stack machine described here.

alt text

Requirements

  1. gcc or clang
  2. make

Building

Two make tasks exist for building the application and cleaning up the build. The two tasks are listed below:

  1. make will build the application, the binary will be located in bin/
  2. make clean will clean out the bin/ directory

License

The MIT License (MIT)

Copyright (c) 2015, Corey Prophitt.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.