opCode: virtual machine examples
Davis, Anthony
- 出版商: ADavis Publishing
- 出版日期: 2019-11-25
- 售價: $1,020
- 貴賓價: 9.5 折 $969
- 語言: 英文
- 頁數: 192
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1734314508
- ISBN-13: 9781734314502
-
相關分類:
Go 程式語言
海外代購書籍(需單獨結帳)
商品描述
In this book, we jump into a virtual machine, compiler and opcodes, without needing to read about parsing first. The language is already written, meaning you can dive into the source code of a working language right from the start (a programming language called langur, written in Go). Discover how to develop some very useful features, such as multi-variable assignment, decoupling assignment, string interpolation, short-circuiting operators, for loops, scoped if expressions, and more. We review how opcodes make these things work in a stack-based virtual machine.