comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: Gnat pretty printing
Date: 1998/12/11
Date: 1998-12-11T00:00:00+00:00	[thread overview]
Message-ID: <74q8jq$oto$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 74oa8h$2dj$1@nnrp1.dejanews.com

In article <74oa8h$2dj$1@nnrp1.dejanews.com>,
  okellogg@my-dejanews.com wrote:
> In article <366E86FF.64933A71@lmco.com>,
>   Steve O'Neill <steven.m.oneill@lmco.com> wrote:
> >
> > Well GNAT the compiler doesn't do this (nor would I
expect it to).
>
> This is one GNAT feature I had been toying around
implementing
> but haven't got around to doing. It's certainly not
difficult to do this.
> In previous versions of GNAT there was some option that
> reproduced the source from the internal syntax tree. The
only thing
> to do would have been, adjust identifier capitalization
and preserve
> comments.
>
> -- Oliver
>
> -----------== Posted via Deja News, The Discussion
Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or
Start Your Own
>

This is not quite so simple, this approach would lose
the comments. There is no simple way to avoid this. I
think it would be better to use a separate tool, e.g.
build on emacs.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1998-12-11  0:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-09  0:00 Gnat pretty printing Matt Tyler
1998-12-09  0:00 ` Tom Moran
1998-12-09  0:00   ` dennison
1998-12-09  0:00     ` Tom Moran
1998-12-09  0:00 ` David C. Hoos
1998-12-09  0:00 ` Steve O'Neill
1998-12-10  0:00   ` okellogg
1998-12-11  0:00     ` dewarr [this message]
1998-12-09  0:00 ` dennison
1998-12-09  0:00 ` Marin David Condic
1998-12-09  0:00   ` David C. Hoos
1998-12-10  0:00   ` Martin C. Carlisle
1998-12-11  0:00     ` Michael F Brenner
1998-12-11  0:00       ` Bob Collins
1998-12-11  0:00       ` dewarr
1998-12-11  0:00       ` Stephane Barbey
1998-12-11  0:00       ` Bryce Bardin
1998-12-11  0:00     ` Marin David Condic
1998-12-12  0:00       ` Simon Wright
1998-12-14  0:00         ` dennison
1998-12-15  0:00         ` Marin David Condic
1998-12-15  0:00           ` Matthew Heaney
1998-12-15  0:00             ` Marin David Condic
1998-12-19  0:00               ` Lieven Marchand
1998-12-15  0:00           ` dennison
1998-12-15  0:00             ` Marin David Condic
1998-12-16  0:00               ` Matthew Heaney
1998-12-16  0:00               ` dennison
1998-12-16  0:00                 ` Matthew Heaney
1998-12-16  0:00                 ` Chris Morgan
1998-12-18  0:00                   ` dewar
1998-12-17  0:00                 ` Dale Stanbrough
1998-12-12  0:00       ` Robert A Duff
1998-12-13  0:00         ` Ehud Lamm
1998-12-15  0:00         ` Marin David Condic
1998-12-14  0:00     ` Robert I. Eachus
1998-12-21  0:00     ` BARDIN Marc
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox