8000 GitHub - jsadaa/php-lox: PHP implementation of the Lox language first interpreter from the amazing book Crafting Interpreters by Robert Nystrom. · GitHub
[go: up one dir, main page]

Skip to content
jsadaaPublic

About

PHP implementation of the Lox language first interpreter from the amazing book Crafting Interpreters by Robert Nystrom.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPLOX

This is a PHP implementation of the Lox language first interpreter from the amazing book Crafting Interpreters by Robert Nystrom.

Notes

This is actually still a work in progress, but I'm trying to keep it as close to the original as possible (with some PHP specific changes and some personal tests).

While it could obviously not make sense to implement an interpreter for an interpreted language with another interpreted language, I'm doing this for fun and learning purposes !

Installation

You can install the project with the following command:

composer install

Usage

You can run the interpreter with the following command:

php lox.php

You can also run a Lox script with:

php lox.php path/to/your/script.lox

About

PHP implementation of the Lox language first interpreter from the amazing book Crafting Interpreters by Robert Nystrom.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0