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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,429176cb92b1b825 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: AWS Coding Styles (and about boring plain-linear text files in the end) Date: Wed, 19 Jan 2011 12:42:13 +0100 Organization: Ada @ Home Message-ID: References: <24418fa4-8843-4fe6-8c2f-026ea6009b68@g26g2000vbz.googlegroups.com> <87lj2ido9j.fsf@mid.deneb.enyo.de> <4D35F6C8.2060100@obry.net> <4d3608ab$0$7664$9b4e6d93@newsspool1.arcor-online.net> <4d3634a5$0$7664$9b4e6d93@newsspool1.arcor-online.net> <4d36b748$0$6977$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: UTuHy9rq3pRf1b0J6/05DQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/11.00 (Win32) Xref: g2news2.google.com comp.lang.ada:17527 Date: 2011-01-19T12:42:13+01:00 List-Id: Le Wed, 19 Jan 2011 11:04:55 +0100, Georg Bauhaus = a =C3=A9crit: > (Regarding the comment markup, I first thought "{{Frmbloo}}"; > however, mathematical sets, very useful in comments, can have > sets as elements, "{{" becomes ambigous". "{{" might be too > similar to "((", too, the latter being valid Ada source text. > The @{ @} construct, sufficiently unique yet simple, can bracket > inline Ada source of any kind; "@@" (or some another pair) > will---if needed---provide for line-wise switching > complementing "--" and eases the writing of coding examples in > comments. The comments can then be checked by compilers and > tools. Looks good. The use of =E2=80=9C@=E2=80=9D is also quite common in one w= ell known LP = notations : FunnelWeb. So this is a somewhat already existing standard. = = After all, LP writes program text inside of natural text=E2=80=A6 and th= is is = exactly what this is about with comments. According to the authoritative FunnelWeb documentation, which you can = access here: http://www.ross.net/funnelweb/tutorial/intro_hello.html the body of a macros, whose purpose is to expand into program text, is = exactly the same as the one you suggested! This would be a clever re-use= = of one of the most famous LP notation. By the way, this guy, Ross = Williams, the author of FunnelWeb, was also a fan of Ada=E2=80=A6 see ho= w this = story is funny ? ;) > (If programmers didn't suffer from Unicode phobia, the language > designers could pick symbols for bracketing not otherwise used > such as right and left pointing triangles. Alas, digraphs rule...) The font too should not suffer from Unicode phobia. Mono-spaced fonts ar= e = oftenly poor at supporting Unicode (lack of too many character range). I= = would suggest =E2=80=9CDejaVu Sans Mono=E2=80=9D here (good support, the= one I use, so I = can tell). -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]