Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lox Interpreter

This is my submission for CodeCrafter's "Build your own interpreter" challenge. It is a fully functional interpreter for the Lox language and implements a complete language pipeline, from raw source text to runtime execution.

Key Features

  • Expressions & Control Flow: Support for arithmetic operations, logical operators, and standard control structures (if/else, while/for loops).
  • First-Class Functions: Full support for function declarations, calls, and Higher-Order Functions.
  • Lexical Scoping & Closures: Implements persistent local environments, allowing functions to "capture" variables from their surrounding scope.
  • Object-Oriented Programming: Supports class declarations, instance instantiation, method dispatch, and Single Inheritance.
  • Error Handling: Reports compilation and runtime errors.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages