Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lox

This is an implementation of the Lox programming language. It follows the book Crafting Interpreters by Robert Nystrom.

Usage

cargo run --release -p lox-cli -- <program>

Features

  • Basic Expression Evaluation
    • Arithmetic operations
    • Boolean operations
    • Comparison operators
  • Variables and State
    • Variable declaration and assignment
    • Block scoping
    • Static scoping
  • Control Flow
    • If statements
    • While loops
    • For loops
    • Block statements
  • Functions
    • Function declarations
    • Return statements
    • Function calls
  • Closures
    • First-class functions
    • Lexical scoping
    • Closure creation and usage
  • Classes
    • Class declarations
    • Method declarations
    • Inheritance
    • Class methods
    • Getters
  • Bytecode Compiler
  • Bytecode VM

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages