Skip to content
/ clox Public

Compiler and VM for Lox programming language

Notifications You must be signed in to change notification settings

dils2k/clox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b3fbe88 · Jul 1, 2023

History

49 Commits
Mar 26, 2023
Apr 1, 2023
Jul 1, 2023
Jun 9, 2023
Jun 28, 2023
Jun 25, 2023
Jun 29, 2023
Jun 9, 2023
Jun 29, 2023
Jan 1, 2023
Mar 7, 2023
Jun 25, 2023
Jun 9, 2023
Jun 18, 2023
Jun 18, 2023
Mar 12, 2023
Feb 25, 2023
Jun 29, 2023
Jun 9, 2023
Mar 22, 2023
Mar 12, 2023
Jun 28, 2023
Jun 25, 2023

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