[Etoys] [IAEP] using the insert function block in turtle art

Walter Bender walter.bender at gmail.com
Mon Feb 9 07:35:54 EST 2009

Thanks for the reply.

I wasn't trying to answer Paul's question. It just brought to mind
something I have been thinking about off and on for a while: could we
use Turtle Art as a stepping stone into Etoys in a manner similar to
what I did with Berkeley Logo. Leverlig the s-expression interface
sounds like the easiest path. Another route would be to just
re-implement Turtle Art in Etoys itself.

I'm on somewhat of a mission right now to see what roads to more
complete programming environments I can open with Turtle Art.


On Mon, Feb 9, 2009 at 6:15 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 08.02.2009, at 20:22, Walter Bender wrote:
>> So if I wanted to export a Turtle Art project to Etoys... how would
>> you suggest I get started?
>> -walter
> I don't think that's what Paul wanted, but an interesting question
> nonetheless ...
> Well, I'd start by making an Etoys project that is equivalent to a TA
> project. The Turtle would be an Etoys sketch, box1 and box2 would be
> variables of that sketch, stack1 and stack2 separate scripts. The world
> should be set to origin-at-center. Most TA blocks have a 1-to-1 mapping to
> Etoys tiles, some non-straightforward ones are arc, set shade, print, wait,
> forever, repeat, stop. In particular the control structures require some
> thought, "forever" maps naturally to a ticking Etoys script, but the
> execution semantics in Etoys are somewhat different so making wait and stop
> work correctly is not trivial. Once you have that you could switch the tile
> script to textual mode and try to export from Turtle Art that textual
> representation. To get the exported text into Etoys I'd suggest
> copy-and-paste first.
> To later actually export an Etoys project the only viable way would be
> Yoshiki's s-expression project format, which is a high-level textual
> description of a project, rather than the default binary object dump. IIRC
> we disabled the textual s-expression loader however, to avoid parsing
> overhead it expects a binary s-expression representation. Yoshiki knows the
> details.
> Anyway, you should post to the etoys list, someone might have much better
> ideas than me.
> - Bert -
>> On Sun, Feb 8, 2009 at 10:56 AM, Bert Freudenberg <bert at freudenbergs.de>
>> wrote:
>>> On 07.02.2009, at 14:13, Paul Schulz wrote:
>>>> - Is there another application I could use?
>>> Did you try Etoys? It's the "shooting star" icon.
>>> - Bert -
>>> _______________________________________________
>>> IAEP -- It's An Education Project (not a laptop project!)
>>> IAEP at lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/iaep

Walter Bender
Sugar Labs

More information about the Etoys mailing list