Yukihiro Matsumoto wrote: > In message "Re: How to clean out my stack" > on Sat, 25 Sep 2004 03:10:03 +0900, "Phlip" <phlip_cpp / yahoo.com> writes: > > |So, how to clean up a local stack? > > How about wrapping user code in the non-iterating block? > E.g. > > loop { > ..user code.. > break > } That did it - thanks! BTW major props for this bitchen language, holmes. I'm writing a front-end for this: http://flea.sourceforge.net/ Those shapes come from command sets like this: b.tube.shorter(0.8).left.link(b) That tells the 'b' chromosome (axiom, turtle, whatever) to draw a tube, then get shorter, bend to the left, and recurse into itself. The result (rendered in POVray) is a spiral. http://flea.sourceforge.net/link_example.png Traditionally, you write a file called something.flea, and run a command line script to render it. I'm writing an editor to put the Flea commands into a panel on the left, and an OpenGL output on the right. So this requires me to embed Ruby inside this editor. I could have also written the editor in Ruby, but I chose C++ because I'm a masochist. -- Phlip http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces