Skip to content

AlbertUlysses/PyLox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Port of Lox using Python for Chapters 4-7

Will most likely never port the rest of the second half of the book - I'm most interested in redoing the lang in C but wanted to play around with the scanner, parser, and eval. Also, it doesn't actually even work as eval properly.

To run prompt

uv run src/lox.py

to exit prompt

This is using the Python's built in input function so an empty string will end the eval loop. Keywords like exit() are not implemented.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages