OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Development » Language » ptoc.tar.gz

Description: Pascal to C Compiler
Install: ptoc.tar.gz
Size: 394kb 5
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
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-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment