00:00:00 --- log: started forth/04.04.23 00:46:51 --- join: imaginator (~gps@georgeps.dsl.xmission.com) joined #forth 02:08:17 --- quit: yeoh ("Client exited") 02:28:49 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 03:53:34 --- quit: hovil ("Leaving") 04:06:32 --- quit: imaginator ("sleep") 04:43:16 hey 05:38:58 --- join: yeoh (~yeoh@219.95.10.149) joined #forth 05:47:11 Hello, everyone. :) 05:49:29 yeah! 05:49:30 hey 05:49:41 hi mur! 06:06:38 --- join: hovil (~hovil@203.202.148.106) joined #forth 06:17:05 --- quit: hovil ("Leaving") 07:06:36 --- quit: proteusguy (Connection timed out) 07:19:28 --- quit: yeoh ("Client exiting") 08:19:04 --- quit: I440r ("Leaving") 08:53:51 --- quit: fridge ("Client exiting") 09:42:59 --- quit: Robert (Read error: 104 (Connection reset by peer)) 10:41:17 --- join: ianp` (ian@inpuj.net) joined #forth 11:17:49 --- join: I440r (~mark4@adsl-64-219-100-36.dsl.lgvwtx.swbell.net) joined #forth 12:29:39 --- quit: I440r ("brb") 13:00:12 can someone tell me what [ is actually supposed to do? does it take you explicitly into/out of compiling/interpreter mode? or just switch mode opposite of what it is now? and can you nest it? like [ [ [ [ [ ] ] ] ] ] ,and do they have to be paired, or is the behaviour of [ basicly the same as ] ? 13:02:22 oh, or are you only allowed to use it in compilation? 13:15:45 --- quit: Frek ("Client exiting") 13:57:01 They don't have to be paired, and don't have to be used in compilation only. The don't nest, they essentially just change compile state. 15:08:13 --- join: blockhead (default@dialin-510-tnt.nyc.bestweb.net) joined #forth 15:41:10 --- join: Sonarman (1000@adsl-67-113-234-242.dsl.snfc21.pacbell.net) joined #forth 16:10:22 hmmm, madgarden, what is the use of going into compilation mode when in normal interpretation mode? 16:10:50 i understand the other way around, but not really how you can use it that way 16:21:37 --- quit: Sonarman (orwell.freenode.net irc.freenode.net) 16:21:37 --- quit: blockhead (orwell.freenode.net irc.freenode.net) 16:21:37 --- quit: qFox (orwell.freenode.net irc.freenode.net) 16:21:37 --- quit: ianp (orwell.freenode.net irc.freenode.net) 16:21:37 --- quit: skylan (orwell.freenode.net irc.freenode.net) 16:21:37 --- quit: madwork (orwell.freenode.net irc.freenode.net) 16:21:38 --- quit: onetom (orwell.freenode.net irc.freenode.net) 16:21:38 --- quit: lalalim (orwell.freenode.net irc.freenode.net) 16:21:38 --- quit: madgarden (orwell.freenode.net irc.freenode.net) 16:21:38 --- quit: warpzero (orwell.freenode.net irc.freenode.net) 16:21:38 --- quit: Herkamire (orwell.freenode.net irc.freenode.net) 16:21:39 --- quit: ChanServ (orwell.freenode.net irc.freenode.net) 16:21:39 --- quit: cmeme (orwell.freenode.net irc.freenode.net) 16:21:39 --- quit: ianp` (orwell.freenode.net irc.freenode.net) 16:21:39 --- quit: o-- (orwell.freenode.net irc.freenode.net) 16:21:39 --- quit: chandler (orwell.freenode.net irc.freenode.net) 16:21:39 --- quit: mur (orwell.freenode.net irc.freenode.net) 16:22:32 --- join: ChanServ (ChanServ@services.) joined #forth 16:22:32 --- join: Sonarman (1000@adsl-67-113-234-242.dsl.snfc21.pacbell.net) joined #forth 16:22:32 --- join: blockhead (default@dialin-510-tnt.nyc.bestweb.net) joined #forth 16:22:32 --- join: ianp` (ian@inpuj.net) joined #forth 16:22:32 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 16:22:32 --- join: ianp (nobody@c-24-13-109-164.client.comcast.net) joined #forth 16:22:32 --- join: lalalim (~lalalim@p508AB18C.dip.t-dialin.net) joined #forth 16:22:32 --- join: madgarden (~madgarden@Kitchener-HSE-ppp3576712.sympatico.ca) joined #forth 16:22:32 --- join: Herkamire (stjohns@h000094d30ba2.ne.client2.attbi.com) joined #forth 16:22:32 --- join: warpzero (~warpzero@dsl.142.mt.onewest.net) joined #forth 16:22:32 --- join: skylan (~sjh@vickesh01-4525.tbaytel.net) joined #forth 16:22:32 --- join: madwork (~madgarden@derby.metrics.com) joined #forth 16:22:32 --- join: cmeme (~cmeme@216.184.11.30.unused.swcp.com) joined #forth 16:22:32 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 16:22:32 --- join: chandler (~chandler@chandler.registered) joined #forth 16:22:32 --- join: o-- (o@virgo.bombsquad.org) joined #forth 16:22:32 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 16:22:32 --- mode: irc.freenode.net set +o ChanServ 16:22:46 --- quit: madwork (orwell.freenode.net irc.freenode.net) 16:22:46 --- quit: ianp (orwell.freenode.net irc.freenode.net) 16:22:46 --- quit: qFox (orwell.freenode.net irc.freenode.net) 16:22:46 --- quit: blockhead (orwell.freenode.net irc.freenode.net) 16:22:46 --- quit: Sonarman (orwell.freenode.net irc.freenode.net) 16:22:46 --- quit: skylan (orwell.freenode.net irc.freenode.net) 16:22:47 --- quit: onetom (orwell.freenode.net irc.freenode.net) 16:22:47 --- quit: madgarden (orwell.freenode.net irc.freenode.net) 16:22:47 --- quit: lalalim (orwell.freenode.net irc.freenode.net) 16:22:47 --- quit: warpzero (orwell.freenode.net irc.freenode.net) 16:22:47 --- quit: Herkamire (orwell.freenode.net irc.freenode.net) 16:22:48 --- quit: ChanServ (orwell.freenode.net irc.freenode.net) 16:22:48 --- quit: cmeme (orwell.freenode.net irc.freenode.net) 16:22:48 --- quit: o-- (orwell.freenode.net irc.freenode.net) 16:22:48 --- quit: ianp` (orwell.freenode.net irc.freenode.net) 16:22:48 --- quit: chandler (orwell.freenode.net irc.freenode.net) 16:22:48 --- quit: mur (orwell.freenode.net irc.freenode.net) 16:23:47 --- join: ChanServ (ChanServ@services.) joined #forth 16:23:47 --- join: ianp` (ian@inpuj.net) joined #forth 16:23:47 --- join: lalalim (~lalalim@p508AB18C.dip.t-dialin.net) joined #forth 16:23:47 --- join: madgarden (~madgarden@Kitchener-HSE-ppp3576712.sympatico.ca) joined #forth 16:23:47 --- join: Herkamire (stjohns@h000094d30ba2.ne.client2.attbi.com) joined #forth 16:23:47 --- join: warpzero (~warpzero@dsl.142.mt.onewest.net) joined #forth 16:23:47 --- join: cmeme (~cmeme@216.184.11.30.unused.swcp.com) joined #forth 16:23:47 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 16:23:47 --- join: chandler (~chandler@chandler.registered) joined #forth 16:23:47 --- join: mur (~mur@mgw2.uiah.fi) joined #forth 16:23:47 --- join: o-- (o@virgo.bombsquad.org) joined #forth 16:23:47 --- mode: irc.freenode.net set +o ChanServ 16:23:58 --- join: Sonarman (1000@adsl-67-113-234-242.dsl.snfc21.pacbell.net) joined #forth 16:23:58 --- join: blockhead (default@dialin-510-tnt.nyc.bestweb.net) joined #forth 16:23:58 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 16:23:58 --- join: ianp (nobody@c-24-13-109-164.client.comcast.net) joined #forth 16:23:58 --- join: skylan (~sjh@vickesh01-4525.tbaytel.net) joined #forth 16:23:58 --- join: madwork (~madgarden@derby.metrics.com) joined #forth 16:55:03 --- quit: madwork (Read error: 104 (Connection reset by peer)) 17:24:09 --- quit: Sonarman ("leaving") 17:27:43 --- join: kc5tja (~kc5tja@66-91-231-74.san.rr.com) joined #forth 17:27:49 --- mode: ChanServ set +o kc5tja 17:28:17 --- join: Sonarman (~matt@adsl-66-124-255-227.dsl.snfc21.pacbell.net) joined #forth 17:43:25 ok i've coded my first draft for defining words. [ merely flips the mode from or to compilation/interpretation mode depending on what mode is on now. ] calls [. the colon : will scan the next word from the input buf, write a header, pushes the address that will contain the xt of that word, on the return stack, copies the name, and then puts the next available address (HERE) to the XT, then calls [ and returns. 17:44:39 then, while in compilation mode (this is the only thing checked), instead of calling execute, the code will get the XT and write it to the next available user address (HERE), and inc that variable by 1. 17:44:55 i understand thats not very neat, but neither is the rest, i think 17:45:25 and i think that if all works as intended, i should be able to start defining words :p 17:45:48 albeit very very slow 17:47:56 oh and i've added an immidiate property to the dictionary headers, and when the code reaches the point to check for compilation mode, it will also check this property, and execute it if its true, regardless of waht mode he's in. 17:58:52 --- quit: qFox ("this is mirc's last attempt of communication...") 18:11:30 --- join: amcl (~amcl@roc-66-67-140-120.rochester.rr.com) joined #forth 18:28:49 --- quit: amcl ("Leaving") 18:36:17 --- join: lalalim_ (~lalalim@p508AA109.dip.t-dialin.net) joined #forth 18:44:50 --- quit: lalalim (Read error: 60 (Operation timed out)) 20:04:08 So... what's shaking? 20:04:55 Not I. 20:05:00 not much. u? 20:05:16 Not much. Just went for a walk, got a coffee. Nice night. 20:05:55 * kc5tja nods 20:06:13 * kc5tja is happy for one thing: I *finally* got my checking account back into the positive, though it still only has $13.26. 20:07:14 :D 20:07:30 Keep plugging away, G. 20:07:54 I'm finally getting rid of my rickety beater vehicle tomorrow. 20:08:33 --- join: yeoh (~yeoh@219.95.6.154) joined #forth 20:09:09 hehe 20:10:42 Hello, everyone. :) 20:10:59 hello, yeoh 20:11:19 hi, blockhead. 20:11:53 Driver-side window will barely roll down. I have to pry the gas cover open with my fingers each time I get it filled, since the little lever on the floor of the car has long ago rusted and detached from the rusted rest of it. Cracked front right fender, broken wipers (the one on the driver side sort of works in a pinch). 20:12:30 Hi yeoh's noodles. 20:12:45 hehe 20:12:57 I think it is Yeo's. 20:13:33 Yes, it is. But you are not. :P 20:13:42 yeah! 20:14:24 Hmm. I can't believe it... there doesn't seem to be a "yaForth" in existence. 20:18:43 I've started yet another Yahoo group. 20:19:02 for Forth and its called forthcoders. 20:20:14 I like the Files section where you could upload zip files, etc. 20:20:39 Ugh... Yahoo groups. 20:20:46 It is ideal for me to store my forth code. 20:21:01 20MB worth of free space to store code. 20:21:47 :-) 20:22:32 After reading Leo Brodie's on-line book "Starting Forth", I'm all pumped up to code in Forth. :) 20:22:41 Heh, well have fun. 20:23:38 yeoh: good luck :) 20:23:50 thanks, blockhead. :) 20:24:01 I'm about rady to abandon my forth. Havn't even looked at it in two weeks. 20:24:17 I haven't looked at mine for longer than that! I'm not abandoning it though. :P 20:24:33 brb -- cooking 20:24:45 madgarden: but yours works, right? :D 20:24:54 mine is stuck at making the outer interpreter 20:25:47 Yes, about a programming language, I feel that way too. Have been neglecting C, C++ for asm and forth! 20:31:07 I'm using Main as the first word to kickstart a program. Is there a convention or style that prefers a "better" word? 20:36:37 blockhead, well mine works because I wrote it in C. 20:37:29 i might try that. I'm getting really frustrated 20:37:54 it's too bad though, in assembler the innter interpreter is so small, clean and elegent 20:39:21 and I've come so far. the stupid parsing is what is killing it. 20:40:07 Well... you could write a simple VM, and prototype your ideas on that. 20:40:44 Then at least you can cheat in order to get it working initially, and it might help you come up with ways to solve your ASM Forth's problems. 20:41:20 dunno. then I'de have to emulate the CPU. sounds like more than I can handle 20:41:46 anyway, forth is sort of a VM anyway (well, at least mine is ending up that way) 20:42:16 most of the asm code looks like this: " db f_add" 20:42:21 most of the asm code looks like this: " db f_dup" 20:42:24 most of the asm code looks like this: " db f_ret" 20:42:26 etc. 20:42:37 oh, that shold be "dw" 20:42:39 :) 20:43:49 blockhead: Heh, I haven't worked on my Forth in almost a year, but I certainly haven't given up on it. 20:43:55 You don't have to emulate the CPU much. I mean, you basically just need an array of bytes for memory, and an IP. Then the opcodes are just an index into an array of functions, they can be whatever you want, as high-level as you want. They could be Forth instructions, even. 20:44:21 oh! token-based VM.. yesss, like the False interpreter 20:44:28 not a bad idea :D 20:44:48 and I've already written a False interpreter in C 20:45:43 Yep. 20:46:09 mmmm, ocde reuse 20:46:14 code, even :D 20:46:33 At least you'd have something useful that works, proves some stuff, and hey, can use it in other projects for scripting or something. 20:46:57 true. true. 20:47:20 but you knwo what, I'm picky. I want it in assembler because it will be soo cute and tiny. :D 20:47:59 It *will* be in assembler, though. 20:48:19 The ASM for your VM. :) ANd that "binary" will be cute and tiny. 20:48:22 I've decided to change "Main" to "Start" so that it won't read like a C program! :) 20:48:45 yeoh: why not call it "forth"? 20:48:54 or is that too silly? 20:49:17 madgarden: :D 20:49:26 Quartus uses GO :) 20:49:28 yeoh: Why not just give the start of the program a more suitable name, like what the program actually *is*. 20:49:42 I was thinking of a good program "entry" word. 20:49:54 kc5tja: yes, good idea. 20:50:21 This way, there is no obtuse requirements for having more than one program in memory at the same time, should the user desire it. 20:50:30 I'm actuallly coding a simple template app: with just a few stub words like intro, input, process, output. 20:50:52 are you currently using win32forth? 20:51:03 I'm using bigForth. :) 20:51:09 awesome :) 20:51:12 on Win32. 20:51:18 and i'm reading the manual right now 20:51:25 or trying to, at least :) 20:51:33 in German! good. 20:52:22 babelfish is surprisingly good at translating whole sentences 20:52:36 anyway, now i'm gone 20:52:51 'night all 20:53:00 night 20:53:03 nite. 20:53:56 okay, I'll start the program with its own name, that is, base1. 20:54:11 --- part: blockhead left #forth 21:27:41 my forth source "looks" like an upside down pyramid. 21:27:56 or triangle.. 21:30:20 --- join: fridge (~fridge@dsl-203-33-162-47.NSW.netspace.net.au) joined #forth 23:21:19 yeoh: since Forth si programmed bottom-up, that's probably how it's supposed to look. 23:37:39 yeah. :) 23:40:54 I've completed the first version of base1. It's a simple skeleton code with some cool words from tutorials: to get a string, a number and get a key. 23:41:53 In later coding sessions, I'll use it as a base to explore and experiment with more Forth words and coding ideas. :) 23:42:57 * kc5tja nods 23:43:36 OK, I'm moving over to Win32 assembly coding for a while. I'm coding some snippets for FPU math functions like sine, cosine, etc. 23:47:11 * kc5tja nods 23:54:08 --- join: madgarden_ (~madgarden@Kitchener-HSE-ppp3576712.sympatico.ca) joined #forth 23:56:17 --- quit: madgarden (Read error: 54 (Connection reset by peer)) 23:59:59 --- log: ended forth/04.04.23