00:00:00 --- log: started forth/12.03.24 01:36:12 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 01:36:13 --- mode: ChanServ set +v MayDaniel 01:44:43 --- quit: remyhr (Ping timeout: 252 seconds) 03:15:06 --- quit: MayDaniel (Read error: Connection reset by peer) 03:18:44 --- quit: karswell (Ping timeout: 245 seconds) 03:26:14 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 03:26:15 --- mode: ChanServ set +v MayDaniel 03:39:32 --- quit: ttmrichter (Remote host closed the connection) 04:52:17 --- join: MayDaniel_ (~MayDaniel@unaffiliated/maydaniel) joined #forth 04:52:18 --- mode: ChanServ set +v MayDaniel_ 04:54:54 --- quit: MayDaniel (Ping timeout: 246 seconds) 05:06:34 --- join: remyhr (~remy@pob78-1-82-238-158-96.fbx.proxad.net) joined #forth 05:06:35 --- mode: ChanServ set +v remyhr 06:13:49 --- quit: DGASAU` (Ping timeout: 272 seconds) 06:19:53 --- join: ASau` (~user@95-24-102-131.broadband.corbina.ru) joined #forth 06:19:53 --- mode: ChanServ set +v ASau` 06:24:30 --- quit: ASau (Ping timeout: 246 seconds) 06:28:21 --- quit: ASau` (Ping timeout: 246 seconds) 06:42:11 --- join: ttmrichter (~ttmrichte@221.234.38.23) joined #forth 06:42:11 --- mode: ChanServ set +v ttmrichter 06:44:35 --- quit: MayDaniel_ (Read error: Connection reset by peer) 07:07:38 --- join: ASau (~user@93-80-57-61.broadband.corbina.ru) joined #forth 07:07:38 --- mode: ChanServ set +v ASau 07:32:08 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 07:32:09 --- mode: ChanServ set +v MayDaniel 07:49:27 --- join: Kumul (~Kumul@adsl-72-50-91-28.prtc.net) joined #forth 07:49:27 --- mode: ChanServ set +v Kumul 07:51:13 --- join: karswell (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 07:51:13 --- mode: ChanServ set +v karswell 07:56:45 --- quit: MayDaniel () 08:31:11 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 08:31:12 --- mode: ChanServ set +v MayDaniel 08:43:24 --- join: malyn (~malyn@server.strangegizmo.com) joined #forth 08:43:26 --- mode: ChanServ set +v malyn 09:33:00 --- quit: ttmrichter (Remote host closed the connection) 10:01:46 --- quit: segher (Ping timeout: 245 seconds) 10:03:23 --- join: segher (~segher@5ED3C8DF.cm-7-4d.dynamic.ziggo.nl) joined #forth 10:03:23 --- mode: ChanServ set +v segher 10:21:40 --- join: snhmib (~jurjen@a83-163-200-186.adsl.xs4all.nl) joined #forth 10:21:40 --- mode: ChanServ set +v snhmib 10:22:29 hey so i've been trying to get used to forth programming for some hours, but things like 10:22:42 : fib2 ( n -- fib n ) 0 1 begin rot dup 0<> while 1- -rot dup rot + repeat 2drop ; 10:22:50 take like a heroic effort to figure out 10:23:14 is there a better way to write this or does it get easier with practice? 10:26:08 : fib 0 1 rot ?do tuck + loop nip ; 10:28:13 (Good register scheduler would do it all for you.) 10:29:45 --- quit: MayDaniel (Read error: Connection reset by peer) 10:31:10 ah tuck helps 10:31:23 http://en.literateprograms.org/Fibonacci_numbers_%28Forth%29 11:02:10 there's also the recursive version if you have the stack for it 11:28:23 recursive version wasnt hard to make, but having 2 variables and a loop counter on the stack stumped me a bit :P 11:33:00 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 11:33:00 --- mode: ChanServ set +v MayDaniel 11:36:21 --- quit: MayDaniel (Client Quit) 11:47:33 --- quit: snhmib (Quit: WeeChat 0.3.2) 14:23:52 --- join: zzing (~zzing@d24-57-81-201.home.cgocable.net) joined #forth 14:23:52 --- mode: ChanServ set +v zzing 15:11:15 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 15:11:15 --- mode: ChanServ set +v MayDaniel 15:42:01 --- quit: MayDaniel (Read error: Connection reset by peer) 20:37:40 --- quit: Nisstyre (Quit: Leaving) 20:39:59 --- join: Nisstyre (~yours@c-208-90-102-250.netflash.net) joined #forth 20:39:59 --- mode: ChanServ set +v Nisstyre 21:01:49 --- quit: zzing (Quit: ["Textual IRC Client: www.textualapp.com"]) 21:50:29 --- quit: Kumul (Quit: gone) 23:37:42 --- quit: remyhr (Ping timeout: 246 seconds) 23:59:59 --- log: ended forth/12.03.24