00:00:00 --- log: started retro/10.05.15 00:46:11 --- quit: docl (Ping timeout: 240 seconds) 01:24:54 --- join: docl (~luke@216-161-87-126.ptld.qwest.net) joined #retro 02:14:15 --- quit: docl (Ping timeout: 252 seconds) 05:46:04 --- join: jas2o (~chatzilla@CPE-121-219-39-50.lnse1.lon.bigpond.net.au) joined #retro 06:38:30 --- join: docl (~luke@216-161-87-126.ptld.qwest.net) joined #retro 06:38:40 hi docl 06:41:11 good morning crc 06:46:38 --- quit: jas2o (Remote host closed the connection) 07:51:57 http://retroforth.com/paste/?id=3394 07:52:02 works! 07:52:33 prefixes are evaluated as a stack rather than queue 07:53:04 so @$1 starts with $1 then does @ to it 07:53:52 and !@foo does foo @ ! 07:56:32 I also changed it to not convert prefix from header to xt until it is ready to be evaluated 08:05:13 nice 08:07:01 commited 08:09:09 I used $ for a different purpose though 08:10:34 bbiab; time to play with the kids for a bit 08:13:09 have fun 08:13:48 I put the __$ prefix in a vocab so that it wouldn't interfere. It's kind of special purpose. 08:25:24 --- quit: crc (Ping timeout: 248 seconds) 08:27:06 --- join: crc (~charlesch@184.77.185.20) joined #retro 09:53:52 --- quit: virl (Remote host closed the connection) 10:37:39 http://retroforth.com/paste/?id=3395 10:40:33 the $1 $2 ... can go away later, I think of them mainly as scaffolding 10:46:58 http://retroforth.com/paste/?id=3396 10:47:10 that is a cleaned up version 10:54:45 it was extremely easy to clean up. just needed to replace $2 with end, place an additional dup at the beginning, and remove the @$1 instances 11:01:25 incidentally, I like the ability to combine ! and @ as prefixes. !@end or !@$2 makes a lot of sense when you think of it as indicating a pointer. 11:14:50 found a bug 11:14:52 : $h ( - ) here over getLength 1+ dup allot copy ; 11:14:52 : __v here last @ , last ! ['] .data , 0 , $h ; ' .parse reclass 11:14:54 vfoo vbar vvar 11:15:55 the last one has a problem. .parse prefixes need to not nest further 11:31:05 here's a fix: http://retroforth.com/paste/?id=3397 11:35:37 applied 11:45:35 __" is pretty cool 11:45:41 :) 11:45:58 doesn't work in a definition though 11:46:21 hmm 11:52:03 here we go: http://retroforth.com/paste/?id=3398 11:52:45 why the allot in >pad? 11:53:08 oops 11:53:20 not needed, that's for when copying to here 11:53:59 s/dup allot // 11:54:35 http://retroforth.com/paste/?id=3399 11:55:13 nice! 12:10:30 http://retroforth.com/paste/?id=3400 12:24:52 looks good 12:55:03 here's an idea for stubs: 12:55:05 : redefinition last @ dup @ last ! dup @d->xt swap d->name find if @d->xt :is then ; 12:55:07 stub foo 12:55:10 : bar 10 foo drop ; 12:55:13 : foo 20 + .s ; redefinition 13:14:15 why not use @ and ! prefixes with last? 13:15:38 good question. 13:15:42 : instead ( - ) @last @dup !last dup @d->xt swap d->name find if @d->xt :is ;then drop ; 13:16:06 maybe instead is a better name for it? 13:16:58 : foo 10 ; : bar foo . ; : foo 20 ; instead 13:30:14 docl: I committed 'instead' and the '__"' prefix to the retroforth.fossil repository 13:32:42 cool! :) 17:12:35 kernel reduced to 2008 cells used. We're under 2k cells at last :) 22:34:44 exit 22:41:14 --- quit: docl (Remote host closed the connection) 22:41:37 --- join: docl (~luke@216-161-87-126.ptld.qwest.net) joined #retro 23:59:59 --- log: ended retro/10.05.15