https://github.com/yumasi/pylox
Python implementation of the Lox programming language from the Crafting Interpreters book.
https://github.com/yumasi/pylox
language lox lox-interpreter lox-language programming-language
Last synced: 11 months ago
JSON representation
Python implementation of the Lox programming language from the Crafting Interpreters book.
- Host: GitHub
- URL: https://github.com/yumasi/pylox
- Owner: Yumasi
- Created: 2023-02-19T10:55:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T16:11:16.000Z (over 1 year ago)
- Last Synced: 2025-01-16T15:57:03.257Z (about 1 year ago)
- Topics: language, lox, lox-interpreter, lox-language, programming-language
- Language: Python
- Homepage:
- Size: 175 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pylox
## Running Pylox
### Prerequisites
- PDM
- Python >= 3.10
### Running with PDM
```sh
pdm run pylox
pdm run pylox
```
## Challenges left
- Interpret and print expression in the REPL (Chapter 8)
## Development
### Activate virtualenv
```sh
eval $(pdm venv activate)
```
### Install pre-commit hooks
```sh
pre-commit install
```