comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: ACM Ada Letters
Date: Mon, 10 Nov 2003 10:41:44 +0000 (UTC)
Date: 2003-11-10T10:41:44+00:00	[thread overview]
Message-ID: <bonq18$jke$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 3FAE359C.4080705@noplace.com

Marin David Condic <nobody@noplace.com> wrote:
: Sure, I could always get some form of formatting for publication. Either 
: A) I laboriously translate my Ada code via a word processor and tab 
: stops and whatever else I may need or

(A) shouldn't have to be done when there is a parser for Ada :-)
Indeed with GNAT you can use -gnatt, to some extent, this could
be a starting point.

: B) I laboriously write a program 
: to reformat it into Postscript or something else that can be sucked up 
: by some publishing tool while preserving my monospace alignment. (Still 
: doesn't solve the problem of possibly wanting to make things align 
: within identifiers, but perhaps that is not really necessary.)

No, no, no, the alignment can be done (not overriden) by the
formatting program, either by respecting the space character count,
or by using an alignment algorithm using whatever fonts you have
chosen!  You type plain characters.  The PP program is Ada-aware,
and configurable.  The PP program makes sure that there is alignment,
if and how you want it.  No tabbing needed, no changes or additions
to source code, leave that to the computer :-)

So there is no need for: 

: The question is "How do I get that within my Ada code such that its 
: still a compilable thing and is represented consistently by various 
: IDEs?" I thought the idea was to have proportional fonts as part of the 
: programming ritual and the objection was that monospace fonts make it 
: easy to format code. If its handled all through the editor via some 
: algorithm, it probably won't look the same across editors.

Imagine you want to rename on identifier, possibly changing its
length in characters. With just "space character formatting"
you get into the usual typewriter-style trouble. With a computer
program to assist you if you want, in whatever stage, you don't
have to think about formatting when you write or change code.

Reminds me of the widespread use of spaces, tabs, and pressing
RETURN in place of using paragraph styles, automatic indenation,
automatic or forced page breaking, automatic keep-together features,
etc. that typesetting software and word processors have had for
some time know...


Georg



  reply	other threads:[~2003-11-10 10:41 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 14:15 ACM Ada Letters Hyman Rosen
2003-10-10  5:32 ` Marin David Condic
2003-10-10  6:09   ` Hyman Rosen
2003-10-10 15:05     ` Stephen Leake
2003-10-30 21:56     ` Warren W. Gay VE3WWG
2003-11-05 19:14       ` Pat Rogers
2003-11-06  8:14         ` Preben Randhol
2003-11-06 15:10           ` Stephen Leake
2003-11-06 15:36             ` Preben Randhol
2003-11-06 16:30               ` Stephen Leake
2003-11-06 18:10               ` Wes Groleau
2003-11-07 12:53                 ` Marin David Condic
2003-11-07 13:14                   ` Marius Amado Alves
2003-11-07 14:48                     ` Marin David Condic
2003-11-07 15:59                       ` Pat Rogers
2003-11-07 21:11                     ` Robert A Duff
2003-11-07 22:10                       ` Pat Rogers
2003-11-07 22:18                       ` Marius Amado Alves
2003-11-08 12:40                       ` Marin David Condic
2003-11-08 18:38                         ` Georg Bauhaus
2003-11-09 12:40                           ` Marin David Condic
2003-11-10 10:41                             ` Georg Bauhaus [this message]
2003-11-10 12:48                               ` Marin David Condic
2003-11-10 15:21                                 ` Georg Bauhaus
2003-11-07 22:52                   ` Wes Groleau
2003-11-08 13:01                     ` Marin David Condic
2003-11-06 16:19             ` Pat Rogers
2003-11-06 16:24           ` Pat Rogers
2003-10-10  7:38   ` Preben Randhol
2003-10-10 12:56     ` Marin David Condic
2003-10-10 12:59       ` Preben Randhol
2003-10-10 15:07         ` Stephen Leake
2003-10-10 15:50           ` Preben Randhol
2003-10-30 21:58             ` Warren W. Gay VE3WWG
2003-10-10 19:44           ` Georg Bauhaus
2003-10-11  2:59             ` Georg Bauhaus
2003-12-06 17:37 ` Colin Paul Gloster
2003-12-06 22:46   ` Hyman Rosen
  -- strict thread matches above, loose matches on Subject: below --
2003-10-10 13:28 Beard, Frank Randolph CIV
2003-10-11 15:02 ` Marin David Condic
2003-10-12 12:42   ` Freejack
2003-10-31 20:59     ` Nick Roberts
2003-10-31 23:32       ` chris
2003-11-01  3:07       ` Marin David Condic
replies disabled

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