Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

automated reformatting of 4GL and W4GL code?

1 view
Skip to first unread message

Bill McClain

unread,
May 15, 2008, 12:05:40 PM5/15/08
to
I'm looking for something like the GNU "indent" utility for C code: a utility
that reformats 4GL and OpenRoad/W4GL source into a standard layout.

I need to do this for ESQL/C also, but I think I can accomplish that with a
little python scripting and "indent".

-Bill

OldSchool

unread,
May 16, 2008, 2:50:49 PM5/16/08
to
On May 15, 12:05 pm, Bill McClain

I was asking about something similar way back to 2001....and got no
responses. "Roll your own" would probably be your best bet. I'd give
you what I had as a starting point, but I don't have access to it
anymore. It went with the place I used to be when the chained the
doors shut w/o notice a few years back

ghin...@yahoo.co.uk

unread,
May 17, 2008, 1:43:03 PM5/17/08
to
Hi Bill,

There was an old posting about ABF/OSL.. try the website:
https://osqtools.dev.java.net/ there's a GPL project there..

For OpenRoad I haven't found a tool, but of course you could write
your own ;[ and add it to the OR community projects :-) ]

Cheers

Gary

Voyceik

unread,
May 19, 2008, 1:47:54 PM5/19/08
to
On May 15, 1:05 pm, Bill McClain

Hi Bill,

I maked a utility fews years ago was that the exchange of 4GL code and
convert to Delphi, is a tool that was the conversion of code and
forms.

I do not know whether to make only reindent or macro replacement (END
by end) and leave variables in capital letters, or with the first
letter in uppercase and other lower, that is change aesthetically
reading the source.

Best wishes,

Voyceik

0 new messages