#4099 NORM Never A: TurtleArt does not support simple recursion

Zarro Boogs per Child bugtracker at laptop.org
Mon Oct 8 13:23:10 EDT 2007


#4099: TurtleArt does not support simple recursion
-------------------------------------------+--------------------------------
 Reporter:  dmd                            |       Owner:  bss                              
     Type:  enhancement                    |      Status:  new                              
 Priority:  normal                         |   Milestone:  Never Assigned                   
Component:  turtleart-activity             |     Version:  Development build as of this date
 Keywords:  recursion recursive turtleart  |    Verified:  0                                
-------------------------------------------+--------------------------------
 TurtleArt as currently implemented does not appear to support even simple
 recursion, so it can't do any of the more interesting things like drawing
 a Sierpinski triangle or a Koch snowflake or even computing a Fibonacci
 number.

 This could be fixed by allowing a stack to take a box (or, better, two
 boxes) as an argument, such that the box would be assigned that value, and
 when the stack exits, the box would return to its previous value.

 LOGO is a great language, but removing recursion from it strips it of most
 of its greatness. Recursion is an important concept that really should be
 available to play with, even in a simple environment like this.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4099>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list