initial public release
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
# vvm.rs
|
||||
|
||||
An implementation of [VVM](https://github.com/hellerve/vvm) in Rust.
|
||||
It's hacky, it's ugly, it works.
|
||||
|
||||
It's my first substantial program in Rust and it looks like crap.
|
||||
It also doesn't work yet, because I screwed up a bit of the call/ret
|
||||
logic.
|
||||
|
31
examples/helloworld
Normal file
31
examples/helloworld
Normal file
@@ -0,0 +1,31 @@
|
||||
CONST 72
|
||||
PRINT
|
||||
CONST 101
|
||||
PRINT
|
||||
CONST 108
|
||||
PRINT
|
||||
CONST 108
|
||||
PRINT
|
||||
CONST 111
|
||||
PRINT
|
||||
CONST 44
|
||||
PRINT
|
||||
CONST 32
|
||||
PRINT
|
||||
CONST 119
|
||||
PRINT
|
||||
CONST 111
|
||||
PRINT
|
||||
CONST 114
|
||||
PRINT
|
||||
CONST 108
|
||||
PRINT
|
||||
CONST 100
|
||||
PRINT
|
||||
CONST 33
|
||||
GSTORE 0
|
||||
GLOAD 0
|
||||
PRINT
|
||||
CONST 10
|
||||
PRINT
|
||||
HALT
|
Reference in New Issue
Block a user