Info-Mac Archive Downloads: dev/cw/

Back to dev/cw/

CW Pascal TCL Port 1.0 (cw-pascal-tcl-port-10.hqx)

Download cw-pascal-tcl-port-10.hqx (190,561 KB)


From: Ken Beath, kjbeath@ozemail.com.au
Subject: CW Pascal TCL Port 1.0

This is a partially complete (enough to fully run my program, and probably
many others) conversion of Pascal TCL to PowerPC. It is not quite fully
tested as I still have to complete the conversion of some parts of my
actual program code.
The conversion of the exception handling is complete and is based on the
Macapp2 code and then modifying the TCL to work with this (eg I use goto's
rather than retryException).

I haven't done the conversion for
- failure of New Object, I simply check for a returned nil handle
- failure of the dispatcher (my logic is that this is a program bug so you
may as well crash in an undignified way rather than displaying an error
message that the user can't understand and probably won't be able to
continue from anyway).
Both these and the methtables could be completed using MacApp2 code.
- any methtableutils, ie CDialog classes won't work
- anything that uses MDEF's (eg tearoff menus or popups)
Additionally I replaced SF calls with StandardFle, and fixed things to
allow compiling under the 68K compiler as well.

Ken Beath
kjbeath@ozemail.com.au