While picking up some printouts at one of our networked printers today,
I happened across a copy of the MacOS X Unix Porting guide, being
printed by another workmate who has a fondness for Macs.
I noticed that there were 2-3 pages coverin tcl/tk in the section of
ways to write cross platform programs.
Maybe we need to figure out some way to let the MacOS X community know what
the rest of the community is doing...
--
Support Internet Radio <URL: http://saveinternetradio.org/ >
Join Tcl'2002 in Vancouver http://www.tcl.tk/community/tcl2002/
<URL: mailto:lvi...@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting
Larry,
I've got my Tk GUI and Tcl scripts for sending messages to the LEGO
Mindstorms brick working (using the serial port) on Windows, Linux,
and Mac OS9.
<http://www.hempeldesigngroup.com/lego/pbForth/download.html>
Of course, I will eventually make an OS-X version that supports
the USB tower too - pending acquisition of a suitable host machine :-)
It may also interest this group that I generate the assembler source
for the Mindstorms pbForth using Tcl. I have a high-level description
of the Forth kernel written using Tcl source, which is then passed
to the Tcl interpreter for - interpretation. The output is neatly
formatted assembler code, with the goal of porting it to other
assemblers and processors.
Anyways, I've had a blast using Tcl for this project. Cross platform
programming is MUCH easier if you abstract the platform dependencies
in one place.
Cheers, Ralph
>
>
> While picking up some printouts at one of our networked printers today,
> I happened across a copy of the MacOS X Unix Porting guide, being
> printed by another workmate who has a fondness for Macs.
>
> I noticed that there were 2-3 pages coverin tcl/tk in the section of
> ways to write cross platform programs.
>
> Maybe we need to figure out some way to let the MacOS X community know what
> the rest of the community is doing...
There is a Tcl version out there on Sourceforge that is in it's infancy that
uses the MacOSX Frameworks setup. It does not yet have all of the widgets
available, I hope they keep working on it, I like the idea of running my
scripts with the OSX look and feel and without having to startup an Xserver.
Check out the MacOSX Downloads page at Apple for more info. It is under the
Unix category. Or goto:
The 8.4 versions are already compiled for MacOSX just untar it at the /
level to place the libraries in the /Library/Frameworks directory and the
Wish Shell.app will be place in the /Applications directory. I'm still
hoping that they will get it integrated in so that I can run a tcl script as
an executable instead of sourcing it from the Wish Shell. By the way, if
anyone knows how to do this, please pass along the info.
Thanks.
SA