martello@cadre.UUCP (04/21/84)
Can anyone provide any information on a program to convert pascal to C which I believe appeared on the net a while back. Please respond via mail. Thanks in advance. Alan Martello vax135!cadre!martello
HELLER%cs.umass.edu@relay.cs.net (01/27/87)
I have sent you the 2 files for the Pascal to C translator: ptoc.c - The program itself. This simply gets compiled and linked. ptoc.man - A manual. The manual is written in terms of CP/M-68K usage. The I/O redirection is handled differently under VMS. You need to define the logical names SYS$INPUT and SYS$OUTPUT to the input and output files as shown below: $ define /user sys$input something.pas ! input file $ define /user sys$output something.c ! output file $ run ptoc ! run the program. If you have any questions or problems, let me know. Robert Heller ARPANet: Heller@UMass-CS.CSNET BITNET: Heller@UMass.BITNET BIX: Heller GEnie: RHeller FidoNet: 101/27 (Dave's Fido, Gardner, MA) CompuServe 71450,3432 Local PV VAXen: COINS::HELLER UCC Cyber/DG: Heller@CS