I'm trying to learn about generating code for a virtual machine. Where can I find out more about this, any useful books that are about this topic? This is probably a bad question for Stack Overflow, but I'm really confused and I've searched everywhere for a good resource.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Off-topic, however:
read Queinnec's Lisp in Small Pieces
study the source code of lua (5.2 or newer), of nekoVM, of Ocaml bytecode interpreter (file byterun/interp.c
), and of parrot