skx/simple.vm
View on GitHub ↗ ★ 478 C archived
Simple virtual machine which interprets bytecode.
6 mentions on Hacker News by 2 people: 0 stories, 6 comments · first 2015-05-09 · latest 2019-08-10
20082026
-
…and usage a little more clearly. For example my own toy language was written in C here: https://github.com/skx/simple.vm And I think I did a good job of showing how to use the instructions. Then for fun I rewrote it in golang…
comment by stevekemp · 2019-08-10 · in Basic Virtual Machine Implementation in C99 -
…instruction set, and write something to process it. A couple of years ago I did that, in C/Perl: * https://github.com/skx/simple.vm Later I rewrote the interpreter/emulator in go: * https://github.com/skx/go.vm The downside with my…
comment by stevekemp · 2018-11-23 · in Goboy: Multi-Platform Nintendo Game Boy Color Emulator Written in Go -
JVM might be much more involved project but here is a simple virtual machine - https://github.com/skx/simple.vm
comment by n_t · 2018-03-15 · in Ask HN: “Write your own” or “Build your own” software projects -
…The project seems reasonably popular, for reasons that I don't understand, but it is very simple: https://github.com/skx/simple.vm
comment by stevekemp · 2017-02-11 · in Show HN: How to write a tiny compiler -
…includes a compiler, a decompiler, support for conditionals, and also an example of embedding): https://github.com/skx/simple.vm Rather than having an enum of opcodes I have a array of pointers to functions - one for each opcode I…
comment by stevekemp · 2015-06-23 · in Implementing a Virtual Machine in C -
…of how to handle branching was what made it more interesting than other similar toy systems. https://github.com/skx/simple.vm
comment by stevekemp · 2015-05-09 · in Implementing a Virtual Machine in C