markmurphydev / clox

Bytecode interpreter for the clox language, following Crafting Interpreters book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clox Interpreter

Bytecode

Resembles machine code. Targets idealized machine.

Compiler -> Bytecode -> VM

Virtual Machine

Needed to run the bytecode Adds overhead Gives portability (write it in C)

Structure

Opcode

1-byte, controls the kind of instruction

About

Bytecode interpreter for the clox language, following Crafting Interpreters book


Languages

Language:C 98.9%Language:Makefile 1.1%