Skip to content

My C++ implementation of the monkey programming language

License

Notifications You must be signed in to change notification settings

evanxg852000/cppmonkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Releases

No releases published

Packages

No packages published

Languages