-
2.5-instructions-are-now-funtion-based835454c4 · ·
current instructions are Allowed input file syntax C FLOAT (C is a char, FLOAT is a float) Combinations F distance (move turtle forward by 'distance', print line if pencil is down) T angle (turn turtle by 'angle' (positive angle counterclockwise)) U (move pencil up) D (move pencil down) [ repetition (start of loop repeat until ']' 'repetition' times) ] (end of loop) { (remember coordinates and angle) } (goto remembered coordinates and angle) WARNING it is not allowed to cross [] and {} e.g {[}] or [{]}
-
2.0-nested-repeat-instructionee6c9db8 · ·
This version is now capable of nesting the new [ and ] 'repetitions' repeat instructions. It does not support the old R 'repetitions' and E instructions! Instruction description: C FLOAT (C is a char, FLOAT is a float) Combinations F distance (move turtle forward by 'distance', print line if pencil is down) T angle (turn turtle by 'angle' (positive angle counterclockwise)) U (move pencil up) D (move pencil down) [ (start of loop) ] repetition (end of loop, jumps to last '[' for 'repetition' times) { (remember coordinates and angle) } (goto remembered coordinates and angle) NOT SUPPORTED ANYMORE R repetition (repeat following operation until E operator 'repetition' times) E (marks end of repetition block)
-
1.0-simple-repeat2a76dd52 · ·
This version only supports the R 'times' and E instructions for repetition, which cannot be nested. Instruction description: C FLOAT (C is a char, FLOAT is a float) Combinations F distance (move turtle forward by 'distance', print line if pencil is down) T angle (turn turtle by 'angle' (positive angle counterclockwise)) U (move pencil up) D (move pencil down) R repetition (repeat following operation until E operator or end of file 'repetition' times, it is not possible to nest these) E (marks end of repetition block) { (remember coordinates and angle) } (goto remembered coordinates and angle)