Ok, I''ll list the options of my delphi source formatter with keywords
modified for jal
INDENT
1) Number of spaces per indent

Extra indent before
a) begin

Never indent
elsif, else if

Indent comments
Indent compiler directives

Spacing
a)Before and after
b)after only
c)before only

for

   1. =
   2. Math operators (< > = + - / \ )
   3. semicolon
   4. left parenthesis
   5. right parenthesis
   6. is
   7. comma

Line breaks
Always break line (Y/N)

   1. After var
   2. before end
   3. between else and if
   4. after then else do
   5. never before then, do

Remove double blank lines

At least one blank line between procedures/functions

Wrap long lines at column {80}

Capitalization
As per JSG eg. compiler directives

Misc.
Directives in src to prevent source formatting

Ok, these are some of the options available in a freeware delphi source
formatter.

Giving all these options in a file would be easier than passing cmd line
arguments.

Sunish

On Thu, Apr 2, 2009 at 1:25 PM, Sebastien Lelong <[email protected]
> wrote:

> Hi Sunish,
>
> I did a basic test with jallibwin and it works. Any plans to go beyond
>> indentation ? like beautification ?
>
>
> Can you give some rules about this "beautification process" ? At the
> beginning, "reindent" is here to help people writing JSG compliant code.
> Though JSG requires a lot, beauty is left to the coder's appreciation :)
>
> Seb
>
> --
> Sébastien Lelong
> http://www.sirloon.net
> http://sirbot.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to