Skip to content

Uninspired implemention of the Lox programming language in D. Just for learning.

License

Notifications You must be signed in to change notification settings

lmbarros/Deelox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deelox

This is just me following Bob Nystrom's excellent Crafting Interpreters and converting the code to the D Programming Language as I go.

The "treewalk" version is complete, quite boring, undocumented and inefficient. I did no effort to make idiomatic D or anything. It's basically a plain translation. (Maybe except for the AST generation, which uses string mixins for compile-time code generation).

The "bytecode VM" version is ongoing work. I'll try to make it better than the "treewalk", especially with regards to documentation. And since it is a conversion from C anyway, I'll make this version compilable with -betterC. Yet, still likely to be just a plain translation, without much effort to make it look like proper D.

About

Uninspired implemention of the Lox programming language in D. Just for learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages