Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Q: TCL/TK front end for Logo

2 views
Skip to first unread message

Steve Furlong

unread,
Oct 25, 1999, 3:00:00 AM10/25/99
to
I want to write a "visual Logo" interpreter to get my 4-year-old started
as a geek. It should be multi-platform, so TK seems a natural starting
point. I'm new to TCL and TK, so I want to run my ideas past youse.
Assuming I ever get a working version, I plan to release this under the
GPL, so you don't need to worry about my picking your brains for
commercial gain.

The user interface, written in TK, will have push buttons for the user
to tell the turtle to move forward one unit, turn left, and the like.
The commands will be catenated into a text string containing Logo
commands. The Logo interpreter will take this string and produce another
string, this one containing TK palette commands to draw the picture.

I don't expect much difficulty on the Logo end. I haven't looked at the
guts of any Logo interpreters recently, but I assume they have a
division between the interpreter proper and the graphical output
subsystem. That being the case, it shouldn't be too difficult to change
the output from graphics subsystem commands to TK commands.

Does all this sound workable on the TCL/TK end? Send comments by email
or posting; if I get substantive comments by email I'll summarize them
here.


Thanks,
Steve Furlong, geek and dad

Jeffrey Hobbs

unread,
Oct 25, 1999, 3:00:00 AM10/25/99
to Steve Furlong
Steve Furlong wrote:
> I want to write a "visual Logo" interpreter to get my 4-year-old started
> as a geek. It should be multi-platform, so TK seems a natural starting
> point. I'm new to TCL and TK, so I want to run my ideas past youse.
...

> The user interface, written in TK, will have push buttons for the user
> to tell the turtle to move forward one unit, turn left, and the like.
...

> Does all this sound workable on the TCL/TK end? Send comments by email

Great idea. Tk is very well suited to such. IIRC, It should be
rather easy to build a logo interpreter in Tcl/Tk. The interface
would be a big bonus on top, and also easy.

--
Jeffrey Hobbs The Tcl Guy
jeffrey.hobbs at scriptics.com Scriptics Corp.

lvi...@cas.org

unread,
Oct 26, 1999, 3:00:00 AM10/26/99
to

According to Steve Furlong <fur...@alumni.rpi.edu>:
:I want to write a "visual Logo" interpreter to get my 4-year-old started

:as a geek. It should be multi-platform, so TK seems a natural starting
:point. I'm new to TCL and TK, so I want to run my ideas past youse.
:Assuming I ever get a working version, I plan to release this under the

:GPL, so you don't need to worry about my picking your brains for
:commercial gain.

Sounds great! Note that in

<URL: http://www.purl.org/NET/Tcl-FAQ/part5.html>
What: turtle graphics
Where: <URL: ftp://ftp.neosoft.com/languages/tcl/sorted/packages-7.6/unknown/TkTurtle-1.0.shar.gz>
Description: Extended Tcl/Tk simple Logo-like turtle graphics package.
Updated: 10/1998
Contact: <URL: mailto:k...@comp.vuw.ac.nz> (R James Noble)


This code is based on an older version of tcl, but may give you ideas on things to do ...

--
<URL: mailto:lvi...@cas.org> Quote: Pikachu, I choose you!
<*> O- <URL: http://www.purl.org/NET/lvirden/>
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

0 new messages