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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.ecp.fr!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada platforms and pricing, was: Re: a new language, designed for safety ! Date: Wed, 18 Jun 2014 20:47:43 +0200 Organization: cbb software GmbH Message-ID: References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <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> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: AuYlnUSfTZrfhAkRjyySpQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2243 Xref: number.nntp.dca.giganews.com comp.lang.ada:187058 Date: 2014-06-18T20:47:43+02:00 List-Id: On Wed, 18 Jun 2014 17:34:35 +0000 (UTC), Natasha Kerensikova wrote: > For some reason I'm much more frightened by parsing Ada text than by > code generation. I know the latter is probably not easier than the > former (I'm aware of LLVM vs nested functions), but who said fright is > rational? Oh, but parsing is really simple thing. You do recursive descent all the time. Except for expressions. For expressions you could take this: http://www.dmitry-kazakov.de/ada/components.htm#12.9 Semantic analysis is a hell. Code generation, optimization is a hell within hell, IMO. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de