Author: Robert Hyatt
Date: 12:11:41 12/03/03
Go up one level in this thread
On December 02, 2003 at 13:42:55, Gian-Carlo Pascutto wrote:
>On December 02, 2003 at 13:38:06, Georg v. Zimmermann wrote:
>
>>The end of a part of my legal move generation routine currently looks like this:
>>
>>-----------------------------------------------------------------
>>
>> }
>>
>>
>> }
>>
>>
>> }
>> }
>> }
>>
>>
>> goto label_NextPiece;
>>
>> }
>> // other pieces cant pin us
>> }
>>
>>
>> }
>> }
>>---------------------------------------------------------------------
>>
>>We are not amused.
>>
>>This is due not only to my incompetence but also due to trying about 6 differen
>>source code editors all of which dont support reasonable source code allignment,
>>but have some fancy bullsh** features instead.
>>
>>Now I need some source code beautifier which can produce smth like (my prefered
>>style):
>>
>>if (ifClauseExample)
>>{
>> for (forExample = 1; ;)
>> {
>> if (oneLineIf)
>> shouldLookLikeThis();
>> }
>>}
>>
>>and which I can configure in reasonable time without having to read 500
>>man-pages.
>>
>>Help very much appreciated,
>
>GNU indent (from GNU textutils). I'm sure there's a windows port
>somewhere. Or download Emacs for Windows, select all code, and press
>'tab'.
>
>--
>GCP
I looked at indent (I had not looked at it in a long time) and it does the
very things my saved "cb" program does. IE the "cuddle" options and the
like to make if's look like this:
if (exp) {
code
}
And the like...
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.