Skip to content

A jlox implementation in c++, please refer to Bob Nystrom's craftinginterpreters (http://www.craftinginterpreters.com/)

Notifications You must be signed in to change notification settings

alan0201tw/CPP_Lox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lox

Another practicing interpreter project by follow Bob Nystrom's jlox in craftinginterpreters. This is a C++ version.

Caution

Please notice that I started this project when I'm rather unfamiliar with C++, so I am using raw pointers and incorrect access protections here. If you are going to implement lox in C++ by yourself, please remember to use smart pointers, constant references, and initializer list. Just like how Bob uses "final references" in java to prevent false assignment, which is very very important.

This project is also a warning for me, to remind me how bad codes will lower the effectiveness of debugging.

Reference

craftinginterpreters

UNIX exit_code

About

A jlox implementation in c++, please refer to Bob Nystrom's craftinginterpreters (http://www.craftinginterpreters.com/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published