Audio (342) Datatype (51) Demo (203) Development (593) Document (22) Driver (96) Emulation (146) Game (992) Graphics (494) Library (113) Network (228) Office (65) Utility (912) Video (69)
Total files: 4326
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
Ptoc | Description: | Pascal to C Compiler | Download: | ptoc.tar.gz (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 394kb | Version: | 1.0 | Date: | 19 May 2005 | Author: | DaveP ( porter ) | Submitter: | DaveP | Email: | ptoc/happybiscuit com | Homepage: | http://www.garret.ru/¬knizhnik/pascal | Category: | development/language | License: | Public domain | Distribute: | yes | Min OS Version: | 4.0 | FileID: | 769 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 209 (Current version) | | 209 (Accumulated) | Votes: | 0 (0/0) (30 days/7 days) | |
Author: Konstantin Knizhnik
Porter: DaveP
For: AmigaOS4 Update 2 ( or later I hope )
This port does NOT include the graphics library. Instead, use the AmigaOS API
that comes with your SDK directly - you should learn that anyhow ;-)
The idea is that you write your Pascal, use ptoc to convert it to C and then
compile it.
If you install ptoc in a PTOC: assign it might look like this:
ptoc -in mytest.pas -out mytest.c -IPTOC: -ISDK:Includes/Include_h
gcc -o mytest mytest.c -IPTOC: -lptoc -LPTOC:
Then run 'mytest'.
It converts Turbo Pascal too, which should be useful for some of you!
Bugs to ptoc()happybiscuit.com
|