Next: Hints, Previous: Error messages, Up: Top [Contents][Index]
The easiest way to create a working VM interpreter with Vmgen is probably to start with vmgen-ex, and modify it for your purposes. This chapter explains what the various wrapper and generated files do. It also contains reference-manual style descriptions of the macros, variables etc. used by the generated code, and you can skip that on first reading.
| • VM engine: | Executing VM code | |
| • VM instruction table: | ||
| • VM code generation: | Creating VM code (in the front-end) | |
| • Peephole optimization: | Creating VM superinstructions | |
| • VM disassembler: | for debugging the front end | |
| • VM profiler: | for finding worthwhile superinstructions |