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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4e39e3650a0d633 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Icon Co-Expressions in Ada Date: 1998/12/16 Message-ID: #1/1 X-Deja-AN: 423021195 References: Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1998-12-16T00:00:00+00:00 List-Id: Ehud Lamm writes: > I am thinking about implimenting Goal Directed Evaluation ala Icon, as an > Ada package. I considred two options: > 1. Using "static" data (that is, variables stored in the package's body, > in Ada) to impliment the suspend mechanism. This has its obvious problems. Since I don't know anything about Icon, can you explain what "the suspend mechanism" does? > 2. Using Ada's tasking facilites. This has the disadvantage of making the > user use tasks. It is sad, since as far as I know you can't simply make an > Ada procedure behave in a task like way, by invking other procedures. The > task must be explicit. If "suspend" has its usual English meaning, the user should be using tasks; one task is suspended while another is running. An Ada procedure can call task entries, and task entry bodies can call procedures. Not clear what else you need. -- Stephe