OS4 DepotLogo by Alkaron 
(anonymous IP:,0) 

   Bug tracker
   Locale browser

   o Audio (329)
   o Datatype (47)
   o Demo (186)
   o Development (534)
   o Document (21)
   o Driver (88)
   o Emulation (142)
   o Game (865)
   o Graphics (465)
   o Library (94)
   o Network (203)
   o Office (56)
   o Utility (816)
   o Video (61)

Total files: 3907

Full index file. Download
Recent index file. Download



Support the site

 Readme for:  Development » Language » ptoc.tar.gz


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 05
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:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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

Copyright (c) 2004-2019 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment