stupidvm
stupidvm is a stupid virtual machine written in C. more…
Basically, I wanted to experiment a little with writing a small and
simple register-based virtual machine. It’s licensed under the GNU
LGPL v3. Have a look at the LICENSE file for more information on
licensing terms.
Copyright © 2009 Christopher Bertels bakkdoor@flasht.de
Short introduction:
If you want to try out stupidvm, check out the example programs in the
examples/ directory. You can compile & run them like this:
$ make
$ ./sasm examples/procedures.sasm procedures.svm
$ ./svm procedures.svm
This will compile both the compiler and the vm via make, compile one
example .sasm file (sasm stands for stupid asm) via svmc, the
svm compiler to a .svm binary bytecode file (svm stands for stupidvm)
and then run it via the svm executable.
stupidvm
main repository for stupidvm
-
Cloning this repository:
git clone git://gitorious.org/stupidvm/stupidvm.git stupidvm cd stupidvm
Add this repository as a remote to an existing local repository:
git remote add stupidvm git://gitorious.org/stupidvm/stupidvm.git git fetch stupidvm git checkout -b my-local-tracking-branch stupidvm/master_or_other_branch


