Skip to content

Grivvus/loxvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A bytecode virtual machine for lox programming language written in zig

crafting interpreters book

build&run

supports latest zig stable release (0.15 at the moment)

zig build && zig-out/bin/loxvm filename.lox # to run debug version
zig build -Doptimize=ReleaseFast && zig-out/bin/loxvm filename.lox # to run optimized version

supports

  • expressions
  • statements
  • control flow (branches, loops)
  • functions
  • closures
  • garbage collection (works only in Debug and ReleaseFast modes)
  • classes, objects and methods
  • inheritance, 'super' calls

the book is finished

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages