Skip to content

Latest commit

 

History

History
executable file
·
31 lines (24 loc) · 905 Bytes

README.md

File metadata and controls

executable file
·
31 lines (24 loc) · 905 Bytes

CPP Monkey:

This is my implementation of the monkey programming language following the wonderful book Writing An Interpreter In Go. You should definetly grab a copy if you still struggle with Operator Precedence Parsing. Catch2 is being used for tests.

Try it:

The code is self contained as a dockerized app.

Build & Jump inside the container:

$ docker build -t cppmonkey .
$ docker run -it --rm -v "$PWD":/usr/project cppmonkey

Run the test

$ ./entrypoint.sh ftest

Run the REPL

$ ./entrypoint.sh frun

Note:

The primary raison d'être of this repo is to learn compilers and C++. Please help review my c++ code, suggest improvement, best practices and idoms.

Online C++ Docs: