Liste des Groupes | Revenir à cl forth |
minforth@gmx.net (minforth) writes:Yes, that's the mechanism. Actually I use it with some syntacticOn Tue, 4 Feb 2025 12:26:26 +0000, albert@spenarnc.xs4all.nl wrote:>Remark that is doesn't introduce any unfamiliar syntax,>
only does away with "Forth shall not nested definitions"
(Says who?)
Given that a Forth system supports quotations and xt-locals,
nested definitions are easy to implement.
You mean:
>
: foo [: ." xyz" ;] {: xt: bar :} bar ;
>
Sure, you then get a local that behaves similar to a nested
definition, but I don't think anyone would want to do that.
Les messages affichés proviennent d'usenet.