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: 103376,deac256a05c84a59 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nick Roberts Newsgroups: comp.lang.ada Subject: Re: DOM and SAX parsing in Ada Date: Sat, 29 Jan 2005 17:08:47 +0000 Message-ID: References: <41900010.D28DD400@boeing.com> <9CWjd.17305$5K2.1356@attbi_s03> <1106223415.857525.176640@c13g2000cwb.googlegroups.com> <41F4DB6F.4090909@mailinator.com> <35nh12F4oe4caU1@individual.net> <35t2u6F4qc335U1@individual.net> <41fa4288$0$812$9b4e6d93@newsread2.arcor-online.net> Content-Type: text/plain; charset=us-ascii X-Trace: individual.net HhsrW+1VX+MFidRliw0gyAPlXHR/tgfeWbhgM5gkaXjOXgSy8= X-Orig-Path: not-for-mail User-Agent: Gemini/1.45d (Qt/3.3.2) (Windows-XP) Xref: g2news1.google.com comp.lang.ada:8071 Date: 2005-01-29T17:08:47+00:00 List-Id: Georg Bauhaus wrote: > I vaguely remember a discussion of literate programming a few years ago. > One argument was that practical systems weren't present. Well, practical systems certainly are present, and available freely. I think one good source is: http://www.literateprogramming.com/ But most of these systems do suffer from the impracticality of requiring, in general, a 'tangle' of the entire project in order to test any member program after code changes have been made (however tiny) to any part of it. Some systems do offer an 'untangle' facility, permitting changes made to the 'source' files (which are non-original in a traditional literate programming system) to be merged back into the source document files (which are the canonical originals). But this approach has certain dangers, and makes the overall system very complex. I'm developing a 'reverse tangle' tool which takes this idea to the logical extreme of restoring the source code files back to their status as original files (intended to be edited by humans). This means that code changes can be made, and programs rebuilt and tested, using the traditional tool/IDE cycle (no need for any tangling). Reverse tangling is required when formatting the documentation, and the only literate programming tool required is the reverse tangle tool, which is way much simpler. -- Nick Roberts