-
Notifications
You must be signed in to change notification settings - Fork 0
xinghen91/Logo-Programming-Language-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
**************************************************** Nick Major 0879292 CIS2500 Assignment 2 / Logo 02/13/15 **************************************************** This is an interpreter for a small subset of the Logo Programming Language. The interpreter takes user input one line at a time and produces correct output. This program provides logo-style error messages if the user provides incorrect input. ************ Compilation ************ make (this makes the Makefile) *********************** Running the program(s) *********************** - cd Directory bin/ - ./runMe ***************** Known Limitations ***************** - negative moves - user input length - only 50 commands per use - saving ***************** Commands ***************** Command number description fd move - moves in the positive x or y direction depending on the angle bk move - moves in the negative x or y direction depending on the angle rt angle - rotates current angle clockwise around the unit circle lt angle - moves current angle counter-clockwise around the unit circle pu (n/a) - turtle doesn’t draw behind it pd (n/a) - turtle draws behind it ht (n/a) - the turtle is no longer drawn st (n/a) - the turtle is drawn home (n/a) - resets the turtles position to the starting position setpencolor color - pen can change to blue, red, green, or yellow clean (n/a) - erases all of the pen lines print ____ - prints whatever is in the blank space less than 15 characters new (n/a) - resets the program
About
1st year project, created a small interpreter in c. see assignment 02 outline.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published