From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,48610c7d031e8a3c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!de-l.enfer-du-nord.net!usenet-fr.net!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Literate Programming Date: Tue, 08 Sep 2009 09:09:14 +0200 Organization: Adalog Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1252397148 15124 195.25.228.57 (8 Sep 2009 08:05:48 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 8 Sep 2009 08:05:48 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:8222 Date: 2009-09-08T09:09:14+02:00 List-Id: 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