Indenting/formatting Kaffe's source code (was Re: Codeing style questions) (fwd)

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Fri Dec 18 1998 - 12:07:50 EST


 Oh my gosh. That is just what we need. ;-)

Forwarded message:
> From kaffe@rufus.w3.org Fri Dec 18 10:06:02 1998
> Resent-From: kaffe@rufus.w3.org
> Resent-Date: Fri, 18 Dec 1998 11:59:10 -0500
> Resent-Message-Id: <199812181659.LAA03416@rpmfind.net>
> X-Authentication-Warning: rpmfind.net: majordom set sender to owner-kaffe@rufus.w3.org using -f
> Message-ID: <002401be2aa7$3f2050a0$799075c0@dvash.bgu.ac.il>
> From: "Tal Davidson" <davidsont@bigfoot.com>
> To: <kaffe@rufus.w3.org>
> Subject: Indenting/formatting Kaffe's source code (was Re: Codeing style questions)
> Date: Fri, 18 Dec 1998 18:55:39 +0200
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-8"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 4.72.3110.5
> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
> Sender: owner-kaffe@rufus.w3.org
> Precedence: bulk
> Reply-To: kaffe@rufus.w3.org
> Errors-To: kaffe-error@rufus.w3.org
> X-loop: kaffe@rufus.w3.org
> X-mailing-list: kaffe@rufus.w3.org
>
> Hi,
>
> Derek's letter raised an interesting proposal in my mind. I hope it will be
> helpful for Kaffe:
>
> I am the creator of Artistic Style - an open-source indenter and formatter
> of java, C++ and C source code files. Artistic Style has been out for almost
> half a year, and has a growing user-base of thousands of programmers
> worldwide. Moreover, I am being helped by a growing active
> bug-tester/contributer base, and all of us are working in the pure interest
> to create the best formatter/indenter possible, for the pure joy of it.
> Artistic Style is currently indenting/formatting the source files of MANY
> MANY different projects, from open-source projects - to commercial companies
> worldwide.
>
> Perhaps the programmers of Kaffe would be interested in formatting Kaffe's
> code to a uniform format, or just prettyfying their source code, using
> Artistic style.
>
> Artistic Style's URL is:
> http://www.bigfoot.com/~davidsont/astyle
>
> Enjoy!
> Tal Davidson
>
> -----Original Message-----
> From: Derek L Davies <ddavies@world.std.com>
> To: kaffe@transvirtual.com <kaffe@transvirtual.com>
> Date: Friday, December 18, 1998 6:45 PM
> Subject: Codeing style questions
>
>
> >
> >I have two questions regarding the coding style in the VM.
> >
> >1) in kaffe-1.0.b3/kaffe/kaffevm/readClassConfig.h I see stuff like
> >this:
> >
> > do {
> > /* blah, blah, blah */
> > } while(0)
> >
> >How is this semantically different from just opening a block, i.e.:
> >
> > {
> > /* blah, blah, blah */
> > }
> >
> >2) in kaffe-1.0.b3/kaffe/kaffe/main.c there's a comment asking "Why do
> >we split main into two parts?" Does anyone know the answer to this?
> >
> >Thanks!
> >Derek
> >
> >
> >
>
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:22 EDT