Liste des Groupes | Revenir à cl forth |
In article <1042s2o$3d58h$1@dont-email.me>,This can be tricky because the following should work:
Ruvim <ruvim.pinka@gmail.com> wrote:On 2025-06-24 01:03, minforth wrote:Or it has not even know it, if [ is smart enough to compile a jump to
[...]
>For me, the small syntax extension is a convenience when working>
with longer definitions. A bit contrived (:= synonym for TO):
>
: SOME-APP { a f: b c | temp == n: flag z: freq }
\ inputs: integer a, floats b c
\ uninitialized: float temp
\ outputs: integer flag, complex freq
<: FUNC < ... calc function ... > ;>
BTW, why do you prefer the special syntax `<: ... ;>`
over an extension to the existing words `:` and `;`
>
: SOME-APP
[ : FUNC < ... calc function ... > ; ]
< ... >
;
>
In this approach the word `:` knows that it's a nested definition and
behaves accordingly.
after ].
Les messages affichés proviennent d'usenet.