(index ("forward" 0) ("forwards" 0) ("backward" 219) ("backwards" 219) ("left" 443) ("right" 574) ("turn" 708) ("pen-up" 845) ("pen-down" 971) ("red" 1103) ("green" 1103) ("blue" 1103) ("orange" 1103) ("yellow" 1103) ("brown" 1103) ("purple" 1103) ("turquoise" 1103) ("grey" 1103) ("black" 1103) ("lighter" 1495) ("darker" 1495) ("faster" 1931) ("slower" 2114) ("home" 2292) ("clear" 2584) ("save" 2734) ("goto" 2948) ("go-to" 2948) ("heading" 3185) ("speed" 3351) ("adventure" 3524))
(def (sig (procedure "(forward steps)" (id forward)) (procedure "(forwards steps)" (id forwards))) (p "Moves forward the indicated number of steps. If the pen is down, then a line will be drawn with the current pen."))
(def (sig (procedure "(backward steps)" (id backward)) (procedure "(backwards steps)" (id backwards))) (p "Moves backward the indicated number of steps. If the pen is down, then a line will be drawn with the current pen."))
(def (sig (procedure "(left #!optional angle)" (id left))) (p "Turns left by the indicated angle, which defaults to 90 degrees."))
(def (sig (procedure "(right #!optional angle)" (id right))) (p "Turns right by the indicated angle, which defaults to 90 degrees."))
(def (sig (procedure "(turn direction angle)" (id turn))) (p "Turn in the specified direction (left or right) by the specified angle."))
(def (sig (procedure "(pen-up)" (id pen-up))) (p "Lifts the pen up; no drawing will happen until the pen is again lowered."))
(def (sig (procedure "(pen-down)" (id pen-down))) (p "Lowers the pen to the paper, so lines will be drawn when the turtle moves."))
(def (sig (procedure "(red)" (id red)) (procedure "(green)" (id green)) (procedure "(blue)" (id blue)) (procedure "(orange)" (id orange)) (procedure "(yellow)" (id yellow)) (procedure "(brown)" (id brown)) (procedure "(purple)" (id purple)) (procedure "(turquoise)" (id turquoise)) (procedure "(grey)" (id grey)) (procedure "(black)" (id black))) (p "Switches to a different coloured pen."))
(def (sig (procedure "(lighter)" (id lighter)) (procedure "(darker)" (id darker))) (p "Switches to a lighter or darker version of the current pen. Note that making the pen darker and then lighter again does not get you back to the same colour. Too many darkens will quickly get you to black, and too many lightens will quickly get you to white, so you probably only want a single darken or lighten after choosing a named pen colour!"))
(def (sig (procedure "(faster #!optional factor)" (id faster))) (p "Makes the turtle go faster, by multiplying her current speed by the factor. The default is to double the speed."))
(def (sig (procedure "(slower #!optional factor)" (id slower))) (p "Makes the turtle go slower, by dividing her current speed by the factor. The default is to half the speed."))
(def (sig (procedure "(home)" (id home))) (p "Ends all current adventures the turtle is on, and returns her to her home position, the middle of the screen, facing upwards; she switches back to the black pen, lowers it to the paper, and returns to the initial speed of ten pixels per step."))
(def (sig (procedure "(clear)" (id clear))) (p "Replaces the paper with a fresh sheet, and sends the turtle back home as per the previous command."))
(def (sig (procedure "(save)" (id save))) (p "Saves your current picture. The first time you do this, the turtle will ask you your name. When the picture is saved, it will tell you the file name it saved it as."))
(def (sig (procedure "(goto x y)" (id goto)) (procedure "(go-to x y)" (id go-to))) (p "Teleports the turtle to a given position on the screen, in pixels. 0 0 is the middle of the screen; increasing x goes right, increasing y goes up."))
(def (sig (procedure "(heading angle)" (id heading))) (p "Turns the turtle to point towards the indicated heading. 0 is up, 90 is right, 180 is down, 270 is left."))
(def (sig (procedure "(speed step-size)" (id speed))) (p "Tells the turtle to walk at the specified speed; a step-size of 1 indicates the default of ten pixels per step."))
(def (sig (syntax "(adventure <body>...)" (id adventure))) (p "Tells the turtle that the instructions in the <body>... are an adventure; at the end of the adventure, she is to restore her position, heading, pen colour, and pen up/down status to those at the beginning of the adventure."))
