00:00:00 --- log: started retro/10.01.27 00:59:27 --- quit: foucist ("leaving") 02:20:47 --- join: virl (n=virl__@chello062178085149.1.12.vie.surfer.at) joined #retro 04:12:51 --- quit: virl (kubrick.freenode.net irc.freenode.net) 04:13:08 --- join: virl (n=virl__@chello062178085149.1.12.vie.surfer.at) joined #retro 05:31:25 --- join: crcx (i=d8012b82@gateway/web/freenode/x-tolfbgbfpdhqjtdl) joined #retro 07:50:13 rfc: is there interest in quotes being added to retro? 08:00:42 --- join: Mat2 (i=5f59083a@gateway/web/freenode/x-zpyxysotzpdgmlqp) joined #retro 08:00:54 G'Day 08:26:02 --- quit: Mat2 ("Page closed") 10:33:49 --- join: Mat2 (i=5f59083a@gateway/web/freenode/x-xjkfwqvbjdbygenq) joined #retro 11:50:15 ciao 11:50:22 --- quit: Mat2 ("Page closed") 12:12:21 --- quit: crcx (Client Quit) 15:24:38 --- join: erider (n=chatzill@pool-173-69-160-231.bltmmd.fios.verizon.net) joined #retro 15:25:11 hi guys 15:29:53 brb 15:32:54 --- quit: erider (Read error: 104 (Connection reset by peer)) 16:07:29 --- quit: virl (Remote closed the connection) 16:18:37 --- join: erider (n=chatzill@unaffiliated/erider) joined #retro 16:18:51 hi 16:58:17 hi 17:04:28 howdy folks 17:07:36 --- join: erider_ (n=chatzill@pool-173-69-160-231.bltmmd.fios.verizon.net) joined #retro 17:13:35 hi docl! 17:24:41 --- quit: erider (Read error: 110 (Connection timed out)) 17:25:04 --- nick: erider_ -> erider 17:27:38 crc: can you retrieve the data with a nameless pointer to data like this 4 , 17:27:58 only if you track the address somehow 17:28:00 here 4 , 17:28:09 the top of stack would have a pointer to the data 17:28:26 ok nice 17:50:11 docl: I pushed some stuff to the assembla repo 17:50:33 docl: core+stage2 words now in a vocab, and another vocab for the debugger words 17:51:06 docl: stack for --with increased to 12 max, instead of 8 (slightly better for building purposes) 17:51:20 docl: and a bug in the metacompiler was fixed 17:52:13 nice! 17:53:02 expose has proven handy for this :) 17:54:04 :) 18:04:10 I'll probably try to get 10.4 out soon 18:40:13 crc: target is assigned where? 18:40:31 meta.retro 18:41:41 I must have an old version 18:41:55 do you have git? 18:42:02 no 18:42:21 * crc will upload a snapshot; hold on 18:42:31 : m, ( n- ) target @ ! 1 target +! ; 18:43:08 ok you have this and target is just a variable but with is m, suppose to be 18:43:22 m, is like , 18:43:36 but it copies the value to the memory address target points to 18:43:45 rather than to the address heap points to 18:44:26 fetch whats in target which should be 0 then assign it to the item on the stack the add one to the pointer of target 18:44:34 erider: http://retroforth.org/retro-10.4_snapshot.tar.gz 18:45:09 is that the newest with all your updates 18:45:18 1) fetch the address target points to 18:45:25 2) store the value from the stack there 18:45:37 3) increment target to point to the next addres 18:45:49 erider: yes, that's a snapshot with all the latest updates 18:45:56 ok 18:46:50 is that dangerous to inc into address space that is not initialized 18:47:14 target is initialized before m, is used 18:47:36 but you are going out of bound of the target 18:47:41 near the end of meta.retro: 18:47:43 here IMAGE-SIZE allot target ! target @ origin ! 18:47:44 jump, 0 m, 18:48:02 no, the metacompiled code never exceeds the 4k alloted for the target buffer 18:48:34 ah ok I didn't see that space allocated for target 18:48:50 I thought it would just a normal variable 18:49:04 once initialized, it is a normal variable 18:49:18 7 vars target origin 'WORD 'MACRO 'DATA link chain 18:49:41 the current code uses elements instead of vars 18:49:52 ok 18:50:25 so if I define a variable ie variable foo 18:50:47 and then give it data 5 foo ! 18:51:35 I can then go to the next cell without warning 4 foo +! 18:52:06 that doesn't go to the next cell 18:52:10 that doesn't look legal to me 18:52:12 that just adds 4 to the value in foo 18:52:35 ah ok 18:52:57 so @ + ! 18:53:18 basically 18:53:25 well I am sure there is a swap and maybe a dup :) 18:53:29 in there 18:54:11 dup push @ + pop ! 18:56:41 crc: can you explain what does> is 18:56:54 does> is tricky to explain :( 18:57:20 in retro, it creates an anoymous class, with behavior built over the functionality of the .word class 18:57:41 * crc will see if he can explain it 18:57:54 1) a data structure is created using 'create' 18:58:26 2) data space is allocated and/or initialized (with , or allot or other words) 18:59:32 3) does> creates a virtual class 18:59:39 virtual class behavior: 19:00:04 it takes a string? 19:00:04 1) if interpreting, the code after does> is called. Retro leaves the address of the data on the stack before calling the code after does> 19:00:10 erider: no, regular code 19:00:36 2) if compiling, the address of the data is compiled as a pointer and a call to the code after does> is compiled 19:02:15 it simple terms what are this two words doing 19:02:23 : m, ( n- ) target @ ! 1 target +! ; 19:02:25 : vm: ( n"- ) create , does> @ m, ; 19:03:03 1) m, takes a value off the stack and copies it to the target memory area, then increments the target pointer 19:03:21 2) vm: creates a data word, that when called will invoke m, automatically 19:03:29 so: 19:03:34 0 vm: nop, 19:03:41 is functionally the same as: 19:03:45 : nop, 0 m, ; 19:04:21 the value is an address right 19:05:00 for m, 19:05:11 no 19:05:27 the value is whatever we want to insert into the target area 19:05:56 opcodes, data, etc 19:07:43 but why are you add 1 to the value in target 19:08:16 target is a variable that points to the next free address in the buffer set aside for metacompiled code 19:08:26 origin is a variable that points to the start of this buffer 19:08:33 : m, ( n- ) target @ ! 1 target +! ; I just do understand the purpose of this 19:09:00 initially they are equal, but each value injected into the target space bumps the target variable by 1 19:09:58 does variable assign space in order so if target is 1000 origin should be 1001 19:10:21 this is tricky to explain 19:10:50 the metacompiler acts a special compiler that acts apart from the normal rules 19:11:24 the metacompiler is written in normal forth, but acts on a special memory area, not the regular heap 19:11:43 so variables, etc in the metacompiler aren't allocated from the special memory area, but from the normal one 19:12:17 I get what it is doing literally but I don't understand the purpose or why it is important to do something like that 19:13:21 metacompiling involves building a new core that can't rely on *any* existing code. (addresses, etc will move between builds, so it has to be separate) 19:13:34 the metacompiler builds the new image, using a custom compiler 19:13:38 and a special memory area 19:13:59 the special memory area is relocated to address 0 after all of the new core is compiled 19:14:09 this is the trickiest bit of code in retro 19:15:09 ok thinks crc I have to go now but I will be back tomorrow we can finish up then have a good day 19:15:14 ok 19:15:17 goodnight erider 19:35:32 --- quit: erider (Read error: 110 (Connection timed out)) 21:31:42 --- log: started retro/10.01.27 21:31:42 --- join: clog (n=nef@bespin.org) joined #retro 21:31:42 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:31:42 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:31:42 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:31:58 --- log: started retro/10.01.27 21:31:58 --- join: clog (n=nef@bespin.org) joined #retro 21:31:58 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:31:58 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:31:58 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:32:13 --- log: started retro/10.01.27 21:32:13 --- join: clog (n=nef@bespin.org) joined #retro 21:32:13 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:32:13 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:32:13 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:32:27 --- log: started retro/10.01.27 21:32:27 --- join: clog (n=nef@bespin.org) joined #retro 21:32:27 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:32:27 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:32:27 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:32:41 --- log: started retro/10.01.27 21:32:41 --- join: clog (n=nef@bespin.org) joined #retro 21:32:41 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:32:41 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:32:41 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:32:55 --- log: started retro/10.01.27 21:32:55 --- join: clog (n=nef@bespin.org) joined #retro 21:32:55 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:32:55 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:32:55 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:33:09 --- log: started retro/10.01.27 21:33:09 --- join: clog (n=nef@bespin.org) joined #retro 21:33:09 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:33:09 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:33:09 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:33:33 --- log: started retro/10.01.27 21:33:33 --- join: clog (n=nef@bespin.org) joined #retro 21:33:33 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:33:33 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:33:33 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:48:57 --- log: started retro/10.01.27 21:48:57 --- join: clog (n=nef@bespin.org) joined #retro 21:48:57 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:48:57 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:48:57 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:49:15 --- log: started retro/10.01.27 21:49:15 --- join: clog (n=nef@bespin.org) joined #retro 21:49:15 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:49:15 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:49:15 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:49:30 --- log: started retro/10.01.27 21:49:30 --- join: clog (n=nef@bespin.org) joined #retro 21:49:30 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:49:30 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:49:30 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:49:44 --- log: started retro/10.01.27 21:49:44 --- join: clog (n=nef@bespin.org) joined #retro 21:49:44 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:49:44 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:49:44 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:50:16 --- log: started retro/10.01.27 21:50:16 --- join: clog (n=nef@bespin.org) joined #retro 21:50:16 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:50:16 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:50:16 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:50:38 --- log: started retro/10.01.27 21:50:38 --- join: clog (n=nef@bespin.org) joined #retro 21:50:38 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:50:38 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:50:38 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:52:14 --- log: started retro/10.01.27 21:52:14 --- join: clog (n=nef@bespin.org) joined #retro 21:52:14 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:52:14 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:52:14 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:52:35 --- log: started retro/10.01.27 21:52:35 --- join: clog (n=nef@bespin.org) joined #retro 21:52:35 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:52:35 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:52:35 --- names: list (clog @crc probonono SimonRC yiyus docl @ChanServ) 21:53:53 --- log: started retro/10.01.27 21:53:53 --- join: clog (n=nef@bespin.org) joined #retro 21:53:53 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:53:53 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:53:53 --- names: list (clog @ChanServ docl yiyus SimonRC probonono @crc) 21:54:12 --- log: started retro/10.01.27 21:54:12 --- join: clog (n=nef@bespin.org) joined #retro 21:54:12 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:54:12 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:54:12 --- names: list (clog @ChanServ docl yiyus SimonRC probonono @crc) 21:54:30 --- log: started retro/10.01.27 21:54:30 --- join: clog (n=nef@bespin.org) joined #retro 21:54:30 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:54:30 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:54:30 --- names: list (clog @ChanServ docl yiyus SimonRC probonono @crc) 21:54:48 --- log: started retro/10.01.27 21:54:48 --- join: clog (n=nef@bespin.org) joined #retro 21:54:48 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:54:48 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:54:48 --- names: list (clog @ChanServ docl yiyus SimonRC probonono @crc) 21:55:06 --- log: started retro/10.01.27 21:55:06 --- join: clog (n=nef@bespin.org) joined #retro 21:55:06 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:55:06 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:55:06 --- names: list (clog @crc probonono SimonRC docl yiyus @ChanServ) 21:55:30 --- log: started retro/10.01.27 21:55:30 --- join: clog (n=nef@bespin.org) joined #retro 21:55:30 --- topic: 'Retro Forth | Logs @ http://tr.im/Kept | http://retroforth.org | Stable Release 10.3.1 - January 2010' 21:55:30 --- topic: set by crc on [Tue Jan 12 18:14:13 2010] 21:55:30 --- names: list (clog @crc probonono SimonRC docl yiyus @ChanServ) 23:05:17 --- join: virl (n=virl__@chello062178085149.1.12.vie.surfer.at) joined #retro 23:59:59 --- log: ended retro/10.01.27