| enlivend ( @ 2007-11-22 11:36:00 |
It's been a while since I played with Logo. Back in the mid 80's a friend had it on his Amiga; years later and with mixed results I tried teaching it at my kids' school on a bunch of battered old Archimedes. But now, thanks to code monk, it comes wrapped up in a couple of Javascript files and you can run it in your browser.
The blurb says:
In order to see it working, I recommend you use Firefox (2.0) or Safari 3. Curly Logo's turtle should be visible in the upper half the window, and a text area should be visible in the lower half. At the bottom of the text area is a space for you to type Logo commands. If you haven't tried Logo before you could try typing some of the following:
- fd 100 rt 90
- Moves the turtle forward and turns it.
- repeat 3 [ fd 100 rt 90 ]
- Completes the square started by the previous command.
- cs repeat 7 [ setpw 2 * repcount setpc repcount fd 50 rt 360 / 7 ]
- A septagon using the 7 colours of the rainbow and a varying pen width
In order to use Curly Logo you'll need a browser that implements XML, XHTML, SVG, CSS, and JavaScript (Totally Buzzword Compliant). In 2007 that means you need Firefox 2 or Safari 3. Internet Explorer support is not. You might be able to convince me on esoterica like Opera (it kind of half works in Opera without me having tried at all).
You do not require an internet connexion; once you have downloaded the Curly Logo page and associated JavaScript pages, Curly Logo does not use the network. That means you can save the page and reload it later from your local disk. Curly Logo is not a AJAX application (it is a JAX application), it does not evaluate anything by sending it to a server and expecting a response; all computation and display is performed locally in the web browser by executing JavaScript.
OK, it's not lisp (but it got me thinking - what's the pain in embedding a smallish lisp in Javascript?). But I have a certain fondness for it.