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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news.ecp.fr!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Ada platforms and pricing, was: Re: a new language, designed for safety ! Date: Thu, 26 Jun 2014 04:04:42 +0200 Organization: Ada @ Home Message-ID: References: <1402308235.2520.153.camel@pascal.home.net> <255b51cd-b23f-4413-805a-9fea3c70d8b2@googlegroups.com> <5ebe316d-cd84-40fb-a983-9f953f205fef@googlegroups.com> <2100734262424129975.133931laguest-archeia.com@nntp.aioe.org> <857442918424729589.090275laguest-archeia.com@nntp.aioe.org> <9j4b774g2gbz$.a22j8j4ai1l1$.dlg@40tude.net> NNTP-Posting-Host: 0gipH8doFnFjPXlWycyiNg.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 User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:187243 Date: 2014-06-26T04:04:42+02:00 List-Id: Le Thu, 19 Jun 2014 22:59:38 +0200, Randy Brukardt = a =C3=A9crit: > "Peter Chapin" wrote in message > news:tYmdnRDwdcBVTz_ORVn_vwA@giganews.com... > ... >> My understand is that parsing Ada requires name resolution to resolve= >> syntactic ambiguities. > > Definitely not. Janus/Ada uses a table-driver parser that has absolute= ly = > no > semantic information. There has to be a bit of care in tokenizing (for= = > the > infamous T'('A') example) but parsing is completely normal. If =E2=80=9Cdefinitely not=E2=80=9D, how do you make =E2=80=9CF(A)=E2=80= =9D and =E2=80=9CG(A)=E2=80=9D distinct, when F is = a sub=E2=80=91program and G an array? (the most famous example). Don't = you use = name resolution there? Or else do you use an intermediate construct, lik= e = array access temporarily seen as a function? If not this, how? -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity