00:00:00 --- log: started forth/02.09.28 00:23:42 --- join: Kitanin (~clark@66.222.206.195) joined #forth 02:42:01 --- quit: Robert (Remote closed the connection) 02:44:39 --- join: Robert (~Robert@robost86.tsps1.freenet6.net) joined #forth 03:13:34 --- quit: Robert (Read error: 104 (Connection reset by peer)) 04:47:47 --- join: Robert (~Robert@robost86.tsps1.freenet6.net) joined #forth 04:47:47 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 05:04:23 --- quit: skylan (Read error: 104 (Connection reset by peer)) 05:09:27 --- join: skylan (sjh@207.164.213.123) joined #forth 05:13:55 --- join: Speuler (~l@mnch-d9ba477e.pool.mediaWays.net) joined #forth 05:14:03 moin moin 05:17:53 mornin 05:23:56 Hello :) 06:30:52 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 06:51:17 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 08:31:33 --- join: Kitanin (~clark@66.222.206.195) joined #forth 08:33:19 --- quit: Forther (Read error: 110 (Connection timed out)) 08:49:48 --- join: tcn (tcn@tc4-login29.megatrondata.com) joined #forth 09:01:12 --- quit: tcn () 09:03:52 --- join: TheBlueWizard (~tbw@ip-216-25-202-129.vienna.va.fcc.net) joined #forth 09:03:56 hiya all 09:13:55 bye 09:13:57 --- part: TheBlueWizard left #forth 09:15:31 --- join: sillyme (~tbw@ip-216-25-202-129.vienna.va.fcc.net) joined #forth 09:15:42 * sillyme eats clog for breakfast 09:15:45 --- part: sillyme left #forth 09:45:53 --- join: Herkamire (~jason@68.9.58.75) joined #forth 10:42:43 --- nick: Speuler -> Starving 10:57:15 --- join: ianni (ian@inpuj.net) joined #forth 11:49:16 --- quit: Herkamire ("leaving") 13:30:30 --- join: XeF4 (xef4@194.100.94.72) joined #forth 14:06:38 --- join: TheBlueWizard (TheBlueWiz@ip-216-25-202-125.vienna.va.fcc.net) joined #forth 14:06:43 hiya all again 14:07:45 sleepy days... 14:08:00 hehe 14:08:18 too much work? 14:10:19 so2say 14:10:45 but infact, im not in the mood of doing anything :) 14:11:09 I do understand that! :) 14:12:14 oh, thank u :) but how about u? 14:12:42 r u in the same mood now? 14:13:57 me...today, my friend asked me to help him fix his computer with "modem problems"...turned out he doesn't have a modem, instead, he has an integrated Ethernet port on his 'puter, so I had to explain the difference between these, plus DSL, cable modem, etc. thrown for good measure :) 14:16:18 :))) 14:16:53 so u played a fater/teacher role 2day 14:18:23 lol...though I don't play the father role, just a "look, see this jack got 4 grooves, while this one there got 8! See? Also this is 'bigger' than that jack...see?" thing 14:25:42 loll 14:52:43 Good evening. 14:52:53 * Robert silently enters. 14:55:00 hiya Robert 14:56:00 :) 14:56:18 My Forth in Forth is getting along fine, except for a little problem with does> 14:56:56 ah...what problem is that? 14:56:58 * Robert can't figure out a good way to make the high-level definition after does> access the body address of the newly created word. 14:57:19 : x create does> . ; 14:57:21 x y 14:57:26 5 y 14:57:30 That would output 5. 14:57:40 Instead of the body address of y. 14:57:57 how is y defined? 14:58:02 ah 14:58:03 nm :) 14:58:07 ah...the does> needs to push the PFA of y on the stack, then it would work 14:58:59 Yes... 14:59:01 that would output the body address of y. 14:59:02 Well, I'll try harder. 14:59:09 : x create , does> @ . ; 14:59:15 XeF4: Not in my Forth! >:) 15:02:21 it'd help to outline what each step of does> is doing and what it is supposed to do, in details. for example, it is supposed to leave the PFA of the created word on stack 15:03:10 Mark explained the details of does> yesterday. 15:03:29 hmm...lemme look at the log then 15:03:37 I had to change a few things, now only one problem is there to solve ;) 15:25:43 * TheBlueWizard is now studying does> 15:26:32 * Robert is going crazy. 15:30:11 lol...I am grokking the logic and I will help you with DOES> 15:30:32 wait a few minutes while I visualize the whole shebang 15:30:44 Well, I know how it works. 15:30:55 Just trying to implement it on my fucked up Forth :) 15:36:02 : constant create , does> @ ; 15:36:02 4 constant a 15:36:02 a . 4 15:36:04 Wohoo! 15:36:06 I made it :) 15:36:12 Ugly as hell, but I made it. 15:36:29 * Robert loves himself for a short while. 15:36:40 you sure of that? 15:37:02 Loving myself or that the thing is working? 15:38:01 Hmm... this is bad. When I exit my Forth, there's some data on IsForth's parameter stack. 15:39:25 And, heh... How the hell am I supposed to find the error? :-) 15:40:08 hehe...DOES> logic is indeed maddening.... 15:42:40 ok I got it 15:44:15 My does> works in a pretty strange way, but at least it works. 15:44:24 Now I have to find that other bug :-/ 15:44:55 let's see how I describe this...there are two parts to DOES>... the first part replaces the first word in the code body of the latest entry in the CURRENT vocabulary with the top return stack word 15:45:38 that is encoded like this: : DOES> R> LATEST PFA ! ;CODE .... ; 15:48:52 thus in the "constant" example, the CFA of "a" would point to the ;CODE portion in DOES>. 15:51:00 lemme check my thought hehe 15:55:17 Hmmm 15:55:18 create name-key ," key" 15:55:18 : [w-key] ( -- ascii ) 15:55:18 key ppush ; 15:55:30 Why is this pusing a word at compile-time? 15:56:32 : [w-key] ( -- ascii ) 15:56:32 key ppush ; 15:56:39 That's the code that does it. 15:57:06 KEY shouldn't do that, right? 15:57:18 And I can't imagine ppush does, it doesn't do it anywhere else. 15:59:02 what does ppush does? 15:59:19 : ppush ( n1 -- ) 15:59:19 pptr cell- dup !> pptr ! ; 15:59:26 It doesn't behave strange anywhere else. 16:01:07 What the fuck? 16:01:41 If I change the definition to an empty one, the pushing of that mysterious number is moved down the file, a few definitions. 16:01:44 Something is WRONG. 16:04:42 pptr is TOS pointer? 16:04:50 Yes. 16:05:00 Hmm.. I'll just ignore this for now. 16:05:46 wth is !> 16:06:37 Never used IsForth? :-) 16:06:52 It's used to store into values (called vars in isforth). 16:06:56 0 var x 16:06:59 5 !> x 16:08:40 : ppop ( -- n ) pptr dup @ cell+ !> pptr ; 16:09:12 : ppop ( -- n1 ) 16:09:12 pptr dup cell+ !> pptr @ ; 16:09:13 ack @ swap 16:09:14 :-) 16:09:20 * TheBlueWizard checks out UNIFORTH, and found out DOES> is implemented differently....aaargh! 16:09:36 there lies the problem 16:09:42 XeF4: Hm? 16:09:58 er.. no it doesn't , sorry, I shifted my sleep schedule by 10hrs in 1 day 16:10:23 XeF4: Cool. That makes your brain clear, right? 16:10:25 the DOES> puts a (;CODE) into the defining code....hmm! 16:11:50 I think there are several different implementations of DOES>....confusing, yes? but I do know that PFA of the created words must be there at the very end so that the code following DOES> can use it... 16:13:03 : [w-does>] ( -- ) 16:13:03 w-dodoes dptr cell+ d-, ; 16:13:03 name-does> flag-immediate ' [w-does>] d-low: w-; 16:13:11 : [w-dodoes] ( -- ) 16:13:12 iptr dup cell+ !> iptr @ last header.does nip ! ['] [w-[dodoes]] last header.pointer nip ! [w-exit] ; 16:13:17 : [w-[dodoes]] ( -- a1 ) 16:13:18 iptr rpush w header.does nip @ !> iptr w header + ppush ; 16:13:34 Looks confusing, but it's just very unclean. :-) 16:14:22 * TheBlueWizard 's eyes glaze over then fall off, roll around on the floor, and get eaten by grue ;) 16:14:40 * Robert claps his hands. 16:14:59 Forth is wonderful. 16:15:12 * TheBlueWizard fetches another pair of eyes from his satchel, and puts them into his sockets 16:16:30 i am wonderful 16:16:50 Klaw: We know, dear. 16:17:09 Klaw: were you trying to get on here a while ago? 16:17:14 --- join: Herkamire (~jason@68.9.58.75) joined #forth 16:17:20 hiya Herkamire 16:17:26 hi :) 16:18:15 Hi Herkamire :) 16:18:39 hihi ;) 16:18:45 TheBlueWizard: by "get on" you mean.. 16:19:17 I'm adding network support to fpos (through linux syscalls) 16:20:19 Robert: by the way, I read the clog's log of forth for last nite and it appears Mark gaves maybe only half of the description of DOES>...is that about right to you? 16:20:53 Ehm... 16:21:04 I think his description was quite complete. 16:21:23 After all, even I was able to implement does> :-) 16:21:33 (After his lesson) 16:22:56 : constant create , does> @ ; 16:22:56 : variable create 4 allot does> ; 16:23:05 My Forth now can do fancy things like that :) 16:23:23 For minimum efficency, it's written in 100% Forth. 16:23:32 I see...OK 16:23:48 ;) 16:24:32 erm...the variable should allot a single cell...methink the "4 allot" idiom might be apropos for ARRAY coding 16:26:36 Yes- 16:26:49 Would "0 ," have been better there? 16:27:40 mmhmm...that is a traditional way to code VARIABLE routine 16:36:56 --- nick: Starving -> Speuler 16:39:07 Speuler :) 16:39:28 hiya Speuler 17:00:12 gotta go...bye! 17:00:22 --- part: TheBlueWizard left #forth 17:34:13 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 18:09:28 --- quit: Fractal (Read error: 110 (Connection timed out)) 18:42:50 oh 18:42:54 hi too 19:16:28 --- join: Kitanin (~clark@66.222.206.195) joined #forth 19:40:22 --- join: TheBlueWizard (TheBlueWiz@ip-216-25-202-118.vienna.va.fcc.net) joined #forth 19:40:34 hiya all 19:41:46 Robert: I found the material on DOES>, so I can explain it in excruciating details :) 19:41:59 if you are still awake, that is :) 19:47:40 * TheBlueWizard decides Robert is asleep 19:51:33 bye all 19:51:36 --- part: TheBlueWizard left #forth 20:04:53 --- quit: Speuler (Read error: 60 (Operation timed out)) 20:15:04 --- join: Speuler (~l@mnch-d9ba4d88.pool.mediaWays.net) joined #forth 20:35:50 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 20:45:44 I got socket support working in fpos :) 22:02:09 --- quit: XeF4 ("pois") 22:16:00 --- join: Kitanin (~clark@66.222.206.195) joined #forth 22:24:22 Herkamire: fpos? 23:10:49 fpos is tathi's native PPC colorforth 23:11:58 it currently runs under ppc linux. 23:12:41 after we write an editor, tathi is going to make it boot 23:47:58 --- join: Xuz (~lorxu@68.42.119.107) joined #forth 23:48:09 * Xuz waves 23:49:49 yo 23:50:08 How're y'all? 23:51:41 I am well, though I should go to bed 23:53:13 Sleep is for the week, and it's a Saturday/Sunday! 23:53:42 I get weak when I don't sleep ;) 23:53:58 actually... I get weak after come to think of it :) ;) 23:54:03 * Xuz should sleep. He's drinking beer and programming instead :) 23:54:23 yay programming :) 23:54:30 whatcha programming? 23:54:57 Making slightly more functional versions of Perl's uberliscious string-handling functions for Scheme. 23:55:00 I just dug up an old project to make a jabber client that works in the text terminal 23:55:03 Yes, I know, it should be Forth if I'm mentioning it here. 23:55:15 I think EVERYONE has an old project to make a text Jabber client, I know I do. 23:55:27 hehe :) 23:55:44 I was suprised to find that the code in mine doesn't look bad :) 23:55:56 I never finished mine. I was going to model the interface after MH. 23:55:57 it's got error handling and everything ;) 23:55:59 For while MH isn't the best interface for MAIL. 23:56:04 (Since it doesn't work with threading) 23:56:10 It seems like it would be a WONDERFUL interface for IM. 23:56:19 have you used irssi? 23:56:26 * Xuz merfs. This "high gravity lager" hits harder than he was expecting. 23:56:31 Nope, what's that? 23:56:42 CLI irc client 23:57:07 great program :) 23:57:13 cria is better :) 23:57:27 air: better how? 23:57:40 * Herkamire tries to think if there was anything he wished irssi would do 23:57:43 cuz i wrote it 23:57:51 ahh :) 23:57:59 Right now I'm just using BitchX. I used to use Epic4 but the DCC wasn't as good. 23:58:00 and cria looks nicer out of the box 23:58:09 * Xuz laughs 23:59:31 If I could get myself to write an interface with seperate scrolling "windows" (like irssi, or like tabs in a browser) 23:59:59 --- log: ended forth/02.09.28