Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-05-31 09:12:26


Would boost be interested in using this semdesigns reformatter?
One question is where we'd put the code. I guess whoever
is in charge of checking the boost submittals would keep it,
but I suppose that rotates from one person to another. I'd be
happy to test the beta and show the results.

Ira Baxter wrote:

> Larry,
>
> I think we'd be happy to provide
> a source formatter, no charge,
> provided you're happy to work with
> a Beta and you tell people that
> you are using it.
>
> The Beta should be extremely
> good in general; the kinds of troubles you
> are likely to have revolve around
> parsing source code with macros
> and conditionals in crazy places.
> Example:
>
> if (...)
> {...stmts
> #if ...
> }
> else
> {
> #endif
> ...stmmts }
>
> [If I catch people putting this in
> our code, I shoot them.
> Unceremoniously. Since you are
> an open source site, you might
> not be so harsh, but that doesn't
> make this any prettier or easier
> to parse.]
>
> I looked only breifly at your
> style guidelines. You have rather
> a lot. We might not do everything
> you want. Still, reformatting
> with a standard will help.
>
> Doing one yourself from scratch will
> be a royal pain (but I'll bet you
> already know that). And you'll still
> have the same (or worse, we have some
> very clever tricks) troubles
> parsing the preprocessor directives.
>
> -- IDB
>
> > -----Original Message-----
> > From: Larry Evans [mailto:jcampbell3_at_[hidden]]
> > Sent: Wednesday, May 29, 2002 10:18 AM
> > To: Ira Baxter
> > Subject: reformatter for boost c++ code?
> >
> >
> > Boost ( http://www.boost.org/ ) contains a lot off boost c++
> > code which
> > boost would like standardized (
> > http://groups.yahoo.com/group/boost/files/coding_guidelines.html ).
> > Your code formatter page:
> >
> > http://www.semdesigns.com/Products/Formatters/index.html
> >
> > suggests you could produce the needed formatter to conform to
> > these coding_guidelines.
> >
> > Would your company consider supplying a c++ formatter to
> > boost free of charge or for a nominal
> > charge since boost is obviously non-profit and has no income source?
> >
> > I'm currently trying to produce one with Lilley's c++ parser
> > ( http://www.empathy.com/pccts/index.html ) ,
> > but I'd certainly be glad to help with creation of yours for
> > boost. I'm pretty sure it would save me
> > some time ;).
> >
> > TIA.
> >
> >
> >


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk