opCode: virtual machine examples

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.

1135185830
opCode: virtual machine examples

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.

18.0 In Stock
opCode: virtual machine examples

opCode: virtual machine examples

by Anthony Davis
opCode: virtual machine examples

opCode: virtual machine examples

by Anthony Davis

Paperback

$18.00 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

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.


Product Details

ISBN-13: 9781734314502
Publisher: ADavis Publishing
Publication date: 11/25/2019
Pages: 192
Product dimensions: 8.00(w) x 8.00(h) x 0.41(d)

Table of Contents

1: general overview

2: opcodes

3: the VM

4: running langur

5: little things

6: constants

7: retrieving non-constant values

8: operators

9: building things

10: declaration and assignment

11: user-defined functions

12: built-in functions

13: for loops

14: if / given expressions

15: exceptions

From the B&N Reads Blog

Customer Reviews