Skip to content
/ clox Public

Compiler and VM for Lox programming language

Notifications You must be signed in to change notification settings

dils2k/clox

Repository files navigation

Lox language

Example:

fun makeCounter() {
  var a = 0;
  fun count() {
    a = a + 1;
    return a;
  }
  return count;
}

var count = makeCounter();
print count();
print count();
print count();

VM's instruction set is defined in chunk.h

About

Compiler and VM for Lox programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published