Skip to content
fpotierPublic

About

My implementation of the Lox language

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

69 Commits

Folders and files

Repository files navigation

My implementation of the Lox scripting language written in Go.

Lox is a programming language designed by Robert Nystrom in the book Crafting Interpreters.

Tests

The test suite in test/official_tests comes from the original implementation

Current state

Official test suite

Details
Feature Implementation
assignment ✅
benchmark ✅
block ✅
bool ✅
call ✅
class ✅
closure ✅
comments ✅
constructor ✅
field ✅
for ✅
function ✅
if ✅
inheritance ✅
limit ❌
logical operator ✅
method ✅
nil ✅
number ✅
operator ✅
print ✅
regression ✅
return ✅
scanning ✅
string ✅
super ✅
this ✅
variable ✅
while ✅
empty file ✅
precedence ✅
unexpected character ✅

About

My implementation of the Lox language

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages