(1 / 1)
Date: September 17, 1987 09:44
From: KIM::ALBAUGH
To: @SYS$MAIL:ENGINEER
I have added an "English to C" translator to utl$exe. To be more
precise, I have added the program DECLARE, which takes a (more or less)
plain English declaration and translates it to a C declaration. As usual,
you need to make a foreign command, like:
$ DEC*lare :== $ UTL$EXE:DECLARE
then you can type:
$ DEC array of pointers to functions returning pointers to float
and have it type:
float *(*X[])();
which in fact I just cut from my TPU_DCL buffer, having used Dave's spiffy
DCL command. It can also be used by just running the program and typing
a declaration to be translated in response to its "> ". For (a few) more
details, see DOK:DECLARE.DOC.
Mike
Sep 17, 1987