00:00:00 --- log: started forth/03.11.09 00:14:42 --- quit: ASau ("Toffee IRC client for DOS v1.0/b535") 00:50:35 --- join: I440r (~mark4@12-178.lctv-a5.cablelynx.com) joined #forth 00:55:56 --- quit: I440r ("Leaving") 01:42:03 --- quit: Robert (calvino.freenode.net irc.freenode.net) 01:42:03 --- quit: onetom (calvino.freenode.net irc.freenode.net) 01:42:04 --- quit: melinda (calvino.freenode.net irc.freenode.net) 01:42:04 --- quit: ianP (calvino.freenode.net irc.freenode.net) 01:42:04 --- quit: warp0x00 (calvino.freenode.net irc.freenode.net) 01:42:05 --- quit: skylan (calvino.freenode.net irc.freenode.net) 01:42:05 --- quit: chandler (calvino.freenode.net irc.freenode.net) 01:42:05 --- quit: mur (calvino.freenode.net irc.freenode.net) 01:42:05 --- quit: MysticOne (calvino.freenode.net irc.freenode.net) 01:42:05 --- quit: oooo (calvino.freenode.net irc.freenode.net) 01:42:06 --- quit: arke (calvino.freenode.net irc.freenode.net) 01:42:07 --- quit: ChanServ (calvino.freenode.net irc.freenode.net) 01:43:13 --- join: ChanServ (ChanServ@services.) joined #forth 01:43:13 --- join: arke (~chris@ca-cmrilo-cuda1-c3b-66.vnnyca.adelphia.net) joined #forth 01:43:13 --- join: skylan (sjh@vickesh01-4649.tbaytel.net) joined #forth 01:43:13 --- join: melinda (melinda@melinda.usercloak.freenode) joined #forth 01:43:13 --- join: Robert (~snofs@c-255a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #forth 01:43:13 --- join: chandler (~darmok@64-145-60-36.client.dsl.net) joined #forth 01:43:13 --- join: mur (~mur@smtp.uiah.fi) joined #forth 01:43:13 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 01:43:13 --- join: MysticOne (mysticone@mysticone.usercloak.freenode) joined #forth 01:43:13 --- join: onetom (~tom@cab.bio.u-szeged.hu) joined #forth 01:43:13 --- join: ianP (ian@inpuj.net) joined #forth 01:43:13 --- join: oooo (o@virgo.bombsquad.org) joined #forth 01:43:13 --- mode: calvino.freenode.net set +o ChanServ 02:16:21 --- join: ASau (~asau@158.250.48.197) joined #forth 02:16:33 --- quit: ASau (Client Quit) 02:38:30 --- join: schihei (~schihei@pD95483FB.dip.t-dialin.net) joined #forth 02:44:16 --- join: moritz_ (~moritz@pD9E1EF5E.dip.t-dialin.net) joined #forth 02:44:49 hello 03:49:55 --- quit: schihei (Client Quit) 03:55:52 --- join: schihei (~schihei@pD95483FB.dip.t-dialin.net) joined #forth 04:56:55 --- join: Topaz (~jonny@152.78.254.244) joined #forth 05:09:50 some time ago i saw a website by a guy who didn't like modern operating systems like windows or linux, because they are too bloated in his opinion. he wrote a basic operating system in forth and also a database programme. unfortunately i lost the link to his site. does anyone remember this site? 05:12:58 nope 05:24:00 moritz_: when was it, how many weeks ago 05:27:50 re 05:27:58 schihei, hm maybe 6 months 05:28:25 I've looked in my log, but coulnd't find it - sorry 05:28:32 thx 05:29:50 --- join: rO| (rO|@p62.246.42.58.tisdip.tiscali.de) joined #forth 05:29:54 hi 05:31:12 hello 05:35:55 --- quit: moritz_ ("Leaving") 05:50:52 --- join: moritz_ (~moritz@pD9E1EF5E.dip.t-dialin.net) joined #forth 05:50:52 re 05:51:49 --- quit: schihei (Client Quit) 05:53:38 --- quit: rO| (Read error: 110 (Connection timed out)) 05:57:44 how can i write something like IF NOT? i found the word NOT in some tutorial but it seems gforth doesn't support it 06:30:23 0 = 06:30:25 IF 06:30:27 THEN 06:30:33 \ do something 06:30:43 oh, wrong 06:30:48 0 = 06:30:50 IF 06:30:52 ELSE 06:30:57 \ do something 06:30:58 THEN 06:31:10 works, but is there are more elegant way? 07:21:40 do not first 07:22:08 or 'invert' 07:22:14 0 = invert if ... then 07:23:21 i don't understand your first line 08:48:29 --- join: I440r (~mark4@12-178.lctv-a5.cablelynx.com) joined #forth 09:23:29 --- join: mlg (mlg-no-spa@mg.dorms.spbu.ru) joined #forth 09:23:39 hi 09:25:28 is anybody looking at the screen now? 09:28:44 got no reply; disconnecting... 09:29:10 --- join: schihei (~schihei@pD95483FB.dip.t-dialin.net) joined #forth 09:29:15 -chandler(~darmok@64-145-60-36.client.dsl.net)- is mlg a bot? 09:29:24 no, i am not 09:29:58 ok 09:35:08 lol 09:35:10 hi mlg 09:35:16 hi chandler 09:35:20 hi 09:36:13 if u have a q u should ask then idle for a day or 2 :) 09:36:26 that way we get a chance to see it :) 09:36:50 my mailbox at mlg@forth.org contains 3K+ e-mails, this is 13M+. Now I am thinking: can I use any program to "separate flies from cutlets" or is it easier just to ababon that mailbox? 09:37:52 I mean, 90% is junk mail. 09:38:19 hrm you have a forth.org mailbox ? 09:38:38 isnt that skip carters domain ? 09:38:45 he could prolly help u purge 09:39:55 yes. It was installed many years ago. If I could redirect it, this probably would help (since a lot of junk mails goes to mlg@iias.spb.su directly, rather than via forth.org redirection) 09:40:52 forth.org provided redirection service. Used to provide. 09:40:54 can anyone tell me how i can append a char to a string variable? (geez, i need a forth book; jumping from one tutorial to the next, over a wiki into some source and back is a hard way of learning) 09:41:25 moritz_, the string will need to have the extra space allocated to it 09:41:35 moritz: how your string var is implemented? 09:41:58 create my-var 80 chars allot 09:42:21 : insert-char ( c string --- ) count 1+ 2dup swap c! + c! 09:42:23 ; 09:42:41 that appends a char to the end of the string but it assumes that the memory directly after the string is not allocated 09:42:48 erm actually you need a 1 allot in there 09:43:07 ok and the string inside there isnt 80 chars ? 09:43:15 no, it's not 09:43:22 i assume the string is a counted string 09:43:26 yes ? 09:43:27 yes 09:44:01 ok. given the address of the string the word count will give you the address of the actual string and the length thereof on the stack 09:44:20 so if you do 2dup 1+ swap c! you just incremented the count byte 09:44:26 you may lok at 09:44:30 http://forth.sourceforge.net/word/string-plus-c/ 09:44:44 thanks 09:44:46 i'll chew on that 09:44:46 : STRING+C ( addr len c -- addr len+1 ) 09:44:46 DUP 2OVER + C! DROP 1+ 09:44:46 ; 09:44:46 the the + c! points to the last byte of the string +1 and inserts the new char 09:45:00 err 2over 09:45:59 instead of 2dup? ? 09:46:02 thats more efficient if 2over is defined 09:46:02 okay 09:46:02 my stack would be ( char string --- ) 09:46:02 which is more correct in my opinion 09:46:02 because you are storing the char IN the string 09:46:09 : ! ( n1 a1 --- ) ... ; 09:46:18 store n1 at address a1 09:46:29 sdtring+c is prolly some ans crap heh 09:46:32 brb coffee is ready :) 09:46:53 brb dinner (dad insists) 09:47:00 the stack efect for ! is because variable names change less often than values to be stored there 09:48:03 As to ( addr len c -- addr' len' ), this is because it often happens that you need something like 'X' STRING+C 09:48:34 That is, (addr,len) are already there on the stack, and 'X' is a literal. 09:49:31 joy! 09:49:31 im back! 09:49:31 heh 09:49:56 what ever put 'X' on the stack should hav done so before the address was put there, it just looks more correcter to me that way :) 09:50:00 tho in forth NOTHING is wrong 09:50:09 it just LOOKS wrong to my way of thinking :) 09:50:16 what is "prolly"? it's not in my dictionary 09:52:09 a bastardization of "probably" 09:52:10 sorry 09:52:10 <-- lazy 09:52:12 do you pronounce it that way? 09:52:12 no 09:52:12 i pronounce it correct 09:52:14 i think prolly is a chat-only word :) 09:52:14 lol 09:52:18 i visit chats not often 09:52:18 mlg i noticed :) 09:52:28 * I440r loves his new laptop!!! 09:52:55 wide screen, 60 gigs, 1700 mhz cpu (actually closer to 1800) 09:52:57 dvd/cdrw 09:54:48 3 usb 2.0 plus 1 fire wire 09:54:53 'wide' is how much? 09:54:53 39lbs, comes with three visits to a back pain specialist, 30mins battery life? 09:54:53 err hang in 09:55:35 14.4 wxga tft 09:55:39 15.4 10:00:06 --- quit: Robert (calvino.freenode.net irc.freenode.net) 10:00:06 --- quit: mlg (calvino.freenode.net irc.freenode.net) 10:00:09 --- quit: moritz_ (calvino.freenode.net irc.freenode.net) 10:00:09 --- quit: onetom (calvino.freenode.net irc.freenode.net) 10:00:09 --- quit: schihei (calvino.freenode.net irc.freenode.net) 10:00:09 --- quit: I440r (calvino.freenode.net irc.freenode.net) 10:00:10 --- quit: melinda (calvino.freenode.net irc.freenode.net) 10:00:10 --- quit: ianP (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: warp0x00 (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: mur (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: MysticOne (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: chandler (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: oooo (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: skylan (calvino.freenode.net irc.freenode.net) 10:00:23 --- quit: arke (calvino.freenode.net irc.freenode.net) 10:00:24 --- quit: ChanServ (calvino.freenode.net irc.freenode.net) 10:01:30 --- join: ChanServ (ChanServ@services.) joined #forth 10:01:30 --- join: schihei (~schihei@pD95483FB.dip.t-dialin.net) joined #forth 10:01:30 --- join: I440r (~mark4@12-178.lctv-a5.cablelynx.com) joined #forth 10:01:30 --- join: moritz_ (~moritz@pD9E1EF5E.dip.t-dialin.net) joined #forth 10:01:30 --- join: arke (~chris@ca-cmrilo-cuda1-c3b-66.vnnyca.adelphia.net) joined #forth 10:01:30 --- join: skylan (sjh@vickesh01-4649.tbaytel.net) joined #forth 10:01:30 --- join: melinda (melinda@melinda.usercloak.freenode) joined #forth 10:01:30 --- join: Robert (~snofs@c-255a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #forth 10:01:30 --- join: chandler (~darmok@64-145-60-36.client.dsl.net) joined #forth 10:01:30 --- join: mur (~mur@smtp.uiah.fi) joined #forth 10:01:30 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 10:01:30 --- join: MysticOne (mysticone@mysticone.usercloak.freenode) joined #forth 10:01:30 --- join: onetom (~tom@cab.bio.u-szeged.hu) joined #forth 10:01:30 --- join: ianP (ian@inpuj.net) joined #forth 10:01:30 --- join: oooo (o@virgo.bombsquad.org) joined #forth 10:01:30 --- mode: calvino.freenode.net set +o ChanServ 10:26:22 --- quit: schihei (Client Quit) 10:30:31 moi 10:36:05 --- join: Crefinol (grunlar@dialin-247-tnt.nyc.bestweb.net) joined #forth 10:43:04 hi Crefinol 10:43:16 you a forth coder ? 10:43:16 yo 10:43:37 used to code forth on my amiga 10:43:45 coolo :) 10:43:50 can't find a forth I like on my current system 10:43:54 i never had a decent forth on my amiga 10:43:56 what system 10:43:57 (windows) 10:44:10 1: get decent system 10:44:13 2: get decent forth 10:44:14 heh 10:44:21 well, duh 10:44:22 : 10:44:24 :) 10:44:24 lol 10:44:34 sorry, couldnt resist :) 10:44:38 JForth on the amiga was very good 10:44:45 slow, but good 10:44:46 :) 10:44:51 install linux 10:44:51 Crefinol: you don't like bigforth? 10:45:02 bigforth? ahvn't tried it 10:45:03 suggest debian or gentoo :) 10:45:27 http://www.jwdt.com/~paysan/bigforth.html 10:45:40 or you could try porting isforth to DOS :) 10:45:52 actually ive already done that but 16 bit is a bit old :/ 10:46:20 not only that, dos programs tend to not run nicely under windows. 10:46:27 (ie -a dos forth) 10:46:47 try fpc ? 10:47:00 fpc? wassat? 10:47:05 * Crefinol is looking at the bigroth page 10:47:09 buy tom zimmer 10:47:10 bigforth, even 10:47:22 the same guy that did win32forth - fpc is a dos forth 10:47:33 heavilly based on laxen & perry's f83 10:47:39 I dunno: my windows gets cranky when running dos programs 10:47:52 have you tried win32forth itsefl? 10:47:56 er, itself 10:47:58 mine gets cranky when NOT running dos programs heh 10:48:09 no. 10:48:17 well - i installed it to take a look at it 10:48:20 dont like windows 10:48:30 yeah, me neither, which is why I have a mac :-) 10:48:36 I don't like windwos either, but I don't like not being able to find software 10:48:38 i fully intend to NEVER write anything for windows 10:49:09 Crefinol: what do you mean by that? 10:49:29 which 'that' :) 10:49:38 your last comment, silly 10:50:35 well: I gave up on my amiga because I couldn't get new software for it. 10:50:42 aah 10:50:57 then I bought a mac and got rid of it becasue not much software for it ... nad it crashed a lot 10:51:09 several years ago, I take it? 10:51:15 2001 10:51:21 using OS 9? 10:51:59 whatever the last version before they went linux-kernal. The trauma made me forget the details 10:52:12 yeah, that's OS 9, and it's not linux.. it's Mach 10:52:26 your mac came with OS X. you should have used that 10:52:46 unix seems interesting but I'm not sure I have the patience to set it up - plus i like Windows game software 10:52:50 --- join: schihei (~schihei@pD95483FB.dip.t-dialin.net) joined #forth 10:52:58 * Crefinol takes his mac out and steps on it 10:53:03 aah, ok. well I don't program on my game console 10:53:25 just think of windows as a big game console :D 10:53:39 --- join: KrisJohnson (~k_johnson@c-24-98-42-54.atl.client2.attbi.com) joined #forth 10:55:34 so anyway, lately I've been thinking of programming in forth again. 10:55:55 Crefinol, install linux - make your current system dual boot 10:56:02 then get my isforth - i think you'll like that 10:56:15 it doesnt have a metacompiler yet tho 10:56:41 Crefinol: hook up your mac again, hold down cmd-opt-o-f when you turn it on 10:56:46 bingo, instant forth prompt :-) 10:56:49 installing linux is a tmepting notion. I'm just afraid of it all going kaploowy - The thought of recmopling the kernal just to install drivers gives me the shakes 10:57:16 Crefinol, dont let it - get gentoo - it will automate building the kernel 10:57:25 in fact it automates building EVERYTRHING 10:57:31 * Crefinol googles gentoo 10:57:43 www.gentoo.org 10:57:47 thanks :) 10:57:48 yes, using gentoo you can be a l33t k1dd13 10:58:04 chandler, will they pH34r me? :D 10:58:10 Crefinol: deinitely 10:58:28 when you tell them how you compile all your programs with -O3 -funroll-all-loops -fdestroy-instruction-cache -fludicrous-optimizations 10:58:32 everything you install will be optimized for YOUR system 10:59:15 yes, so you can spend hours watching your system compile instead of doing something useful in exchange for a 2% speed benefit - or often a speed decrease, because picking the right optimization flags is hard and package-specific 10:59:43 chandler: that's what I'de hope to avoid 11:00:49 my suggestion Slackware 9.1 - it's compiled with reasonable (Pentium II or above) optimizations, and is fast and secure 11:01:24 the problem is I don't eknow enough to pick the right unix for me. :( 11:01:56 one suggestion would be to take that mac out of the closet, load the latest OS X on it, and give it a whirl... 11:02:06 sold it in 2001 11:02:08 ah 11:03:28 that mac was a dog. it would crash when I plugged the usb zip drive in. 11:03:31 there's a few categories of linux - the 11:03:33 oops 11:03:42 the "I don't care just make it work" variety, ala Fedora and SuSE 11:03:59 the "don't make me think about the software, but I want to configure it myself", ala Debian 11:04:13 the "I know what I'm doing but compiling is a waste of time", ala Slackware 11:04:18 I must confess that "I don't care just make it work" agrres with me :) 11:04:24 the "I want to do everything myself", ala LFS 11:04:51 and the "I want to look like I'm doing it myself but don't really know how", ala Gentoo 11:05:04 ok, then I would probably suggest Fedora 11:05:08 it usually "just works" 11:05:14 "usually" 11:05:45 yeah, and when it doesn't, it's just as hard as any other distro to figure out, but provided you're in the category where it works, it is pleasant to deal with 11:08:25 Crefinol, or just get freebsd. it's so simple to use. 11:10:12 freebsd does not do anywhere near the same level of hardware detection and handholding 11:11:57 when i installed freebsd for the first time, when was that?, maybe one year ago? i detected my soundcard, scsi card and scsi cd-writer, which debian did not 11:12:06 s/i/it/ 11:12:36 i've got two soundcards. i ownder what unix can handle that? 11:13:07 UNIX's handling of sounds extends to playing movies, mp3s, and making little blips when you move your windows 11:13:17 oh 11:13:21 don't expect it to do anything fancy like sane handling of >1 soundcard or 5.1 or synchronization 11:13:21 gentoo (which i'm using now) detected the cd-writer but broke on startup when querying it, until i turned scsi off 11:13:42 moritz_: I was referring more to the X stuff, y'know, the essesntials 11:14:12 you mean setting up x? 11:14:16 yeah 11:14:39 and don't tell me about X -configure 11:15:39 worked just fine for me. i just had to change the resolution 11:17:08 I think I'll put off unix/linux a while longer. Int eh meantime, I've started downloadeding win32 forth - that looks interesting 11:17:54 moritz_: yeah, meaning editing XF86Config. Not exactly friendly 11:18:46 what's the problem with editing a single line? i don't bother 11:19:23 It has obviously been far too long since you first did this stuff 11:19:29 ok to convince you: freebsd had trillions of forths (is that the plural?) in it's portage system. gentoo only has gforth 11:19:39 sorry, i dont understand 11:19:50 what do you mean? 11:20:14 if you think editing XF86Config is newbie-friendly in any sense, it's been far too long since you first started using *NIX 11:20:54 chandler, i forgot when i started using *nix :) 11:21:53 once upon a time when p III 700 mhz was still bleeding edge and suse 6.4 the freshest meat to get ... 3 years ago? 11:22:20 three or four 11:23:49 lol, i can still remember setting up debian about 10 itmes because i was so impatient and didn't follow the instructions 11:28:06 hi moritz_ 11:28:38 this channel is getting more action these days :) 11:29:06 * Crefinol just installed win32 forth :) 11:29:44 Crefinol, cool 11:29:48 I440r, hm yes, loads of questions 11:29:55 and it is working! 11:30:04 fsck, my machine is making *very* strange sounds 11:30:13 fan? 11:30:22 moritz_, ask :) 11:30:48 heh load avg here is at 4 11:31:04 kernel compile going plus recompiliung EVERY other intalled item 11:31:06 Crefinol, no it sounds like a saw. one of those who are basically a circle and which are vertical (m not a native speaker :) 11:31:24 circular saw says it all 11:31:31 heh, yes 11:31:46 moritz_, are you new to forth or do you have other questikons ? 11:31:49 questions 11:32:08 I440r, yes i'm new 11:32:26 cool. what OS and which Forth are you using ? 11:34:17 i'm using gentoo 1.4 and gforth (the only one in the portage system) 11:34:45 aha well i just switched to gentoo from debian - not abandoning debian yet tho 11:34:55 you might want to try downloading my isforth 11:34:59 isforth.clss.net 11:35:11 i liked debian but the dependencies got messed up some times 11:35:12 if you emerge nasm you can build the kernel 11:35:21 my forth kernel i mean 11:35:30 then ./extend extends same 11:36:07 im of the firm opinion that isforth is way better than gforth :) 11:37:16 you wrote it? 11:38:59 yes 11:39:11 the kernel is written in 100% pure assembler 11:39:30 she compiles 800k of source per second on my old laptop (amd k6-3/550) 11:39:48 and in 50k of executable i have an almost complete replacement for both libc and libncurses 11:40:03 anything in libc that you want that isnt in isforth can be added in 2 minutes 11:40:48 wow 11:41:25 it also has my memory manager allowing you to allocate memory with 16 byte instead of 4k granularity 11:41:51 still need to write an assembler extension and a meta-compiler tho 11:42:12 * chandler still has flashbacks from his experience coding x86 assembly 11:42:18 make it stop, make it stop! 11:42:28 whussie 11:42:30 :P 11:42:32 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 11:42:44 no, not wuss, just used to something better-designed 11:42:51 hhe 11:43:00 chandler, which is? 11:43:05 anything motorola 11:43:07 PPC... MIPS... SPARC... anything 11:43:10 yeah, 68k too 11:43:13 except their micro-controlers 11:43:27 like 68HC11? 11:43:31 bleh 11:43:32 The 68HC11 was /much/ better to program in than x86 11:43:45 chandler, hc11 sux compared to the 8051 11:43:52 I won't deny that 11:44:00 specially the new ones by cygnal !!! 11:44:13 im a big fan of the 8051 11:45:30 ppc isn't bad, especially having fused multiply-add 11:46:27 * Crefinol liked the z80. sweet chip in its day 11:48:05 6502 was better hehe 11:48:27 I've heard that but I never tried it. memory-mapped IO, right? 11:48:36 yes 11:48:43 I've heard good things about the HP saturn, but I haven't done anything with it myself 11:48:57 and a very nice instruction pipeline 11:49:34 chandler, does real time embedded control ? 11:50:00 6502 was in the commodore 64, right? 11:50:07 yes 11:50:17 actually that was a 6510 11:50:18 no, the saturn is used in the HP 48 series 11:54:59 --- quit: KrisJohnson (Read error: 60 (Operation timed out)) 11:55:39 hm, why doesn't isforth support deleting what you typed? 11:55:57 err sorry, a line editor is in the todo 11:56:01 as is a command history 11:56:08 ic 11:56:13 there are issues i have to resolve with terminfo yet 11:56:16 sorry about that 11:56:43 not had time to resolve them since getting this contract 11:56:49 but contract is going to be over soon i think 11:57:02 you're getting enough contracts to make a living? 11:57:05 I440r: widescreen gives a lot new work space, doesn't it? 11:57:14 mur yes it does 11:57:22 moritz_, this is the first contract in 2 years 11:57:49 I440r: i have widescreen too and i can use a lot programs. a lot more that i woudl otherwise 11:57:50 prior to august of 2001 the longest i had between contracts was a month or two 11:58:15 mur i love this laptop, ive given linux 20 gigs lol 11:58:19 its a 60 gig drive 11:58:58 * mur is running osx 11:59:30 so far i haven't thought installing linux on this, evne it's possible, because i can compile linux programs to work on osx too 11:59:30 huh, that's kinda strange 11:59:35 i got the following programme: 11:59:49 64 constant #name 11:59:49 create blah #name chars allot 11:59:49 blah #name accept 11:59:52 blah 1+ swap type cr 12:00:13 and isForth gives the following output 12:00:16 chars ? 12:00:35 bbl, gotta go to the store 12:00:47 and when i type "hello" it prints "echo" and then it says "Segmentation fault" 12:00:49 i dont support words like cell cell+ cells etc 12:00:54 i KN OW my fscking cell size lol 12:00:56 you can define therm 12:01:02 tho 12:01:28 chars would be 1* ??? 12:01:49 gforth makes problem with this too 12:02:02 its not a problem, they are easy definitions to add 12:02:06 i gotta go to the store 12:02:06 instead of "hello" it prints "ello?" 12:02:08 ill bbl thoi 12:42:37 12:49:38 --- join: slava (~slava@CPE0080ad77a020-CM.cpe.net.cable.rogers.com) joined #forth 12:49:58 i've been doing a lot of coding in an rpn langauge lately, and its quite an art form! i love the concept of having all definitions be as short as possible 12:50:32 slava, which language? 12:50:58 moritz_, a language i wrote in fact 12:51:09 ic 12:52:00 back 12:52:06 wb 12:52:54 what's wrong with all those forths? they all claim to be standard conform but they all produce errors with my little programme. gforth does, isForth does and also bigForth does 12:53:22 i always don't know if it's me who's wrong or the forth 12:53:29 isforth is definatlyh NOT standard 12:53:37 okay, but gforth should be 12:53:42 in fact its one of my prime directices to be NOT standard 12:53:43 heh 12:53:50 are there any large GUI apps written in forth? 12:53:53 standard forths arent guaranteed to work the same 12:53:55 why dont you want to be standard? 12:54:02 slava not yet :) 12:54:30 the more i look at the ans forth standard the less i like it 12:54:35 why? 12:54:47 and i dont want to be hurded into a corner and confined by a standard 12:54:56 by being non standard i have MORE control over my forth 12:56:33 look at any ans forth code and the first thing you will see in it is a whole pile of bullshit red tape visual clutter red 12:56:44 erm why is there a "red" at the end of that sentence grrr 12:58:05 but basically ans forth is forth is forth is forth, isnt it? 12:58:16 no 12:58:29 theres a saying in forth 12:58:39 once you have seen one forth you have seen ONE forth 12:58:56 not really true but close ennuff 12:59:16 not good for portabilty 12:59:22 :( 12:59:26 which is another bullshit MYTH 12:59:31 thers no such thing 12:59:46 hense the bullshit visual clutter red tape in almost every single ans application 13:00:07 what do you mean by "red tape"? 13:00:35 glue 13:07:23 hrm went all quiet lol 13:07:30 --- quit: schihei (Client Quit) 13:10:22 hm got another problem 13:10:33 suddenly i cant use "if" anymore 13:10:42 IF 13:10:42 *the terminal*:2: Interpreting a compile-only word 13:11:14 bye 13:11:52 I440r, you have a clue about that? 13:13:07 i'm trying to interperet the same programme as before 13:13:14 but it throws this error now 13:17:37 --- quit: warp0x00 (Excess Flood) 13:19:10 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 13:19:52 err IF shouldnt be used in the terminal, just insidr : dfs 13:20:40 was that in a : def ? 13:21:12 word definition? 13:21:46 yes 13:21:50 no 13:21:53 a colon definition 13:21:59 you cant do IF outside a word 13:22:00 i just typed 13:22:01 normally 13:22:01 0 13:22:03 IF 13:22:13 ... 13:22:14 THEN 13:22:15 IF is compile onlu 13:22:38 that means i can only use it from a *.fs file? 13:22:52 no, you can use it from a colon definition 13:22:57 no it means tht you have to make a definition 13:23:02 : test if ..... then ; 13:23:04 oh, why is that? 13:23:05 or any other place its compile semantics would be used 13:23:05 0 test 13:23:12 because IF is a compiling word 13:23:17 ok 13:23:26 it compiles a dummy branch forward to the else or the then 13:23:33 moritz_: forth words have both compile and interpretation semantics; if has no interpretation semantics (just compile semantics) 13:23:39 THEN resolves the branch 13:23:54 ic 13:23:56 thx 13:24:43 * Topaz tries to work out what DOES> actually does 13:25:06 topaz in what forth 13:25:23 and do you know how to USE does> ? even if you dont understand now it work ? 13:25:32 i can explain how it works in isforth 13:25:40 but the explanaton is detailed 13:25:52 would have to be 13:25:55 well, i should probably read this book first ;) 13:26:04 whioch book ? heh 13:26:14 Starting FORTH 13:26:18 1981 ;) 13:26:25 for the "how to use does>" theres a very simple explanation 13:26:35 its used in creating words to create a whole new class of words 13:26:37 for example 13:26:51 : constant ( n1 --- ) create , does> @ ; 13:26:59 the word constant would be used as follows 13:27:02 0 constant foo 13:27:44 "constant" creates foo. when foo runs it leaves the address where the value was compiled (the zero) on the stack and it then jumps to the code following does> which fetches the value at that address 13:27:59 2 constant 3 13:28:01 is legal :) 13:28:27 im trying to find "moving forth" pdf 13:28:49 so which word there actually reads the constant name? 13:29:04 i don't quite understand the basis behind this 'looking-ahead' thing 13:29:09 create 13:29:21 create parses the input stream and creates a new word 13:29:25 ah, ok 13:29:45 and then , shoves it in the dictionary? 13:29:58 and does> precedes the actual code which the word does? 13:32:58 yes 13:33:08 the , compiles the value of the constant 13:33:15 and the does> part fetches it 13:33:18 at run time 13:33:24 everything to the left of does> is compile time actions 13:33:33 everything to the right of it is RUN time actions 13:34:07 i see 13:34:44 so , takes a value off the stack, allots and adds it to the last word definition? 13:35:28 comma compiles the to item of the parameter stack to 'here' 13:35:47 here is sorta like $ in assembly 13:36:02 and 'here' is what allot increases, and 'create' returns? 13:36:10 no 13:36:16 create returns nothing 13:36:39 here returns the address pointed to by dp 13:36:44 allot advances dp 13:36:47 --- join: ASau (~asau@158.250.48.197) joined #forth 13:36:54 , stores to here and allots the space 13:37:00 Dobryj veczer! 13:37:06 ok 13:37:10 or rather it allots the space then stores 13:37:35 here this might help you heh 13:37:44 : variable create 0 , ; 13:37:57 yeah, that makes sense 13:38:19 when you run any word created with create it returns its own address 13:38:28 aha 13:38:52 does> patches the created words runtime behaviour :) 13:38:52 and the original forth had entirely stack-based memory allocation also, I take it? 13:38:57 i notice that gforth has allocate/free 13:39:06 presumably a malloc/free inspired addition 13:39:12 isforth has its own memory manager too 13:39:19 allot is the forth way 13:39:24 but you cant de-allot 13:39:55 FIG-Forth allocates dictionary in stack manner. 13:39:59 i think it took me about a month to write my memory manager 13:40:27 with some cunning ext2-style bucket thingy to handle deallocations and fragmentation-avoidance? 13:40:56 heh i dont know. but i DO avoid fragmentation 13:40:56 --- quit: arke (Read error: 54 (Connection reset by peer)) 13:41:10 You can create words and forget the most recently created ones. 13:41:12 how does one avoid running into the stack memory? just allot when the memory manager needs more? 13:41:29 asau yes but thats not really run time friendly :) 13:41:51 topaz stack memory in linux is in a comkpletely different address space :) 13:41:54 i allocate heaps 13:42:00 oh, of course 13:42:00 via a syscall 13:42:19 I440r: It's very efficient. 13:42:20 i might try implementing this for a weeny uC, so i will have to come up with something like that, heh 13:42:36 ASau: just rarely useful 13:42:38 I440r: It's similar to sbrk() 13:42:41 in C 13:43:05 no break just extends your existing primary allocation 13:43:32 theres a system call to allocate totally seperate buffers from the one your code is executing in 13:43:44 break just extends or shrinks the one you are running in 13:44:06 er i gota go out again, left my car to get a battery change - now i go pick it up 13:44:08 I know, it's similar to such allocation. 13:44:12 brb 13:44:24 You write some words and forget them at once. 13:44:33 --- quit: tathi ("leaving") 13:44:34 yes ive done that before :) 13:44:42 brk++; brk++; ...; brk-=5; 13:44:46 if you havent looked at my memory manager asau you could download isforth :) 13:44:48 so, what's better, objects.fs or oof.fs? ;) 13:44:52 or neither? >:) 13:44:55 neither 13:44:59 OOP will rot your brain 13:45:01 :P 13:45:02 brb 13:45:03 heh heh 13:45:22 slowly, but surely forth is driving me crazy 13:45:38 moritz_, it will at first 13:45:47 but once you get over the initial hurdles you will LOVE it 13:45:54 trust me :P 13:46:27 i have spent the whole day today writing a simple app wich just reads a string from the user, compares it with the string "exit" and exits the app if they match 13:46:39 and i still have stack underuns, etc. 13:46:40 Do not listen these people, they'll teach you to be crazy. ;) 13:46:41 --- join: arke (~chris@ca-cmrilo-cuda1-c3b-66.vnnyca.adelphia.net) joined #forth 13:46:50 wb arke 13:47:06 Good evening, arke! 13:47:43 :) 13:47:52 ack 13:48:01 ksirc sucks 13:48:28 privet asau, terv e arke 13:48:58 moritz_: how are you reading strings from the user? 13:49:08 moritz: take INTERPRET source and make it exit on ' word ' EXIT = condition. :) 13:49:56 Use WORD 13:50:13 Dobryj veczer, mur! 13:50:28 mur :) 13:51:02 Topaz, 13:51:04 : get-input ( -- $addr ) 13:51:04 PAD 1+ ( leave room for byte count ) 13:51:04 127 ACCEPT ( recieve a maximum of 127 chars ) 13:51:04 PAD C! ( set byte count ) 13:51:04 PAD ( return address of string ) 13:51:07 ; 13:51:26 yeah, i just discovered 'accept' 13:51:27 works :D 13:51:31 moritz: DO NOT DO THIS!!! 13:51:35 Use WORD 13:51:38 toilet requested by the hole 13:51:40 bbl 13:51:54 BL WORD to be particular. 13:52:04 okay 13:52:18 is this "accept" an old function? 13:52:19 what does BL WORD do? i don't think there's much chance of successfully googling for that 13:52:44 Topaz, how do you accomplish this task normally? 13:52:47 ooh, tis in my book 13:52:48 BL WORD parses a word delimited by BL, i.e. blanks 13:53:14 moritz_: dunno, i've only been programming forth for two days 13:53:54 Define an EXIT word in your dictionary, : EXIT ; 13:54:13 And find each parsed word in dictionary. 13:54:47 ASau, yes i know this one but i want to write something like poor-man's-interpreter for a simple language. i just choose exit as the first command, since its easy 13:54:53 If word's not found or it's entry differs, parse another. 13:55:13 Take INTERPRET source. 13:55:27 what's that? 13:55:51 It's top level of Forth interpreter. 13:56:30 ...Or how is it called in your ANTI-Forth standard? 13:56:59 i guess it's too complicated for me. i'm just (trying to) programming in forth since yesterday 13:57:00 Look for QUIT and INTERPRET words. 13:57:35 moritz: Forth interpreter is opened to you, you can _extend_ instead of rewriting it. 13:58:07 Look! You want a simple interpreter. 13:58:16 Forth is the one already. 13:58:27 So look how it runs. 13:58:48 It's INTERPRET is very simple. 13:59:23 Mine looks like (no source handy): 14:00:30 : INTERPRET BEGIN -FIND IF ( found ) CFA EXECUTE (or compile) ELSE NUMBER (else error) THEN ... UNTIL ; 14:00:39 It's a skeleton. 14:01:22 duh 14:01:44 INTERPRET runs a cycle. 14:02:04 -FIND finds a next parsed word in dictionary. 14:02:17 WORD parses word (used in -FIND) 14:02:55 CFA gives now-called "execution token" 14:02:59 so i can even use a syntax without rpn? 14:03:01 EXECUTE executes word 14:03:30 You can define any syntax. 14:03:50 But it's easier to define RPN-based one. 14:04:43 with effort, you could make it look like C or SML or Lisp if you wanted to :) 14:05:08 BTW, there exists LISP-like extension IIRC. 14:05:22 A! 14:05:43 You can look at mlg's works if you want something like Prolog. 14:05:56 where can i find his works? 14:06:13 ASau: link? :) 14:06:14 www.forth.org.ru/Members.html 14:06:20 Gassanenkl 14:06:30 Michael Gassanenko 14:06:36 good night 14:06:42 night, mur :) 14:06:48 Spokojnoj noczi! 14:06:56 IRC is just not right without monospace 14:07:14 Better open www.forth.org.ru 14:07:33 I don't remember what the case letters are. 14:07:44 its right :) 14:07:51 i dont think case maters for most 14:08:17 It's your English. 14:08:50 --- join: k_johnson (~k_johnson@65.196.135.240) joined #forth 14:09:03 In Russian, "Rodina" and "rodina" differs a lot. 14:09:10 Good evening! 14:09:11 how so? 14:09:43 Privet, ASau :) 14:10:15 In this example, "Rodina" is "Russia", but "rodina" is "Saratov", because Saratov is my "rodina", native place. 14:10:31 Privet, Robert! 14:10:32 hey Robert 14:10:32 * warp0x00 is back (gone 00:51:31) 14:10:57 Though my "Rodina" is Russia. : ) 14:11:20 Feel difference! : ) 14:11:33 ASau, it tells me that -FIND is an undefined word 14:11:33 :) 14:11:53 I don't know how it is called in your implementation. 14:12:02 which one are you using? 14:12:18 I use FIG-Forth derived one. 14:12:56 Maybe FIND 14:13:03 ah well. go to catch some sleep now. tomorrow i'll try again. 14:13:05 thank you a lot 14:13:47 good nite 14:13:57 Spokojnoj noczi! 14:14:16 --- quit: moritz_ ("Leaving") 14:15:58 Has anyone tried to use stand-alone Forth? 14:16:22 Or stand-alone "upon any OS"? 14:16:59 I mean developping, "living" inside Forth full time. 14:18:34 --- quit: ASau ("Toffee IRC client for DOS v1.0/b535") 14:23:54 hey I440r\ 14:24:08 hey I440r 14:30:01 --- part: k_johnson left #forth 14:32:10 --- join: dubious (~marc@209.71.234.197) joined #forth 14:32:50 I'd like to use a forth interpreter to interface with my OS, but I know next to nothing about interfacing forth with C. how good or bad an idea is this? 14:44:59 great idea :) 14:54:35 --- quit: arke ("using sirc version 2.211+KSIRC/1.2.1") 14:59:33 darn, signed off :( 14:59:43 anyone mind expanding on that? 15:02:27 dubious: I seem to vaguely recall that there are forths that are actually written in C. Does that help? 15:03:11 both gforth and pfe are written in C and can interface to external C libraries 15:03:58 arke yea ? 15:04:05 sorry was out eating :) 15:04:28 chandler, isforth could interface with external c libs easilly - all i have to do is add it 15:04:36 its on the todo list actually 15:04:41 low down on the todo list 15:05:00 he never said his OS was for ugly processors only 15:05:09 heh 15:05:22 wow thers some MORe new names in here 15:05:27 hi dubious 15:05:41 --- join: arke (~chris@ca-cmrilo-cuda1-c3b-66.vnnyca.adelphia.net) joined #forth 15:05:53 hi arke 15:17:10 --- join: Sonarman (~matt@adsl-64-160-166-32.dsl.snfc21.pacbell.net) joined #forth 15:45:58 --- quit: Crefinol ("Client Exiting") 16:01:19 --- join: TheBlueWizard (TheBlueWiz@pc54dn1d.ppp.FCC.NET) joined #forth 16:01:19 --- mode: ChanServ set +o TheBlueWizard 16:01:24 hiya all 16:04:56 sorry for the delay 16:05:24 Crefinol: no, your comment does not help because, as another example, perl is also written in C but interfacing Perl to C is a royal pain in the ass using XS. 16:05:51 I440r: hiya 16:06:45 my original question does not pertain to possibility as much as if it's worthwhile to interface an OS using a forth interpreter. 16:09:34 chandler: does the "ugly processor" I currently use make that much difference? 16:19:21 --- quit: warp0x00 (Excess Flood) 16:20:13 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 16:28:24 dubious, hi - have we talked before ? 16:28:33 i think ive not seen that nick in here yet :P) 16:29:04 hiya I440r :) 16:29:07 ugly processors are fuin to code for :) 16:29:08 tbw! 16:29:11 lol didnt notice you there 16:29:16 i droped my old laptop 16:29:17 busted it 16:29:21 had to go buy a new one 16:29:22 hehe...how's life? 16:29:25 LOVE the new machine :) 16:29:56 emachines box 16:29:56 * TheBlueWizard notes one has to pay M$ tax on a new laptop :P 16:30:02 wide screen 16:30:11 60 gig drive 16:30:15 802.11g !!!! 16:30:16 hhe 16:30:25 now all i gotta do is find some HOT spots :) 16:30:48 hehe...cool 16:30:52 yea all the crap they have installed that i DONT WANT grr 16:31:53 lol a few weeks ago i bought a 20 gig drive for my old laptop and put the old drive (6 gigs) in a usb box - NOW i have bothy the old drive and the new one in usb boxes heh 16:32:01 so ive got 26 gigs of external hard drive 16:32:15 and 60 gigs of internal drive with 20 of it donated to linux :) 16:32:25 20 gigs aughta be ennuff for linux :) 16:32:35 im trying gentoo linux - love it so far 16:33:19 :) 16:33:47 dvd and cdrw - no floppy butlol with the external hard drives who cares 16:33:47 * TheBlueWizard never have tried Gentoo Linux, but knows it is CPU intensive as it compiles a lot 16:34:01 it compiles EVERYTHING 16:34:07 * TheBlueWizard smiles 16:34:17 making everything heavilly optimized for YOU and BY YOU 16:34:18 hhe 16:34:35 im in the middle of rebuilding everything over because i had the wrong use flags 16:34:39 its compiling x atm 16:35:00 oh joy (dry tone :) 16:35:04 lol 16:35:17 dis is phun! 16:35:45 hehe 16:41:27 --- quit: warp0x00 (Excess Flood) 16:42:34 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 16:42:49 hiya warp0x00 16:44:56 think i can get back into isforth again now 16:45:00 got lots i reallhy wanna do 16:45:07 just havent had the inclenation 16:45:18 ya get burned out but then you recover heh 16:45:30 but you still have to force yourself when you pick it back up again 16:45:34 * TheBlueWizard smiles and nods...understanding that 16:45:54 i got a whole new laptop keyboard to wear out now :) hhe 16:46:05 lmao! 16:46:09 heh 16:46:28 the front edge of the old one was polished to a high sheen by the palm of my hand 16:47:20 ooh...now that's something to see! 16:47:37 heh 16:50:16 gotta go....bye all 16:50:56 --- part: TheBlueWizard left #forth 17:02:17 --- quit: melinda (Read error: 54 (Connection reset by peer)) 17:08:21 to answer your questions: nope, haven't been in here before and I'm not really a forth coder. 17:09:41 well thats ok, you interested in forth ? 17:09:44 what do you know aobut it ? 17:09:58 and what OS/processor are you using ? 17:10:00 :) 17:10:35 I've been interested in forth for a long time, just haven't managed to find a use for it until perhaps using it as an interpreter for my OS. 17:11:02 I know about it's syntax and some of its internals, don't know about practical ways to make good use of forth. 17:11:14 aha 17:11:17 what os ? 17:11:22 I use linux on x86 and solaris on sparc, don't do embedded... yet 17:11:46 well you might try my isforth hhe 17:11:59 linux/x86 only forth 17:12:10 do you code asm on an x86 ? 17:12:15 I know about a few nice forth interpreters usable on linux, but I don't really have intentions on using it that way. 17:12:36 for use within linux, I already have plenty of tools to get the job done quickly and efficiently. 17:12:58 if I speak of "my OS", I had to code quite a bit of asm ;) 17:13:01 can your tools compile 800k of source per second ??? :) heh 17:13:08 lol duh yea 17:13:25 on my development box, if code compiles too slowly, I buy a quicker box. 17:13:48 bad decision, always compile your code and run it on the slowest box you have 17:13:49 and on my target box, I hope the code is compiled already otherwise my designed should be revised. 17:13:57 then you will make your code faster the RIGHT way lol 17:14:09 your OS will begin to RELY on a fast box otherwise 17:14:25 you confuse development box and target box 17:14:47 no - because most of your testing will be on the devel box 17:14:57 for me the devel box IS the target box 17:15:12 right, testing for integrity. profiling is done after. 17:15:44 :) 17:15:50 I spend far more time coding functionality compared to profiling. 17:16:11 therefore, I can spend far more time on a quick development box and get my work done quickly as well. 17:16:47 what do you do if your target box runs an ARM processor? do you try to run embedded linux with gcc and all on that embedded system? 17:16:54 well i tend to take more time in development - i deliberatly aim not for speed of development 17:17:06 err isforth is NOT portable 17:17:16 portability is a myth, isforth isnt a jack of all trades 17:17:19 its a master of one 17:17:41 im diametrically opposed to portable operating systems or compilers 17:17:49 im semi oppossed to portable applications too 17:18:12 an operating system that works equally well on all targets will only be as good as the lowest comon denoiminator 17:18:23 have you seen how operating systems are written? the architecture specific crap is isolated from most of the code. 17:18:39 not in forth 17:18:49 forth makes NO distinction between "system" and "user" 17:19:15 at least not in any REAL forth lol 17:19:24 thats why theres no real drive for a "forthos" 17:19:39 you would have to butcher forth 17:22:06 btw im a heretic if u havent guessed 17:22:19 only a heretic would write a Linux x86 forth compiler in assembler :) 17:22:28 brb 17:27:58 back 17:35:59 all in assembler? 17:40:47 --- join: SDO_AMD (~SDO_AMD@co-trinidad1a-10.clspco.adelphia.net) joined #forth 17:42:45 yes 17:43:11 the kernel is all asm 17:56:57 --- join: Sonarman_ (~matt@adsl-67-113-234-111.dsl.snfc21.pacbell.net) joined #forth 17:57:16 --- quit: Sonarman (Nick collision from services.) 17:57:32 --- nick: Sonarman_ -> Sonarman 18:08:04 for what reasons have you written this all in asm rather than the typical C + optional asm approach? 18:08:56 because ii HATE c - with a passion 18:09:12 and because any forth compiler thats not able to compile its own sources isnt worth a damn 18:09:22 and forth generally doesnt have an extension to compile c 18:09:58 why not write it completely in forth? 18:10:17 well it is 18:10:18 heh 18:10:34 how come you hate C so much? what languages do you like? 18:10:44 the object produced by the assembler is pritty much exactly what the compiler itself would produce 18:10:53 im a low level coder 18:10:55 real time embedded 18:11:03 assembler and forth are all i enjoy coding 18:11:11 i DO code c but only at 70 per hour 18:11:11 there's plenty of C programming done in embedded systems. 18:11:37 and not a single one of em belongs thter 18:11:39 and sooner or later, plenty of VB and Java as well ;) 18:11:48 i think c is absoluytely the WORST choice for embedded 18:11:53 * I440r cries! 18:12:19 are these reasons discussed somewhere I could read? 18:12:28 --- quit: Topaz (Remote closed the connection) 18:12:32 object obfuscated microshaft visual c++ on the 8051 18:13:25 dubious, ive been doing real time embedded for a great manhy years. ive not seena single C project i couldnt have done in 100th the space and 1000th the time they took with the c 18:13:27 NOT ONE 18:14:09 only reason the industry wants c is because every moron and his autistic brotgher codes c. yes there are good c coders too 18:14:18 one out of every 10 billion c coders is competent 18:14:46 but the industry doesnt want good code 18:14:50 it wants NOW coder 18:14:54 now code 18:17:23 indeed, that's because projects need to adapt to the market and the only way to do so is to try it now. 18:17:26 im a little peeved with the industry atm, i just spent 2 years job searching and all i could find was object obfuscated bullshit jobs that had no chance of ever doing what the managers wanted 18:18:12 if you have such strong opinions about object oriented design, I wouldn't want to hear what you have to say about design patterns. 18:18:42 OOP is like GOTO - theres nothign wrong with goto in moderation 18:19:20 but EVERYTHING is OOP these days and ive seen a hell of alot of projects go from 2k of ode to 50k of code to satisfy the managments lust for bullshit 18:19:34 OOP doesnt make the problem any simpler 18:19:48 and 99 times out of 100 it makes it a hell of alot more complex and a hell of alot larger 18:20:21 brb 18:21:59 when not in embedded systems, larger doesn't seem to make much difference within reason. 18:22:40 i440r, mind if I prod you a bit regarding embedded hardware? I know very little outside of the pc architecture, so I'd like a few pointers to get me started on something else. 18:26:46 sure 18:26:49 ask away :) 18:27:06 im folding cloathes atm but ill check back every few 18:29:16 are there any must-have references for MIPS and ARM programming? 18:30:06 I'm coding in another screen session, so I'm also away for periods of time. sorry about that. 18:30:11 well thers must have for any kind of programming heh 18:30:26 theres plenty of example arm/mips code on the net if you look 18:30:36 thats ok - heh 18:30:43 irc is the great productivity killer 19:33:12 hrm 20:21:12 --- join: TreyB (~trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 20:29:15 I440r: i agree on your views on OOP 20:29:25 I440r: on another note, can you gimme a hand with something? :) 20:31:47 lol 20:31:49 with what ? 20:32:06 oop isnt bad in moderation, its just that they do it to death everywhere 20:32:28 yes 20:32:32 my opinion 20:32:47 which is why a C++ kernel would be even slower tehn windows 20:32:54 which is quite hard to do, even if you try 20:35:24 so what do you need help with 20:36:17 well, i plan to make a STC forth 20:36:22 my current platform is linux 20:36:22 so 20:36:26 why not start with linux? lol 20:36:33 :) 20:36:47 i cant think stc 20:37:31 lol 20:37:31 i like STC 20:37:46 imagine it on, lets say a ppc where theres pretty much no call overhead 20:37:49 its perfect 20:37:50 :) 20:38:04 :) 20:38:17 although i am on an intel right now 20:38:29 reg assignments: 20:38:34 ebx - TOS 20:38:39 esp - rsp 20:38:42 ebp - psp 20:38:55 ecx - I 20:39:22 i think thats all i need ... :) 20:39:36 ip 20:39:45 esi 20:39:45 not for STC 20:39:53 oh yea 20:39:54 lol 20:40:00 :) 20:40:16 edi is HERE during compile 20:40:28 arke: what does the psp do? 20:40:29 thats dangerous 20:40:38 parameter sp 20:40:45 rsp is return sp 20:40:56 arke: well, maybe i didnt say it right lol 20:41:02 i meant that its teh compile output 20:41:18 like "compile drop" would take drop and compile it using lodsX 20:41:40 it would need to compile a call to drop 20:41:49 you lose space efficiency 20:43:50 so? 20:43:59 computers have mad memory today 20:44:10 and mad coders using it all up 20:44:32 its ok to make some sacrifices to make it faster 20:44:44 not always 20:45:09 well, on an intel at least 20:45:45 i wish x86 had 2 stacks 20:46:33 heh 20:46:56 im goin zz 20:47:40 its too hard to decide if teh existing stack should be psp or rsp 20:48:07 im going with rsp, but it does give me some disadvantages with common words like dup and swap 20:54:56 --- quit: warp0x00 (calvino.freenode.net irc.freenode.net) 20:56:38 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 21:05:09 --- quit: warp0x00 (calvino.freenode.net irc.freenode.net) 21:07:32 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 21:45:14 --- quit: warp0x00 (Excess Flood) 21:46:30 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 21:53:46 --- quit: warp0x00 (Excess Flood) 21:54:44 --- join: warp0x00 (~warpzero@dsl.31.mt.onewest.net) joined #forth 22:07:13 wheres kc! 22:07:16 i want kc! 22:07:17 :) 22:21:36 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 22:22:22 my internet connection is working! 22:23:29 Herkamire: !! 22:23:35 (It's been at least 39 hours since it worked (and then it was just for an hour while I was alseep)) 22:23:44 I feel like I should really use it 22:23:56 USE IT!!! 22:23:56 :) 22:24:01 (even though I was going to go to bed (1:23am here) 22:24:05 Herkamire: familiar with x86 Linux asm? 22:43:21 arke: yeah 22:44:08 Herkamire: wanna help me make my sweet native forth compiler? :) 22:45:33 oh. sorry read you wrong. I don't know x86 asm 22:46:25 oh ok 22:46:26 :) 22:46:49 sorry about that. I missed the "asm" part somehow. 22:46:59 lol 22:47:36 you want a partner? or someone to pester with questions regularly? 22:47:47 both :) 22:48:41 be sure to check out kc5tja's speed tests on the different kinds of sub-routine threading 22:51:00 where? 22:53:54 I think it was on the bbs for the "#forth portal site" that kc5tja and futhin were putting together. 22:55:11 ok, ill go try and find 22:55:26 god bless google: 22:55:27 http://forum.forth.bespin.org/viewtopic.php?t=8 22:57:16 :) 22:57:17 :) 23:12:21 --- quit: Sonarman ("leaving") 23:12:31 --- join: Sonarman (~matt@adsl-67-113-234-111.dsl.snfc21.pacbell.net) joined #forth 23:22:08 --- quit: Sonarman ("Lost terminal") 23:25:29 --- quit: Herkamire ("good night") 23:59:59 --- log: ended forth/03.11.09