IRC Log - 2025-07-08 - ##forth

Channel: ##forth
Total messages: 72
Time range: 00:38:37 - 18:06:18
Most active: forthBot (26), cleobuline (19), olle (14)
00:38:37 ##forth <forthBot> Environment for cleobuline inactive, freeing...
01:15:52 ##forth <cleobuline> forthBot: 100000 DELAY ." bonjour " CR
01:17:32 ##forth <forthBot> bonjour
01:32:31 ##forth <cleobuline> forthBot: 1000000 DELAY ." bonjour " CR 1000000 DELAY ." bonjour " CR 1000000 DELAY ." bonjour " CR
01:49:11 ##forth <forthBot> bonjour
02:05:51 ##forth <forthBot> bonjour
02:22:31 ##forth <forthBot> bonjour
04:22:31 ##forth <forthBot> Environment for cleobuline inactive, freeing...
06:12:04 ##forth <MrMobius> how can I define an immediate word that inserts a literal into the word being defined which called it?
06:12:10 ##forth <MrMobius> : bar 42 ;
06:12:19 ##forth <MrMobius> : foo bar literal ; immediate
06:12:35 ##forth <MrMobius> : baz foo ;
06:12:58 ##forth <MrMobius> so that baz will push 42 when it executes
06:13:27 ##forth <MrMobius> the definition of foo causes error "unstructured" in gforth
06:18:20 ##forth <ajhidd> Should it not be just ``` : bar 42 , ; immediate ``` ?
06:19:19 ##forth <ajhidd> : baz bar ; ok see baz -> : baz <42> ;
06:20:37 ##forth <MrMobius> no that's not what im asking
06:22:51 ##forth <MrMobius> I mean not exactly what im asking
06:23:33 ##forth <MrMobius> imagine foo is doing something more complicated and calling words like bar to generate a value
06:24:39 ##forth <MrMobius> ajhidd: I get an invalid memory address when I try to run baz doing that
06:24:58 ##forth <MrMobius> anyway, seems like postpone is what I want
15:46:12 ##forth <cleobuline> forthBot: 1 1 + .
15:46:12 ##forth <forthBot> 2
15:46:33 ##forth <cleobuline> false it shoulf be 11
15:47:26 ##forth <olle> forthBot: 1 2 <- .
15:47:26 ##forth <forthBot> Error: Unknown word: <-
15:47:30 ##forth <olle> Pah
15:47:47 ##forth <cleobuline> ?
15:49:34 ##forth <cleobuline> ca n'existe pas <-
15:49:52 ##forth <olle> Mhm
15:49:57 ##forth <olle> For "swap" :)
15:50:01 ##forth <olle> forthBot: 1 2 swap .
15:50:02 ##forth <forthBot> Error: Unknown word: swap
15:50:04 ##forth <olle> wat
15:50:06 ##forth <olle> booo
15:50:15 ##forth <cleobuline> forthBot: 1 2 SWAP .
15:50:15 ##forth <forthBot> 1
15:50:38 ##forth <cleobuline> this forth use unppercase
15:50:50 ##forth <cleobuline> forthBot: WORDS
15:50:50 ##forth <forthBot> USERNAME .S . + - * / MOD DUP DROP SWAP OVER ROT >R R> R@ R@UL R!UL = < > AND OR NOT XOR & | ^ ~ << >> CR EMIT VARIABLE @ ! +! DO LOOP I WORDS LOAD CREATE ALLOT ." CLOCK BEGIN WHILE REPEAT AGAIN SQRT UNLOOP +LOOP PICK CLEAR-STACK PRINT NUM-TO-BIN PRIME? FORGET STRING S" "S 2DROP IMAGE TEMP-IMAGE CLEAR-STRINGS DELAY EXIT CONSTANT MICRO MILLI ROLL DEPTH APPEND MOON-PHASE MOON-RISE-SET
15:52:20 ##forth <olle> oh
15:52:31 ##forth <olle> ooold!
15:52:37 ##forth <cleobuline> yes `
15:53:20 ##forth <cleobuline> forthBot: LOAD ini.fth
15:53:20 ##forth <forthBot> File ini.fth with moon loaded
15:53:25 ##forth <cleobuline> forthBot: MOON
15:53:26 ##forth <forthBot> Phase de la lune pour Tue July 8 2025
15:53:26 ##forth <forthBot> 🌔 Gibbeuse croissante La lune grossit, revez grand ce soir ! Illumination 94%
15:53:39 ##forth <cleobuline> forthBot: CREDIT
15:53:39 ##forth <forthBot> Brought to you by Cleobuline updated with hashtable https://github.com/cleobuline/forth-bot-gmp-irc-threaded-multi-users/tree/main Site https://labynet.fr
15:54:14 ##forth <cleobuline> it's my toy
15:54:40 ##forth <cleobuline> autism ...
15:55:52 ##forth <olle> :)
15:56:54 ##forth <cleobuline> forthBot: TODAY-CAL-IRC
15:56:54 ##forth <forthBot> July 2025
15:56:55 ##forth <forthBot> Mo Tu We Th Fr Sa Su
15:56:55 ##forth <forthBot> 1 2 3 4 5 6
15:56:55 ##forth <forthBot> 7 8 9 10 11 12 13
15:56:56 ##forth <forthBot> 14 15 16 17 18 19 20
15:56:56 ##forth <forthBot> 21 22 23 24 25 26 27
15:56:57 ##forth <forthBot> 28 29 30 31
15:58:38 ##forth <olle> I was working on an OOP forth where everything is an object, but got stuck a bit
15:58:48 ##forth <olle> A system without functions is maybe not so great?
15:59:12 ##forth <olle> Or I can't get over the backwards thing
15:59:20 ##forth <olle> `command put` instead of `put command`
16:04:26 ##forth <cleobuline> forthBot: EURO
16:04:26 ##forth <forthBot> 1 22 9 30 15 1 12
16:04:52 ##forth <cleobuline> if you win just give me one million
16:06:17 ##forth <cleobuline> forthBot: SEE EURO
16:06:18 ##forth <forthBot> : EURO INIT-RANDOM 50 INIT-NUMS 50 SHUFFLE-NUMS 5 0 DO PICK-NUM DUP NUM-TO-STR 32 EMIT DROP LOOP INIT-STARS SHUFFLE-STARS PICK-STAR DUP NUM-TO-STR 32 EMIT DROP PICK-STAR DUP NUM-TO-STR DROP DROP DROP CR ;
17:50:02 ##forth <forthBot> Environment for olle inactive, freeing...
18:06:18 ##forth <forthBot> Environment for cleobuline inactive, freeing...