https://github.com/schveiguy/dlox
D implementation of Lox from craftinginterpreters.com
https://github.com/schveiguy/dlox
Last synced: 3 months ago
JSON representation
D implementation of Lox from craftinginterpreters.com
- Host: GitHub
- URL: https://github.com/schveiguy/dlox
- Owner: schveiguy
- License: bsl-1.0
- Created: 2024-05-24T17:35:50.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-03T04:11:06.000Z (5 months ago)
- Last Synced: 2025-03-14T19:16:36.941Z (3 months ago)
- Language: D
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Crafting an Interpreter
This is my code that I wrote while reading the book [Crafting Interpreters](https://craftinginterpreters.com/).
It differs in a few aspects:
* I'm using D (of course), not Java or C
* I'm trying to utilize my [iopipe library](https://github.com/schveiguy/iopipe) as a test to see how usable it is.I'm hoping that I get a greater sense of language design out of this exercise, and also get a better sense of how the iopipe API must change for the better.
The phase1 directory is the "Java" tree-walk interpreter.
The phase2 directory is the "C" bytecode interpreter.