To run tests:
Build: cmake --build build -j8
Test: ctest --test-dir build --output-on-failure
Trace Segmentation faults: valgrind --leak-check=full --track-origins=yes ./monkey
Adding support for a new Type:
- Add its class in AST
- inherit from main parent classes
- implement virtual functions
- implement class specific functions
- write basic tests
- create parser function
- register the function
- write more tests
- enjoy a new feature in language