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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada platforms and pricing, was: Re: a new language, designed for safety ! Date: Mon, 23 Jun 2014 22:52:16 +0100 Organization: A noiseless patient Spider Message-ID: References: <255b51cd-b23f-4413-805a-9fea3c70d8b2@googlegroups.com> <5ebe316d-cd84-40fb-a983-9f953f205fef@googlegroups.com> <2100734262424129975.133931laguest-archeia.com@nntp.aioe.org> <5156oy7vhg99.17wu6q2ef45ke.dlg@40tude.net> <18et97c0c22vc$.y98lxxfblijn.dlg@40tude.net> <08f83f70-ccb1-45ec-8a4c-46e3442745b8@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="117da9042fa4d6f5956a9b8f72035635"; logging-data="18681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mTbkVGByf+LZYVpGZhr74LjAx1lsAer8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:Md0X5dlco8QuJMo2RH3Be4Pk3C0= sha1:JZhzASWjHDGsrX6FxpD8CQKNja8= X-Original-Bytes: 2447 Xref: number.nntp.dca.giganews.com comp.lang.ada:187209 Date: 2014-06-23T22:52:16+01:00 List-Id: "Dmitry A. Kazakov" writes: > Egh? Ada lacks nothing for programming FSM. It has: > > 1. gotos and labels > 2. access to subprogram type > 3. dispatching > > Ada has enumeration types so that states could be named. Ada has the case > statement checking all alternatives. Ada has ranges in case statement in > order to specify subsets of states and subtypes to name such subsets. > > Thus either possible way of implementing FSM is fully, totally, and > exhaustively supported in Ada. You're describing the assembly language of state machines. Higher-level constructs are needed.