Project for Programming in C MSc module. A recursive descent parser and interpreter for a "turtle graphics" language, similar to LOGO.
The program parses and interprets .TTL files stored in the /TTL folder. See grammar.txt for the formal grammar of the TTL language.
To parse:
./parse TTLs/filename.ttl
To interpret with output to terminal:
./interp TTLs/filename.ttl
To interpret with output to .txt file:
./interp TTLs/filename.ttl filename.txt
Requires Valgrind, which has limited support on macOS.