Translating and Compiling Delila Programs with P2C

The Delila programs can be automatically translated to C using David Gillespie's p2c translater. They then can be compiled by the gcc compiler.

Any program that uses the getdatetime routine to stamp output with the date and time must have the correct version of that routine. You must replace the time package with the correct one.

Archive of Delila programs.

To translate

To compile

A directory containing C versions of programs is available. I used the p2c program to automatically convert them to C. Translated programs have generally compiled and run fine.

Script for Translation and Compilation

Translation from Pascal and compilation can be conveniently done by the tc conversion script, which uses the gcc C compiler. For translation you will need a p2crc file. The test program to use for this is test.p.

Run Time Problems


If you try p2c and it works or if you have trouble compiling, please email me.

color bar
Small icon for Theory of Molecular Machines: physics,
chemistry, biology, molecular biology, evolutionary theory,
genetic engineering, sequence logos, information theory,
electrical engineering, thermodynamics, statistical
mechanics, hypersphere packing, gumball machines, Maxwell's
Daemon, limits of computers

Schneider Lab

origin: 1999 April 30
updated: 2012 Mar 08
color bar
U.S. Department of Health and Human Services  |  National Institutes of Health  |  National Cancer Institute  |  | 
Policies  |  Viewing Files  |  Accessibility  |  FOIA