In article <3f0c65$qv8@info4.rus.uni-stuttgart.de>,
Monika Sester <monika.sester@ifp.uni-stuttgart.de> wrote:
>hi,
>my program is producing new programs which it is able to execute.
>however they don't look very nice.
>is there a possibility to justify the code of the newly produced
>program directly from my program ?
>i.e. is there a routine like the compilation-routine, which does this
>justification ?
>
>compile('new_file.p');
>justify('new_file.p');
While not an ideal solution you can hack something together with -ved_tidy-
(see REF * VED_TIDY), eg:
define justify(file);
vededit(file); ;;; Edit the file
ved_mbe(); ;;; Mark the entire file
ved_tidy(); ;;; Tidy it
ved_wq(); ;;; Write file and quit
enddefine;
Adrian
aids (adrianh@cogs.susx.ac.uk) ObDisclamer: Poplog used to pay my wages
Phone: +44 (0)273 678367 URL: http://www.cogs.susx.ac.uk/users/adrianh/
|