Where to learn about bytecode generation?

故事扮演 提交于 2020-01-03 04:36:58

问题


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



来源:https://stackoverflow.com/questions/27554196/where-to-learn-about-bytecode-generation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!