Re: Cocoa and ... Pascal!!!
Re: Cocoa and ... Pascal!!!
- Subject: Re: Cocoa and ... Pascal!!!
- From: email@hidden
- Date: Wed, 4 Dec 2002 15:02:25 -0800
At 3:21 PM -0800 12/4/02, Aidas Dailide wrote:
>
Hello all,
>
>
I have a big question. Is it possible to use Cocoa and Pascal?! Anyway is it really possible to compile Pascal code on os x?
>
>
Thanks,
>
>
Aidas
Let me answer the second question first. Currently the only way to compile Pascal programs for Mac OS X is to use Code Warrior. There is a Pascal front-end for gcc called gpc, but last I heard it did not compile against gcc 3.1. In other words somebody has to sit down and get it to compile.
As for Cocoa you would have to extend the language and make something like Objective-Pascal, which come to think if it would be a cool idea. Pascal has advantages over C.
However even if that were not done, a free Pascal compiler would be very useful in Mac OS X because Carbon has extern pascal interfaces so you could still make very useful Aqua-compliant Pascal apps for Mac OS X.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.