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.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!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: Tue, 24 Jun 2014 17:48:24 +0100 Organization: A noiseless patient Spider Message-ID: References: <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> <557db566-fa02-4978-8798-50a097aa5407@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="117da9042fa4d6f5956a9b8f72035635"; logging-data="19176"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18b7hp4nwpfAtyjueUjIzaiBfFmD+AWa9Y=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:NgIDjWRQWgklAnEjNQFcfdi5eo4= sha1:qNczWa4LkAXGbQxpARfrJTabc94= Xref: number.nntp.dca.giganews.com comp.lang.ada:187224 Date: 2014-06-24T17:48:24+01:00 List-Id: "Dan'l Miller" writes: > On Tuesday, June 24, 2014 5:24:03 AM UTC-5, Simon Wright wrote: >> Shark8 writes: >> > Type State is ([...]); >> > Type Event is ([...]); >> > -- Here it is! >> > FSM : Array(State, Event) of State:= ([...]); >> > ...and that's Ada-83. >> >> You'd need the Action (access procedure (...)) to be executed on the >> transition, too. > > Moore FSM: actions only on the entry of states > http://en.wikipedia.org/wiki/Moore_machine > He was representing a Moore machine, which tends to increase the > quantity of states to discern context in the real-world. > > Mealy FSM: actions upon transition to next state > http://en.wikipedia.org/wiki/Mealy_machine > You are representing a Mealy machine, which is the more-mainstream > modern FSM, because pairs of states (i.e., the origin & destination of > each transition) provide a more natural (i.e., more expressive & more > compact) way to discern context. My state machine processor[1] allows both, whichever the analyst feels more natural. I have no evidence as to whether this helps the reader at all (or hinders tham, come to that). [1] http://coldframe.sourceforge.net/coldframe/event-modelling.html