• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Pascal porting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pascal porting?


  • Subject: Pascal porting?
  • From: Mark Dawson <email@hidden>
  • Date: Mon, 22 Dec 2003 16:10:25 -0800

I'm looking into porting an old (code dates from 94-96) Pascal program to (mach-o). Its not that big (<100K executable, source + resource folder is about 1.3 MB). I'm investigating to see if its feasible.

Data that I do know:
 Completion goal: 2 calendar months
 Doesn't have to run on Windows
 It probably has a life span of less than a year (there's a replacement on the horizon, but that's way behind schedule, and the company wants something that it can sell now, as its Classic sales are dying quickly)


It seems that Metroworks no longer supports Pascal (at least in the 8 & 9 series); however, I've found a gnu variety.

The program seems well written; however, I know that there will be a fair amount of conversion from the traps and window calls to Carbonize it. I'm not sure how good the Pascal compiler is (how buggy), nor am I sure exactly how much Pascal->Pascal conversion there needs to be, so I'm really not sure if doing a double port to C++/Carbon might be just as easy as trying to keep it in Pascal. Additionally, since this program doesn't have to run on Windows, and probably needs to have its UI redone (at least to Aquify it), I was thinking that instead of a double port to C++/Carbon, it might be a good test for a double port into Cocoa. I am just starting to learn Cocoa, but if it truly is easy to get a full fledged program (the infrastructure) up and running quickly, this might be a good test case for switching to Cocoa.

Has anyone had any experience in porting Pascal to Cocoa/OS X to offer any thoughts on strategies?

Thanks,

Marc
_______________________________________________
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.

  • Follow-Ups:
    • Re: Pascal porting?
      • From: Oleg Svirgstin <email@hidden>
    • Re: Pascal porting?
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: question about retain/release
  • Next by Date: Determining Application Inactivity
  • Previous by thread: WebView doesn't play nice with modal session?
  • Next by thread: Re: Pascal porting?
  • Index(es):
    • Date
    • Thread