comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: Literate Programming in Ada, AdaDoc, AdaBrowse
Date: Sat, 16 Oct 2004 01:50:05 GMT
Date: 2004-10-16T01:50:05+00:00	[thread overview]
Message-ID: <h7%bd.187959$wV.34906@attbi_s54> (raw)
In-Reply-To: rlsfz4jdjuj.fsf@jacob.crs4.it

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2191 bytes --]

"Jacob Sparre Andersen" <sparre@nbi.dk> wrote in message
news:rlsfz4jdjuj.fsf@jacob.crs4.it...
> Steve wrote:
>
> > What I would like to see is a fancy programming editor that allows
> > you to include text, graphics, spreadsheets, etc., in comments.
>
> Why in the comments?
>
Because it makes the writing the tool simple, and minimizes on the amount of
garbage in the source code.

For example, the code might look something like

  ... some code...
end List_Finder;

-- M0410151846

procedure Optimize_Memory_Block( spender : Dirt_Cheap ) is
begin
   ... some more code ...


The editing tool would not show the number, just the comment.  The only time
you would see the number is if you were editing with some other tool (such
as a plain text editor).

Steve
(The Duck)

> But yes.  I have recently missed the possibility of having nice
> integrated mathematical analysis and source code implementing the
> result.
>
> > A way to do this is to maintain the source code as text with special
> > markers referencing the comments, and maintain the comments in a
> > separate file or database.
>
> Why not simply do it by keeping the linking completely separate from
> the source code, just using file names and completely specified Ada
> identifiers?  That will keep the source code nice, clean and readable
> for those who don't use the/a integration tool, and still allow exact
> cross linking between source code and non-source code objects.
>
> For production of documentation, <your preferred type-setting system>
> together with a method for referencing and extracting specific
> sections of Ada source code might do the job.
>
> For integrated editing in multiple formats, something more advanced is
> required, but please don't put non-plain text (including XML, texinfo,
> etc. marker) comments in source code I am going to read.  I actually
> prefer that there is only information that the compiler checks in the
> source code [1].
>
> Greetings,
>
> Jacob
>
> [1] Which makes comments parsed by a SPARK tool acceptable (if I get
>     one ;-)
> -- 
> �I'm perfectly happy with my current delusional system.�
>                                            -- Mirabel Tanner





  parent reply	other threads:[~2004-10-16  1:50 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-09 17:44 Literate Programming in Ada, AdaDoc, AdaBrowse Nick Roberts
2004-10-09 18:39 ` Wes Groleau
2004-10-09 21:04   ` Nick Roberts
2004-10-09 21:39     ` stephane richard
2004-10-09 23:40     ` Wes Groleau
2004-10-10 16:39     ` Simon Wright
2004-10-12  0:42       ` Georg Bauhaus
2004-10-11  7:33     ` Ole-Hjalmar Kristensen
2004-10-09 19:21 ` Pascal Obry
2004-10-09 21:47   ` Nick Roberts
2004-10-09 23:20     ` Björn Persson
2004-10-10  8:28       ` Oliver Kellogg
2004-10-10 10:03         ` Björn Persson
2004-10-10 15:27           ` Stephen Leake
2004-10-09 23:49     ` Wes Groleau
2004-10-10 10:36     ` Pascal Obry
2004-10-10 11:26       ` Marius Amado Alves
2004-10-18  8:17         ` Jacob Sparre Andersen
2004-10-18 11:15           ` Marius Amado Alves
2004-10-18 12:46             ` Björn Persson
2004-10-18 15:39               ` Marius Amado Alves
2004-10-18 13:47             ` Jacob Sparre Andersen
2004-10-09 22:54 ` Lionel Draghi
2004-10-09 22:56 ` Björn Persson
2004-10-09 23:55   ` Wes Groleau
2004-10-10  1:02     ` Björn Persson
2004-10-10 14:02       ` Wes Groleau
2004-10-10  3:29 ` Steve
2004-10-10 14:08   ` Wes Groleau
2004-10-10 15:06     ` Steve
2004-10-10 15:20   ` Stephen Leake
     [not found]   ` <rlsfz4jdjuj.fsf@jacob.crs4.it>
2004-10-15 13:33     ` Marius Amado Alves
2004-10-16  1:50     ` Steve [this message]
2004-10-16 19:46       ` Jacob Sparre Andersen
2004-10-17  3:46         ` Steve
2004-10-10  8:21 ` Stephane Riviere
2004-10-11 23:02   ` Björn Persson
2004-10-11 23:31     ` Missing features in NaturalAdaBrowseDoc Lionel Draghi
2004-10-12  0:14       ` tmoran
2004-10-12 12:58       ` Marc A. Criley
2004-10-12 21:20         ` Lionel Draghi
2004-10-12 17:49       ` Stephane Riviere
     [not found]         ` <416c48a7$0$28918$636a15ce@news.free.fr>
2004-10-12 21:18           ` Lionel Draghi
2004-10-13 16:38           ` Stephane Riviere
2004-10-14 19:56             ` Lionel Draghi
2004-10-15 16:59               ` Stephane Riviere
2004-10-12 17:29     ` Literate Programming in Ada, AdaDoc, AdaBrowse Stephane Riviere
2004-10-10  9:34 ` Andre
2004-10-10 15:24   ` Stephen Leake
2004-10-10 18:04     ` Andre
2004-10-11 23:32     ` Lionel Draghi
2004-10-12  0:13       ` Björn Persson
2004-10-10 15:13 ` Stephen Leake
2004-10-11 20:28 ` Nick Roberts
2004-10-11 22:26   ` Björn Persson
2004-10-12 14:09     ` Nick Roberts
2004-10-13  5:01       ` Pylinius
2004-10-13 16:06         ` Nick Roberts
2004-10-13 17:17     ` Pascal Obry
2004-10-17 18:47   ` Bernhard Mulder
2004-10-18 18:06     ` Nick Roberts
2004-10-19  4:41       ` Bernhard Mulder
2004-10-19  9:52         ` Peter Hermann
2004-10-19 10:01         ` Nick Roberts
2004-10-23 21:39           ` Bernhard Mulder
replies disabled

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