skx/go.vm
View on GitHub ↗ ★ 344 Go archived
A simple virtual machine - compiler & interpreter - written in golang
7 mentions on Hacker News by 3 people: 3 stories, 4 comments · first 2018-07-02 · latest 2022-05-08
20082026
-
…which turns a simple assembly-language-like input into bytecodes which are then interpreted: https://github.com/skx/go.vm/ Other examples, along with lua/python which were already mentioned, might include "Writing a compiler in go" this…
comment by stevekemp · 2022-05-08 · in New Assembly Like Programming Language? -
…it meant that I still have the problem of no real programs being written for the machine! https://github.com/skx/go.vm/
comment by stevekemp · 2020-08-15 · in Write Your Own Virtual Machine -
…think I did a good job of showing how to use the instructions. Then for fun I rewrote it in golang https://github.com/skx/go.vm which showed some interesting differences. Your own tastes might differ, but I'd think after the interpreter a…
comment by stevekemp · 2019-08-10 · in Basic Virtual Machine Implementation in C99 -
…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 approach here is that I ignored graphcs, sound, & I/O. These days I'd recommend you write an…
comment by stevekemp · 2018-11-23 · in Goboy: Multi-Platform Nintendo Game Boy Color Emulator Written in Go