alan0201tw / CPP_Lox

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/)


Languages

Language:C++ 99.0%Language:Makefile 1.0%