Catalog · How the catalog works
plox
Pascal implementation of the Lox interpreter
- ★ 1 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
PLOX
Plox is a FreePascal implementation of the lexers and parsers at https://craftinginterpreters.com/ for the language Lox, created by Bob Nystrom.
As a way to better understand how lexers and parsers work I'm working my way through the website and implementing the Java code as presented on the site, and also converting the code to a FreePascal implementation.
I'm opting to follow the structure as presented on the website by Bob Nystrom for most things, with just a few small changes as needed.
FPC and Lazarus
I'm using FPC 3.3.1 and Lazarus 2.1.0 but there's not really any exotic code here, any recent versions should work just fine.
Status
This is an ongoing project. My goal is to implement everything presented on the website in FPC to get a deeper understanding of how compilers work and how to write my own.

