Skip to content

Project for Programming in C MSc module. A recursive descent parser and interpreter for a "turtle graphics" language

Notifications You must be signed in to change notification settings

chriskerrc/turtle-graphics-msc

Repository files navigation

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.

About

Project for Programming in C MSc module. A recursive descent parser and interpreter for a "turtle graphics" language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published