Liste des Groupes | Revenir à cl c |
Bart <bc@freeuk.com> wrote:I've looked at half a dozen hits for 'forth postpone' and I still don't understand what it does. Apparently something to do with compiled mode.On 08/09/2024 19:13, Waldek Hebisch wrote:OK, so apparently you missed essential part.Bart <bc@freeuk.com> wrote:>On 08/09/2024 01:05, Waldek Hebisch wrote:>Bart <bc@freeuk.com> wrote:>>Then you no longer have a language which can be implemented in a few KB.>
You might as well use a real with with proper data types, and not have
the stack exposed in the language. Forth code can be very cryptic
because of that.
First, it is not my goal to advocate for Forth use.
You're doing a fine job of it!
>
For me it's one of those languages, like Brainf*ck, which is trivial to
implement (I've done both), but next to impossible to code in.
I wonder if you really implemented Forth. Did you implement immediate
words? POSTPONE?
I implemented a toy version, with 35 predefined words, that was enough
to implement Fizz Buzz. Then I looked for more examples to try and found
they all assumed slightly different sets of built-ins.
You must mean /excluding/ surely? Otherwise there wouldn't be much left from 1KB!On ZX81? I can imagine it being hard! (Someone wanted me to do somethingTo give more background, bare ZX81 had 1kB RAM (including video RAM).
on ZX80, but I turned it down. I considered it too much of a toy.)
Les messages affichés proviennent d'usenet.