comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Literate Programming
Date: Tue, 08 Sep 2009 09:09:14 +0200
Date: 2009-09-08T09:09:14+02:00	[thread overview]
Message-ID: <ruv48h.f2a.ln@hunter.axlog.fr> (raw)
In-Reply-To: <eae3e639-6a5e-42f5-8dc4-b8333afb0a23@o10g2000yqa.googlegroups.com>

Yannick Duch�ne Hibou57 a �crit :

[Lot of interesting stuff about literate programming deleted]

> The basic idea in literate, is that the implementation approach is not
> the same as the understanding approach. A quick image could be to
> point that when one figure out how something works, his/her wordings
> may introduce B before A, while the implementation may requires A to
> be defined before B (different process, different requirements). This
> is just an example, just think about the idea that the understanding
> process is not the same as the implementation process.
> 
> A fundamental function of literate, is called tangling. This is the
> function which take one view which purpose is to be the implementation
> view and combines parts as referenced in this view, to make up the
> implementation. It produce an output which is the implementation
> expected by the language.
> 
This looks a lot like what HOOD (and HOOD tools) do: diagrams and
documentation for understanding, separate pieces for the code. Then the
tool can extract documentation and/or programs, by extracting the pieces
and providing the glue.

Do you think we could advertise HOOD as literate programming ;-) ?
-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



  reply	other threads:[~2009-09-08  7:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06  3:08 Literate Programming Hibou57 (Yannick Duchêne)
2009-09-07  8:38 ` Stephen Leake
2009-09-08  3:51   ` Yannick Duchêne Hibou57
2009-09-08  7:09     ` Jean-Pierre Rosen [this message]
2009-09-08 10:06       ` AdaMagica
2009-09-09  9:47         ` Jean-Pierre Rosen
2009-09-08 11:04       ` Yannick Duchêne Hibou57
2009-09-08 12:14         ` Martin
2009-09-08 16:30           ` Yannick Duchêne Hibou57
2009-09-08 16:51             ` Martin
2009-09-09  8:00     ` Stephen Leake
replies disabled

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