Unix Technical Forum

automated reformatting of 4GL and W4GL code?

This is a discussion on automated reformatting of 4GL and W4GL code? within the Ingres forums, part of the Database Server Software category; --> I'm looking for something like the GNU "indent" utility for C code: a utility that reformats 4GL and OpenRoad/W4GL ...


Go Back   Unix Technical Forum > Database Server Software > Ingres

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-16-2008, 02:44 PM
Bill McClain
 
Posts: n/a
Default automated reformatting of 4GL and W4GL code?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-18-2008, 11:04 PM
OldSchool
 
Posts: n/a
Default Re: automated reformatting of 4GL and W4GL code?

On May 15, 12:05*pm, Bill McClain
<20071214.20.wmccl...@spamgourmet.com> wrote:
> 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


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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-18-2008, 11:04 PM
ghingres@yahoo.co.uk
 
Posts: n/a
Default Re: automated reformatting of 4GL and W4GL code?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-20-2008, 06:58 PM
Voyceik
 
Posts: n/a
Default Re: automated reformatting of 4GL and W4GL code?

On May 15, 1:05 pm, Bill McClain
<20071214.20.wmccl...@spamgourmet.com> wrote:
> 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


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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com