Skip to content
/ shlox Public

Csharp implementation of Lox interpreter based on Bob Nystrom's Book "Crafting Interpreters"

License

Notifications You must be signed in to change notification settings

crfloyd/shlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shlox

shlox is a C# implementation of a parser and interpreter for the Lox programming language. This interpreter and the Lox language is based on Bob Nystrom's Book "Crafting Interpreters". This project can be run in REPL mode or against a file by passing it a the first argument.

Running the REPL

dotnet run from the /src folder

Running a file

dotnet run file-name

Other Notes

The /tools folder contains a Python script for generating the expression and statement AST classes. When executed, this script will use the data in the expr-defs.txt and stmnt-defs.txt files to generate the classes.

About

Csharp implementation of Lox interpreter based on Bob Nystrom's Book "Crafting Interpreters"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published