Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bakkdoor/stupidvm

simple & stupid virtual machine written in c. this is just a little experiment and for hackings sake ;)
https://github.com/bakkdoor/stupidvm

Last synced: 1 day ago
JSON representation

simple & stupid virtual machine written in c. this is just a little experiment and for hackings sake ;)

Awesome Lists containing this project

README

        

---------------------------------------------------------------------
stupidvm v0.1

stupidvm is a stupid virtual machine written in C.

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 (C) 2009 Christopher Bertels
---------------------------------------------------------------------

-------------------
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.