Does anyone have a compiler for this dusty old language? I have a text based program I would like to recompile for OS X. It can run in the command line as far as I'm concerned, but I'd like to have access to it again.
What's p2c? From what I remember in college, C & Turbo Pascal were virtually identical, just some syntactic changes. If there's an easy way to make the switch I'll do it.
I did try p2c, but it runs in classic and gave me about a 95% error rate. Strange.
I'm downloading the GNU Pascal compiler right now and will let you all know how it goes. Any advice on how it functions? I've never had to compile my own command line programs for X. I always had to use DOS or Windows in school.
Classic? Or how about running an old copy of Pascal 3 for PC in a free dos emulator?
Ah, my hope is to get this running on Mac OS X, even if it's on the command line. Would Pascal 3 do that? I don't really mind the fact that a program is in Classic since I sometimes, when push comes to shove, boot my machine in Classic. But, it didn't work anyway.
I did download the beta of that Pascal compiler and installed it. I imagine this is the way to go. Unfortunately it's giving me some errors. They have a FAQ and I believe a forum, so I'll start to enquire over there.
Comments
Ummm, the closest I can think of would be CodeWarrior, which still supports its special kind of Object Pascal.
I can't promise that you won't have to do some recoding, though.
Originally posted by wmf
You might be able to convert it to C. p2c?
What's p2c? From what I remember in college, C & Turbo Pascal were virtually identical, just some syntactic changes. If there's an easy way to make the switch I'll do it.
Originally posted by bunge
What's p2c?
p2c is a Pascal to C translator
It is still in prerelease but it might do the trick.
I did try p2c, but it runs in classic and gave me about a 95% error rate. Strange.
I'm downloading the GNU Pascal compiler right now and will let you all know how it goes. Any advice on how it functions? I've never had to compile my own command line programs for X. I always had to use DOS or Windows in school.
Originally posted by Xool
Classic? Or how about running an old copy of Pascal 3 for PC in a free dos emulator?
Ah, my hope is to get this running on Mac OS X, even if it's on the command line. Would Pascal 3 do that? I don't really mind the fact that a program is in Classic since I sometimes, when push comes to shove, boot my machine in Classic. But, it didn't work anyway.
I did download the beta of that Pascal compiler and installed it. I imagine this is the way to go. Unfortunately it's giving me some errors. They have a FAQ and I believe a forum, so I'll start to enquire over there.
Unless someone else over here has a magic bullet.