wangjw@cs.purdue.EDU (Jingwen Wang) (03/07/91)
Hi, experts, I am going to design a program preprocessor for software transplant. I need to substitute some of the Fortran calls for calls on the new machine. I don't know which is the most efficient way to do this. I have two options: design the preprocessor in C or in awk language. Can someone tell me which is the best way to do this simple substitution task? Or has anyone already done this similar job? Thanks. Jingwen Wang wangjw@cs.purdue.edu
cedman@golem.ps.uci.edu (Carl Edman) (03/07/91)
In article <13716@medusa.cs.purdue.edu> wangjw@cs.purdue.EDU (Jingwen Wang) writes:
I am going to design a program preprocessor for software transplant.
I need to substitute some of the Fortran calls for calls on the new
machine. I don't know which is the most efficient way to do this. I
have two options: design the preprocessor in C or in awk language. Can
someone tell me which is the best way to do this simple substitution
task? Or has anyone already done this similar job?
If it really only is simple substitution you are probably better off
with a sed script than with either awk or C.
Carl Edman
"We hold that what one man cannot morally do, a million men cannot
morally do, and government, representing many millions of men, cannot
do." -- Auberon Herbert
Send mail to Carl Edman <cedman@golem.ps.uci.edu>