CW Pascal TCL Port 1.0

User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
CW Pascal TCL Port 1.0

Post by Info-Mac » March 16th, 1996, 11:00 am

Download: http://archive.info-mac.org/dev/cw/cw-p ... ort-10.hqx

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
Post Reply