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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ad988eb0a9545c86 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-24 08:09:23 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!l1-hrz.uni-duisburg.de!sb463ba From: sb463ba@l1-hrz.uni-duisburg.de (Georg Bauhaus) Newsgroups: comp.lang.ada Subject: Re: Problem trying to implement generics. Date: Tue, 24 Apr 2001 15:09:22 +0000 (UTC) Organization: GMUGHDU Message-ID: <9c44v2$1c7$1@a1-hrz.uni-duisburg.de> References: <9b7tce$laf$2@taliesin.netcom.net.uk> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 988124962 1415 134.91.4.34 (24 Apr 2001 15:09:22 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Tue, 24 Apr 2001 15:09:22 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2] Xref: newsfeed.google.com comp.lang.ada:6888 Date: 2001-04-24T15:09:22+00:00 List-Id: Robert A Duff (bobduff@world.std.com) wrote: : It amazes me that Knuth, who is orders of magnitude smarter than me, can : design such an awful language. Writing TeX is like writing an : assembly-language program to generate a document. Except TeX is more : error-prone than most assembly languages. LaTeX is like programming in : a *macro* assembly language, which has some advantages, but causes all : error messages to be totally incomprehensible. The answer to this is, according to some recent publication of his, is that TeX was to be a _backend_ much in the sense of macro assembly. He writes that Steele urged him to add more "control structures". If you are interested in a more Algol-like formatting language (that uses TeX's paragraph breaking and more), Lout might be a choice. It has a component, prg2lout, for include source code in documents, with support for C, Eiffel, Python, and Perl; I've fiddled with adding Ada support, and this has been fairly easy. You can refer to Ada code in comments by quoting it. ftp://ftp.cs.usyd.edu.au/jeff/lout/ http://snark.ptc.spbu.ru/~uwe/lout/ Georg