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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6487f59679c615d8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.231.162 with SMTP id th2mr659312pbc.6.1336581251962; Wed, 09 May 2012 09:34:11 -0700 (PDT) Path: pr3ni6749pbb.0!nntp.google.com!news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 09 May 2012 18:33:49 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Reference Manual 2012 in info format References: <82aa1ud0l3.fsf@stephe-leake.org> <20120509131736.63c924c8@vostro> <17qiwxc1yxhx7$.11tflala8jabh$.dlg@40tude.net> <4faa7790$0$9508$9b4e6d93@newsspool1.arcor-online.net> <1qod0a82z1gx4.6ncrd98m7cz3.dlg@40tude.net> In-Reply-To: <1qod0a82z1gx4.6ncrd98m7cz3.dlg@40tude.net> Message-ID: <4faa9c6e$0$9525$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 09 May 2012 18:33:50 CEST NNTP-Posting-Host: 4dc43880.newsspool1.arcor-online.net X-Trace: DXC=kcL0fmc8EcUV;Ef1`Jk54\ic==]BZ:af^4Fo<]lROoRQnkgeX?EC@@P@eiPY3A=egUnc\616M64>ZLh>_cHTX3j]=R4mBYSO9RQ X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-05-09T18:33:50+02:00 List-Id: On 09.05.12 16:09, Dmitry A. Kazakov wrote: >> Writing math papers and making data traveling automation networks >> seem rather different use cases. > > Yes, though XML is usually advocated as a universal solution for > everything. Suggestions to use XML can be motivated by the force of what everyone else does. So the best options seems to be to clearly demonstrate responsibility of followers for any cost incurred by inappropriate use of XML. > Just two weeks ago, or so, XML was proposed to handle Ada source code. One way to "generalize" an algorithm so that it can be used with any capable language, or presented to "analytical" programs, is to describe it superficially, and loose something. The XML format would not be made for programming, obviously, since then we could stop using specialized programming languages. But, as was said in this thread, XML of the kind that is sufficiently general is easily transformed from and into some other formalism. A more generic source code analysis tool may then analyze just the basic idea, if and only if that is covered in simplified XML. Much like a mathematical description of an algorithm can be transformed into a program, and more easily so if the math is sufficiently general, and sufficiently conventional. With generality you loose something, but the loss seems preferable to inscrutable duct tape software written using every feature of a programming language. procedure Foo ( Bar : in out T1; Baz : in F17); -- does this thing becomes, or is made from, not for reading(!), does this thing Programs that use XML processors and XSL for performing I/O would then not have to know about Ada, C++, C#, Java, Cobol, VB, etc. > Wouldn't be great to have math in XML: The XML text is not well-formed, you need more Ada like verbosity :-) > 3 > 1 3 1