Very slow game of life in a Forth

4

qwaffe 2025-06-03 10:28 (Edited)

Warning: Slow! (especially in-browser)
More Joy than Forth and buggy

definitions: ~ | instead of : ;
strings: in backticks, disallows | inside
lists: [ ... ] (last cdr is NIL)
pseudo-binding: <string> { ... } binds $<char> for each char in <string>
only NIL is false

words: DUP DUP2 SWAP OVER POP + - * / MOD = < <= NOT ATOM? CONS CAR CDR APPEND RANGE AT PICK REP ZIP MAP LEN FOLD IF EVAL APPLY PEEK POKE SAY SAY; RANDINT WAIT CLS TRACE

some words:

slow_forth_life.nx | Open in app
2025-06-03 10:28

Log in to reply.