前言:这是 Write your Own Virtual Machine 的第最后一篇文章。主要是来介绍其他语言如何实现这样一个虚拟机。原文在这里
一些在社区里面的人分享了一些他们按照这个教程实现的他们自己的虚拟机。这些项目将帮助那些熟悉其他语言而不是 C 语言的人。欢迎任何 pull request
C
- andyjung-dev extends the tutorial implementation with a few features.
- rpendleton uses assembly implementation of TRAP codes.
- viking well commented and adds tests.
C++
- daniMaarouf Python based debugger.
- jsawruk alternative C and C++ implementation.
Common Lisp
- resttime first Common Lisp implementation.
Go
Haskell
- dmjio first Haskell implementation.
- cleverca22 alternative Haskell implementation.
JavaScript
- rpendleton first JavaScript implementation. Works in the browser.
Python
- Bl41r first Python implementation.
- ianklatzco Python implementation. includes a disassembler.
- paulnameless alternative Python implementation.
- mhashim6 modular Python implementation.
Rust
- erfur alternative Rust implementation.
- KuldeepSinh first Rust implementation.
- twe4ked includes debugging features.
Swift
- hashemi first Swift implementation.
TypeScript
- mrhampson first TypeScript implementation. Node.js only.