Re: Looking for a code beautifier for Informix -4gl
Posted in 1996
I wrote a program to indent and beautify 4GL source code and can email you anyone a copy if required. Send email request to 75052.1341@compuserve.com ( I am out till 8/19) The program is 'c' source code and requires cc to compile. It is very simple and 95% complete. The only keywords it struggles with are those that span multiple lines ie. DEFINE x INTEGER is ok DEFINE x INTEGER, y INTEGER causes this line not to be indented. I am happy to fix problems in the program or for others to modify it to complete the last 5% - I just ran out of time. It indents 4 spaces at a time and replaces all tabs with spaces. I have used it extensively and you do not ever lose any code, though I imply no warranty etc. so you can't sue me :-) Paul Redman