00:00:00 --- log: started forth/06.02.18 00:33:03 --- quit: _crc (Read error: 110 (Connection timed out)) 01:10:58 --- quit: rsyncx (Read error: 111 (Connection refused)) 01:53:33 --- join: rsyncx (n=bob@CPE000c41aac435-CM00111ae4f4cc.cpe.net.cable.rogers.com) joined #forth 02:32:27 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 03:43:38 --- join: Cheery (i=Henri@a81-197-3-163.elisa-laajakaista.fi) joined #forth 04:06:36 --- join: _crc (i=crc@pool-70-110-139-250.phil.east.verizon.net) joined #forth 04:54:23 --- nick: segher_ -> segher 04:59:52 --- quit: _crc (Read error: 110 (Connection timed out)) 05:24:45 --- join: PoppaVic (n=pete@0-1pool47-91.nas30.chicago4.il.us.da.qwest.net) joined #forth 08:23:49 --- join: madgarden (n=madgarde@Toronto-HSE-ppp3708777.sympatico.ca) joined #forth 08:40:03 --- quit: PoppaVic ("Pulls the pin...") 08:42:05 --- join: PoppaVic (n=pete@0-1pool66-59.nas22.chicago4.il.us.da.qwest.net) joined #forth 09:10:32 --- join: Invifer4 (i=WINNT@12-208-98-237.client.insightBB.com) joined #forth 09:49:37 --- quit: Cheery ("Leaving") 09:49:50 --- join: Cheery (i=Henri@a81-197-3-163.elisa-laajakaista.fi) joined #forth 09:50:27 --- quit: Cheery (Read error: 104 (Connection reset by peer)) 09:51:45 --- join: Cheery (i=Henri@a81-197-3-163.elisa-laajakaista.fi) joined #forth 10:19:38 --- join: _crc (i=crc@pool-70-20-245-86.phil.east.verizon.net) joined #forth 10:25:06 --- quit: PoppaVic ("Pulls the pin...") 13:26:34 --- quit: Cheery (Read error: 104 (Connection reset by peer)) 13:33:53 --- quit: uiuiuiu (Remote closed the connection) 13:33:57 --- join: uiuiuiu (i=ian@dslb-084-056-224-230.pools.arcor-ip.net) joined #forth 14:27:28 --- nick: tiff -> Raystm2 15:13:04 --- join: reuben (n=ben@leb-cr1-220-16.peak.org) joined #forth 15:13:39 is there a way to get dump to store the text output in memory instead of sending it to the screen? 15:19:11 Hi reuben. What forth are you using? 15:23:24 Raystm2: I am using gforth, but I am also interested in a portable solution 15:24:02 I just looked at the "see" output of the word 'dump' in gforth. 15:25:19 reuben write your own if you havent, pot be dammned! 15:25:32 I think you have to redefine dump to use memory instead of the useraddress <52> ( on my machine, might be same for you, maybe not, i don't know ) which I think is the addres of the display. 15:26:26 But the nice thing is... You can use 'see' to see what you need to change to make your new dump. 15:26:32 quiznos: i think that is good advice 15:26:56 raystm2: thanks for the hints, this is going to take some thought on my part 15:27:15 reuben: that's the fun part. :) 15:27:23 The part I like best. 15:27:37 i am a free unix weenie.. spoiled on files and pipes 15:27:48 hehe 15:27:59 of course it is good advice 15:28:00 :) 15:28:03 start with an easy portion, i suppose. 15:28:08 lol 15:28:21 start with the eforth that was ported to linux 15:28:39 i want a forth-box like a lisp-machine 15:28:48 all forth, all the time 15:28:52 write a dump that just displays one mem-word on the display , then see if you can store it in mem, then build on that. 15:29:10 types be damned 15:29:12 heh 15:29:25 Quiznos: and pipes as well, :) 15:29:28 * reuben sits on a big pile of wheels 15:29:32 or 15:29:45 not and or == if thffpt then ; 15:30:06 reuben: don't say that. I'm a warehouse manager for a caster company. All your wheels are belong to me. 15:30:28 i wanna port linux to forth, and i'm planning/working on the memory management atm 15:30:54 No kidding? what a project. Here's to your success. 15:31:03 tankers 15:31:09 welcomes 15:31:10 <_crc> in retro, I'd just revector emit, but gforth doesn't seem to use that 15:31:16 speech of figero. 15:32:37 Raystm2: okay buddy, but i am going to reinvent every last one of them 15:32:45 hehehe 15:33:44 _crc: /me thinks your vectoring system is very cool. It gets deeper every time i think about it. 15:34:20 much more powerfull then just redefining and then empting the dictionary. 15:34:42 I keep seeing Object orientation in it. 15:35:01 i am working on forth code to use fat12 filesystems (windows floppy disks) 15:35:54 _crc: I keep seeing the ability to do event-driven programming with the vector and the local name spaces. 15:36:08 reuben: how is that coming? 15:37:55 going well so far. parsed out the boot sector and the fat structures 15:38:21 i was thinking about making a standalone forth with filesystem code built in 15:38:55 Very cool, I wish you great luck with the project. 15:39:09 i would put extensions in the filesystem, such as an assembler 15:39:17 i am very open to just tweaking a pre-existing forth 15:39:58 i aim to make it easy to bootstrap and rebuild, with no software dependencies 15:40:02 Are you aware of _crc's retroForth? 15:40:15 yes 15:40:53 if i understand correctly, retroforth is standalone, but not self-hosting 15:41:11 <_crc> right 15:41:38 reuben: you could change all that :) 15:42:00 raystm2: maybe i better write my own dump first 15:42:06 ya :) 15:43:02 <_crc> Albert van der Horst did a self hosting version of one of the 7.x releases of retro, but he never sent me the code 15:43:14 Really? 15:43:20 <_crc> yes 15:43:22 I didn't know that. 15:43:36 my fat12 code is currently verbose with debugging messages 15:43:53 Albert is profound. 15:43:56 i am thinking of a way to change verbosity, depending on a variable 15:44:05 cool. 15:44:31 that is why i wanted to dump to a string.. i could just send strings to a word that only displays them if the variable is non-zero 15:44:49 ah 15:45:07 <_crc> Raystm2: http://groups.google.com/group/comp.lang.forth/browse_thread/thread/6cd177c07f4a0a3c/64db4b32fc8570e8 15:45:12 for now i'll just make a separate word that conditionally does the dump word 15:45:25 _crc Thanks 15:45:37 do you think i am going about it all wrong? 15:45:43 great idea reuben, 15:45:43 <_crc> no 15:45:57 not wrong, great first step 15:46:20 if i understand correctly, appending to a string is no easier in forth than in c 15:46:29 <_crc> nope 15:47:52 i could do my own buffer management so i could append \n to a string, or i could make a third word that conditionally prints \n 15:48:13 i am going to end up with a lot of words that conditionally use other words 15:50:34 :) 15:51:02 _crc Albert says his friend Coos Haas was doing such work, more then a year ago. 15:51:07 I wonder what came of it. 15:51:27 <_crc> I have the mini assembler 15:51:30 <_crc> that works great 15:51:37 in C, i would just make my own buffer management and use asprintf() or snprintf() when things got fancy 15:51:38 oh that's great. 15:51:46 ciasdis? 15:52:01 <_crc> a subset of that, yes 15:52:04 i have seen other people do just that.. sending strings to a function, which conditionally displays them 15:52:16 is there a normal way to do this in forth? 15:52:43 that question is beyound my talent to answer, anybody else? 15:52:50 <_crc> conditionally displaying a string? 15:53:12 sounds like keeping track of state to me. 15:53:18 fancy format a string with a minimum of manual memory management, and conditionally display it 15:53:23 <_crc> hmm 15:53:35 <_crc> forths typically lack string formatting ala C 15:53:58 so if i made an asprintf forth word, i would be a hero? hehe ;) 15:54:08 I thing you put your data ( string, what have you ) in a buffer and do as you will to it. 15:54:13 thing=think 15:54:20 <_crc> reuben: it'd be useful 15:54:44 * Raystm2 doesn't remember asprintf() 15:54:58 * Raystm2 googles 15:55:22 it dynamically allocates enough memory, and stores the formatted string in that memory 15:55:44 very cool. 15:55:54 you give it a place to store a pointer to that memory, a formatting string, and some arguments, and then you remember to free the result 15:56:03 remember to release the memory when your done with it. there is no GC. :) 15:56:20 right okay :) 15:56:33 i guess i'll just go with the word overload approach 15:56:55 maybe overload is an overloaded term.. word proliferation then 15:57:06 <_crc> Raystm2: with a word like 'later' it's trivial 15:57:24 what we need, is a word that takes an addr and returns a ptr to that addr, in essence (in c) adding indirection to a var to build ptrs to ptrs 15:57:26 * Raystm2 is a great fan of push push swap pop pop. 15:57:28 <_crc> my 'zt' word allocates space/cleans up aytomatically 15:57:52 you have 4 cells stackd? 15:57:57 zero terminated = zt? 15:58:09 <_crc> ray: yes 15:58:10 would you be happier with rot rot? 15:58:13 <_crc> no.. 15:58:20 crc pick a nick 15:58:23 <_crc> his example should be: pop pop swap push push 15:58:25 use aan addr? 15:58:36 bit rot 15:58:36 i dont think he knew what he wrote :) 15:58:39 oh oops :) 15:58:49 pop pop swap push push darn it. 15:59:08 Quiznos: ive used later to create a chess. 15:59:14 one word ray, rswap 15:59:17 write it 15:59:19 but it's been that long since ive seen it. 15:59:31 i don't see pop in dpans 15:59:44 <_crc> reuben: r> r> swap >r >re 15:59:44 r> ? 15:59:45 <_crc> reuben: r> r> swap >r >r 15:59:45 you saw my response to "standards" 16:00:00 it's your damn implementaiton, do what works! 16:00:01 Quiznos write it? what? 16:00:08 hehe 16:00:10 even Moore disdains ans 16:00:20 write rswap, 4 opcodes 16:00:26 i think 16:00:28 <_crc> : later r> r> swap >r >r ; 16:00:35 2 pops two pushes in asm 16:00:44 on iapx cpus 16:00:52 unless you wanna use a 64bit reg 16:00:56 no man is an island 16:01:03 then you're playing with gas 16:01:08 i AM the isle 16:01:23 i'll schmile, Loeliger taught me 16:01:40 my forth never bate to anyone's drum 16:01:41 oh yes. the Pentium has 2pop and 2push. with swap you have just three ops 16:02:33 * Raystm2 is writing out pop and push because that's what he's used to in colorforth. 16:03:03 2pop xchg 2push? 16:03:19 <_crc> pop ebx 16:03:19 we're talking about a programming language, not a musical mysticism 16:03:20 in pentium op macros. = cyan in cf. 16:03:21 <_crc> pop ecx 16:03:25 <_crc> push ebx 16:03:30 <_crc> push ecx 16:03:45 reuben hehe 16:03:47 <_crc> 4 opcodes, for retro/reva/helforth/glypher/c4th/.... 16:04:00 i came up with a neat little asm-lang for myself based on something i saw in an ancient ddj 16:04:36 these days programming languages are used by programmers to communicate with each other, as well as with computers 16:04:43 or not? 16:04:46 b< c< 16:04:50 i dont write for others 16:05:01 if i want my code to be public, use a yacc grammar 16:05:04 :) 16:05:44 reuben: i'm fond of saying that forth is mearly the language that we forth programmers use to communicate with each other. 16:05:54 <_crc> my code is often hard to follow if you don't read the documentation carefully 16:05:54 or 16:06:08 forth is the language of the brain to communicate with the hw 16:06:37 _crc: your code is so close to the hardware and so minimal that it deserves to be read carefully. 16:06:53 Quiznos: i like that one. 16:06:58 which? 16:07:06 meatware vs. hw. 16:07:10 forth is a way of thinking 16:07:22 this is also true. 16:07:26 it's a mental process before it's a program 16:07:35 ya. 16:07:45 * Raystm2 often sees things as a series of triggers. 16:07:53 hair-*? 16:07:59 :) 16:08:17 i've been bowsing the jargon file, i'm in that sort of mood 16:08:43 * Raystm2 loves the jargon file and the FOLDOC 16:08:54 i'm reading a 1992 edition 16:09:06 the best part of it is the intro that ~esr wrote 16:09:07 book? i mean paper? 16:09:10 bits 16:09:35 wifes "get up for work 16:09:41 " alarm is going off. 16:09:42 brb 16:10:06 it's Led Zep, for those that are following the saga. 16:13:47 she hit the snooze once. I say she hits it at least two more times, any takers? extra credit if you get the song right. 16:15:00 Things you should know before you bet. She doesn't have to leave for an hour and fourty minutes, she works about six blocks from here. 16:16:20 also, she has a 16:16:37 "bathe before" job, where as I have a bath after job. 16:17:05 job i wish i had-- bath during. 16:18:02 ooh watch me create forth code from the bath dot com or some such. 16:18:57 snooze count now 2 16:19:09 commercial. 16:22:22 sorry. /me is impatiently waiting for her to get up so I can start a project. 16:28:13 3 stones. 16:37:41 4 you drive us wild we'll drive you crazy, umm Kiss me thinks. 16:46:16 5 commercial. she's stretching. phone. who had phone and 5 and commercial. 16:47:14 --- join: snowrichard (n=richard@adsl-69-155-177-154.dsl.lgvwtx.swbell.net) joined #forth 16:48:38 --- quit: snowrichard (Client Quit) 17:15:13 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-146-210.pools.arcor-ip.net) joined #forth 17:15:13 --- quit: Snoopy42 (Read error: 131 (Connection reset by peer)) 17:15:24 --- nick: snoopy_1711 -> Snoopy42 17:15:34 --- join: thinkinginbinary (n=tom@pool-68-163-137-213.bos.east.verizon.net) joined #forth 17:15:48 BAH! Quartus is not here! 17:15:53 --- join: slava (n=slava@CPE0080ad77a020-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 17:15:54 on x86, is PUSH EAX the same as MOV [ESP],EAX; SUB ESP,4 ? 17:17:16 --- quit: thinkinginbinary (Client Quit) 17:37:55 --- join: thinkinginbinary (n=tom@pool-68-163-137-213.bos.east.verizon.net) joined #forth 17:48:28 --- join: sproingie (n=chatzill@64-121-2-59.c3-0.sfrn-ubr8.sfrn.ca.cable.rcn.com) joined #forth 17:53:23 i think it is funny how esr brags about being a hacker 17:54:34 he is qualified to represent the "tribe", which i take to mean the set of all hackers, because he wrote a pc speaker driver for bsd? or fetchmail? or maintained ncurses? 17:54:49 esr did not write fetchmail 17:54:55 and fetchmail 17:54:58 he sure hacked a lot of security holes into it 17:55:32 he also hacked a lot of emacs lisp. i think he's an all right hacker. he certainly isn't some kind of luminary 17:55:48 to say nothing of his self-granted "anthropologist" credentials 18:01:11 reuben: he's like one of those "just a common man" politicians. he's coded "normal" free software stuff himself, and knows what it's like. 18:14:57 --- quit: Invifer4 (Remote closed the connection) 18:53:11 --- quit: sproingie (Read error: 110 (Connection timed out)) 20:02:58 --- join: JasonWoof (n=bill@pdpc/supporter/student/Herkamire) joined #forth 20:02:58 --- mode: ChanServ set +o JasonWoof 20:06:18 --- quit: segher (Read error: 104 (Connection reset by peer)) 20:11:49 --- join: segher (n=segher@dslb-084-056-139-127.pools.arcor-ip.net) joined #forth 20:52:47 --- quit: thinkinginbinary ("leaving") 22:25:02 --- part: slava left #forth 22:30:46 --- join: bivitor (n=bivitor@c-67-182-23-230.hsd1.ca.comcast.net) joined #forth 22:45:29 --- quit: JasonWoof ("off to bed") 22:48:07 --- quit: bivitor ("Leaving") 23:59:59 --- log: ended forth/06.02.18