-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
simple-virtual-machine | ||
====================== | ||
|
||
A simple VM for a talk on building VMs. | ||
A simple VM for a talk on building VMs in Java. See [video](https://www.youtube.com/watch?v=OjaAToVkoTw) and [slides](http://www.slideshare.net/parrt/how-to-build-a-virtual-machine). | ||
|
||
[A C implementation](https://github.com/codyebberson/vm) | ||
There are two branches: | ||
|
||
* [master](https://github.com/parrt/simple-virtual-machine). Basic instructions only (no function calls). | ||
* [add-functions](https://github.com/parrt/simple-virtual-machine/tree/add-functions). Includes CALL/RET instructions, runs factorial test function. | ||
* [split-stack](https://github.com/parrt/simple-virtual-machine/tree/split-stack). Split into operand stack and function call stack. | ||
|
||
This branch supports function call/return. | ||
[A C implementation](https://github.com/codyebberson/vm) |