Re: nest-sys revisited

Liste des GroupesRevenir à cl forth 
Sujet : Re: nest-sys revisited
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 17. Mar 2025, 02:14:38
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <0a267120565f86b1be396616f06ae9c81e5043a6@i2pn2.org>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 17/03/2025 2:30 am, Hans Bezemer wrote:
On 14-03-2025 02:26, dxf wrote:
On 14/03/2025 3:19 am, albert@spenarnc.xs4all.nl wrote:
Apologize, for bad mouthing nested-sys in the coroutine discussion.
(not that I like this concept).
>
In the ISO 94 document the concept of nest-sys is indeed needed.
...
>
Unavoidable really.  Nesting aka subroutine call - the process of
calling a function and when it completes, returning to the caller -
is a basic computing concept.  In forth 'nest-sys' represents the
information necessary to facilitate that return.  It should not be
confused with invoking a function i.e. 'xt' EXECUTE.
 
I agree with most of what you say - except EXECUTE, a "function" can be called, but has to return *somewhere* - otherwise it is a BRANCH (jump).

Would you agree 'nest-sys' are peculiar to colon definitions.  That
EXECUTE is a different class of function.  It's not doing a 'call'
as such and not leaving anything on the 'return stack'?


Date Sujet#  Auteur
14 Mar 25 * Re: nest-sys revisited8dxf
14 Mar 25 +- Re: nest-sys revisited1dxf
16 Mar 25 `* Re: nest-sys revisited6Hans Bezemer
17 Mar 25  `* Re: nest-sys revisited5dxf
17 Mar 25   +* EXECUTE implementation in native-code systems (was: nest-sys revisited)3Anton Ertl
17 Mar 25   i`* Re: EXECUTE implementation in native-code systems2dxf
17 Mar 25   i `- Re: EXECUTE implementation in native-code systems1Anton Ertl
18 Mar 25   `- Re: nest-sys revisited1dxf

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal