00:00:00 --- log: started forth/03.05.10 00:00:00 im a young programmer... but i will turn to irc before i turn to either of my much older bosses, who are both programmers 00:00:12 my mentors, if anywhere, are the coders i know through the internet 00:00:25 cause they know what they're doing... unlike the people in the real world... heh 00:00:26 interesting 00:00:36 lol 00:01:00 my bosses have never implemented a serious high-load app. some people online have done it hundreds of times 00:01:05 hehe 00:01:12 who can i better learn from? 00:01:15 :P 00:01:37 i don't know? 00:01:40 :^) 00:01:50 me either, but both is best 00:02:09 your bosses are mostly managers? 00:02:15 what code have they written? 00:02:23 not really... even my CEO writes fortran for production 00:02:26 small company 00:02:33 ok 00:02:41 they write database and graphics code.. nothing too stupid 00:02:56 do they do that decient? 00:02:57 but design and a working script are two different things 00:03:12 yea, they're not dumb.. know more than me about some things, especially finance and math 00:03:18 you need to get it to work 00:03:19 but programming... nah 00:03:34 theyre good, but the people on efnet are the best i know of 00:03:43 i see 00:03:49 been an invaluable resource really 00:04:19 thats good 00:04:30 do you use Forth at all? 00:04:47 no, i'm learning. im a high-level language weenie most of the time 00:04:59 but im now taking a very strong interest in forth 00:05:03 Forth is level transendent 00:05:05 and C and assembler and stuff 00:05:07 eah 00:05:14 there is nothing else quite like it 00:05:20 4th level ! 00:05:45 You can use the syntax sculption techniques to build up something resembling a spoken language 00:06:02 you can go from banging bits to talking in high table abstractions and AI 00:06:15 its a polymorphic language 00:06:17 yeh, its both high and low level.. beautiful really 00:06:35 the philosophy is what got me interested 00:06:35 do you use DOES> 00:06:45 no, not quite yet: I'm almost there now though! 00:06:57 its a good word to have 00:07:01 ive been learning the internals recently 00:07:10 its all starting to become clear 00:07:20 learning ' and stuff 00:07:23 ;) 00:07:33 they have ' and ['] 00:07:40 it confused me at first a little 00:07:41 before it was just learning to think in forth, in the stacks 00:07:46 yeah, i understand ['] now 00:07:55 and the interpreter/compile-time 00:08:06 it is simple really... just have to wrap your head around 00:08:08 You really do need 2 stacks in Forth 00:08:17 reading Starting Forth by brodie... been a help 00:08:24 its different 00:08:40 >R R@ R> 00:08:51 I've decided to start expressing words in upper case 00:08:53 it seems analogous to the way other things work... in C and stuff you have a stack and the heap 00:09:07 isnt the return stack like a heap? 00:09:24 if you didn't have the Parameter stack then you would need something else like a heap or something 00:09:35 not exactly 00:09:39 i would say no 00:09:41 parameter stack != data stack? 00:09:55 well, i wouldnt conclude they are equal, but i see some similarities in approach anyway 00:10:07 2's 00:10:13 PARAMETER-STACK DATA-STACK <> . -1 00:10:34 seems like you need both arms and legs 00:11:00 param stack = return stack? 00:11:05 r> r@ etc 00:11:07 of one sort or another :^) 00:11:17 hm 00:11:45 the parameter stack can be used for temporary storage inside of a word only 00:11:59 well, it holds return addresses 00:12:55 the one stack in C is used to hold both return information and paramters 00:12:58 i'm pretty sure of that 00:13:15 so, the heap would be used for storage of large objects 00:13:27 and other large more complex structures and bodies 00:14:04 In Forth you have a Parameter Stack and a Return stack and they are distinct 00:14:58 in Forth those large structures can be in the dictionary, or a heap 00:15:04 ANS has heap words 00:17:19 oh right 00:17:46 i guess that makes sense.. return stack isnt really allocating any chunks of memory really anyway 00:18:03 gonna be really small in fact, i imagine 00:18:53 both stacks can be small 00:19:02 im getting the hang of it... im much farther along than when i started 00:19:10 both stacks can be like 4 cells each, but then you have to code for that 00:19:16 good 00:19:18 right 00:19:51 yeah, so my goal now is to write a forth for some architecture 00:20:03 I like I like my stacks deeper than that 00:20:08 prolly just x86 or ppc, but i want a feel for the underlying machine and assembler 00:20:20 the latter for the former obviously 00:20:31 it sounds like a great learning experience to me 00:20:55 yuppp.. you learn algebra well when you take calculus. and arithmetic well once you've used algebra 00:21:48 and it seems all the forthers highly encourage it and it'd force you to understand it all to have to write the system ;P 00:23:03 every Forth programmer has his or her own Forth 00:23:08 even I have one 00:23:28 but its conceptual and experimental and anything in it can change at any time 00:23:39 i haven't actually gotten down to coding one yet 00:25:15 I think that it would be treaded interpreted 00:25:21 threaded interpreted 00:25:23 not inlining 00:26:50 yeah, it seems to fit perfectly with the philosophy of forth, for each to have his own 00:27:09 but then we have a standard 00:27:11 after all its just you and the computer... so thats my goal 00:27:29 so, we have something to look to if we want to try to be somewhat portable 00:27:44 many people choose a standard of some sort or another 00:27:57 others just start out something new 00:28:29 will your Forth be ANS? 00:29:00 i've already decided that mine won't 00:29:13 But I'll buy an ANS Forth if its worthy enough 00:30:03 well.. i will work towards the spec, im sure.. any deviation i will be aware of and have a reason for 00:30:26 i trust chuck/whoever made the ans spec's design over my own 00:30:29 hehe 00:30:49 Chuck didn't design ANS 00:30:53 i figured not 00:31:01 what is ANS anyway 00:31:13 American National Standard 00:31:21 i meant '/' as 'both' or 'either/or' 00:31:29 ok 00:31:37 It was done by a group of people 00:31:57 colorforth is interesting ;) 00:32:11 My history of the Standard is not very high 00:32:16 wonder what relation they have to Forth Inc 00:32:24 any? 00:32:31 or just circumstantial 00:32:43 Elizabeth helped work on the ANS standard I'm sure 00:33:00 dont know her... 00:33:28 I met her only once 00:33:32 it was a a trade show 00:33:56 im sure you had an interesting chat ;) 00:33:59 Elizabeth Rather, President of Forth Inc. 00:34:21 and I met Steve Argwal 00:34:41 he was at the Forth Inc Booth 00:34:55 I still have a souviner from that trade show 00:35:06 I wonder what I could get for it if I put it up on E-Bay 00:35:17 i only discovered forth through IRC i think, indirectly 00:35:28 nobody i know does it in real life 00:35:35 nor had i ever heard of it 00:35:46 heh 00:35:48 I know people who do it in real life 00:35:49 long time ago? 00:35:55 now 00:35:57 well, the people i know here do it in real life.. that counts 00:35:57 today 00:36:05 nah i mean the show ;) 00:36:55 :^) 00:37:21 im glad to have a chance to be interested in this sort of thing at such a young age.. i may actually have the chance to become anywhere near as clued in as everyone else after a decade or two 00:37:27 heheheh 00:37:51 that's a thought 00:38:03 well, learn Forth then, it will show you computer science 00:38:39 yeah, i have learned a good portion and it has helped me a lot already 00:39:00 to think in machine terms as i should 00:39:13 since i am working with a machine.. 00:39:23 right 00:40:19 anyway, dont be too turned off by the quietness in here, sometimes there are rather good spurts of conversation.. just not at this hour usually i dont think ;) 00:40:38 ok 00:40:47 good night 00:40:53 good night 00:42:00 i will find out the more active times then 00:42:16 time with a higher change of seeing text 00:43:10 yes it is much more useful then. 00:43:12 :) 00:43:49 i'm going to 00:43:53 goodnight 00:43:59 --- quit: jdamisch () 01:22:20 --- join: skylan (~sjh@vickesh01-4803.tbaytel.net) joined #forth 02:11:42 --- join: ramnull (~nicad@12-241-145-39.client.attbi.com) joined #forth 02:45:33 --- quit: ramnull ("This isn't Happy Hour!") 03:29:55 --- join: mur (murr@baana-62-165-186-65.phnet.fi) joined #forth 03:48:54 --- quit: fridge (Read error: 110 (Connection timed out)) 04:01:16 --- join: crc (crc@ACA0F465.ipt.aol.com) joined #forth 04:03:42 --- quit: crc (Client Quit) 04:06:32 --- join: crc (tinyirc@ACA0F465.ipt.aol.com) joined #forth 04:07:02 --- quit: crc (Client Quit) 04:07:55 --- join: crc (~crc@ACA0F465.ipt.aol.com) joined #forth 05:42:21 --- join: karingo (karingo@2.portland-15-20rs.or.dial-access.att.net) joined #forth 06:29:35 --- quit: crc ("I was using TinyIRC! Visit http://www.tinyirc.net/ for more information.") 06:46:02 --- join: crc (~crc@ACA0F465.ipt.aol.com) joined #forth 06:46:30 --- quit: crc (Client Quit) 07:00:40 --- quit: karingo () 07:04:54 --- join: PoppaVic (~pfv@s89.waters.gtlakes.com) joined #forth 09:23:32 --- join: futhin (futhin@dial-168.ocis.net) joined #forth 09:25:42 --- quit: futhin (Client Quit) 09:47:35 --- quit: Robert ("brb") 09:48:11 --- quit: serg_ghost (Remote closed the connection) 11:16:43 --- join: Robert (~snofs@h138n2fls31o965.telia.com) joined #forth 11:33:05 --- join: Serg_Penguin (~z@ts25-b140.Moscow.dial.rol.ru) joined #forth 11:33:17 hi 11:33:26 just 4 few mins - modem 11:44:11 Hi Serg_Penguin 11:54:27 --- quit: Serg_Penguin (Read error: 104 (Connection reset by peer)) 12:02:13 --- join: kc5tja (~kc5tja@ip68-8-206-137.sd.sd.cox.net) joined #forth 12:02:13 --- mode: ChanServ set +o kc5tja 12:03:14 Hi kc5tja 12:03:29 lo kc5tja 12:04:45 kczxcrefiveyah 12:05:06 hello it's blur here 12:05:09 >:) 12:05:27 Dude, it's just a ham radio callsign. 12:05:34 Just!? 12:05:36 it's life 12:05:41 >:P 12:05:46 It's like any other radio call sign you might have heard. 12:05:58 my dad certainly has one but i dont know what it is 12:06:03 Yes, it's life, and ham radio is a real-life hobby of mine. 12:06:12 not bad one 12:06:18 i once wanted to be 12:06:26 but i have given up the technology 12:06:30 Anyway, hello. 12:06:40 and concentrated on contents and creativity 12:08:04 I have a multi-faceted system of hobbies, which center on creativity (though I haven't produced much of late, being so burnt out), communications (ham radio, Internet), research and development of renewable energy sources (Tesla turbines, pop-pop engines, Stirling engines), etc. 12:08:42 Even political and economic science (Stone society research). 12:15:49 --- join: fridge (~matt@dsl-203-33-165-146.NSW.netspace.net.au) joined #forth 12:15:57 that __attribute__ stuff is sorta'.. interesting. 12:16:01 cool 12:16:29 chuck is moving colorForth to boot off a USB instead of floppy drives 12:21:59 --- nick: semtex -> Speuler 12:22:37 fridge: Cool. Maybe I can boot ColorForth off my digital camera then. :) 12:22:49 only in B&W 12:24:44 OK, I need to go lie down again. 12:24:53 bbiab 12:42:53 --- quit: mur ("MURR!") 12:47:15 --- join: ramnull (~nicad@12-241-145-39.client.attbi.com) joined #forth 13:23:46 --- quit: TreyB (Read error: 104 (Connection reset by peer)) 14:01:48 --- join: TheBlueWizard (TheBlueWiz@pc7edn1d.ppp.fcc.net) joined #forth 14:01:48 --- mode: ChanServ set +o TheBlueWizard 14:01:53 hiya all 14:01:57 Hi TheBlueWizard :) 14:02:05 hiya ramnull 14:03:26 * Robert feels ignored. Or maybe that was just the nickname completion going mad? ;) 14:03:51 oops!!! 14:03:56 hiya Robert 14:04:07 you can blame it on tab key :) 14:04:18 * TheBlueWizard grrs at the tab key 14:04:22 :) 14:05:12 * TheBlueWizard hmms re: the thought of nickname competition...and nahs the thought 14:05:50 Nickname completion rules when someone decides to use a nick like TheBlueWizard. 14:06:12 Robert is short enough to type, if you're not afraid of some work. But TheBlueWizard... no way! 14:06:33 then use tab key to compete that nick :) 14:06:50 I do... And hope that tcn isn't here. 14:07:25 then type 'th' and there you go....my sin was to type 'r' and press the tab key...that's why :) 14:10:07 I _am_ afraid of some work ;) 14:10:55 ha ha ha...no work, no reward ;) 14:12:08 Oh, so that's why nothing ever gets coded here? Damn. 14:12:38 :) 14:20:00 --- quit: PoppaVic ("screw it all..") 14:20:17 * TheBlueWizard sighs 14:35:45 ib 14:35:58 ib? 14:36:07 I'm back. 14:36:55 ah :) 14:37:08 Heh. 14:38:01 Been busy translating some more assembler code into Forth code. 14:38:18 This is tedious as hell. 14:38:38 I gotta start using the stack more. 14:39:04 ah 14:39:34 that's hard, at first....just get it working then finetune it...it helps that way 14:39:53 * ramnull nods 14:40:30 The code will shrink by an order of magnitude on the next revision. 14:41:10 You good at assembler? 14:42:11 yes...though it has been a long while 14:43:16 Wanna look at the files I'm working on? 14:43:22 Using IsForth. 14:46:17 hmm...how big? what am I s'posed to do with it? 14:48:56 Just looking for pointers 14:49:13 Just a couple of text files. 14:49:55 I'm kind of a greenhorn. 14:50:39 Being paged 14:50:43 be right back. 14:50:47 --- quit: ramnull ("This isn't Happy Hour!") 15:30:28 gotta go...bye all 15:30:30 --- part: TheBlueWizard left #forth 16:29:43 --- join: nizchka (~nizchka@node-c-bba6.a2000.nl) joined #forth 17:05:22 --- join: TreyB (~trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 18:04:59 --- part: nizchka left #forth 18:06:16 'morning 18:06:21 Hi Speuler 18:06:34 ha, the_rob 18:06:51 what's new ? 18:07:06 Uh.. uh.. that's a good question. 18:07:27 don't strain yourself :) 18:08:28 how's commonforth progressing ? 18:08:30 --- join: jstahuman (~justahuma@pcp053298pcs.brlngt01.nj.comcast.net) joined #forth 18:09:13 Commonforth? 18:09:25 standard-neutral forth 18:09:33 best of all worlds 18:11:01 * Speuler guesses it is destined to be doomed because more than two people can't agree on a common word set 18:11:15 Oh. 18:11:28 We can mix everything, and look what happens. 18:11:48 Whenever two persons fight about something, the one with the knife wins. 18:12:01 i'm just working on word 18:12:23 but i tend to deviate from any standard with that 18:12:37 i like ( c -- a n ) 18:13:04 and no obligation to put a at here 18:13:20 this would break existing code 18:13:47 instead, i like to have a point into input buffer 18:14:26 that way i can have several strings, interactively, without the second string overwriting the first 18:15:14 convention to put word at here us meaningless anyway with seperate headers 18:15:17 is 18:16:05 and i dislike having to put leading count byte at first byte of string 18:16:36 when in about all cases you'd read it from there again 18:16:47 thus i like to leave count on stack 18:17:43 maybe i should give it a different name, and implement word to call upon that word, and copy string to here, with leading count byte 18:20:08 oh 18:20:14 there's parse in ans 18:20:26 which does about what i intended word to do 18:22:07 Hm. 18:28:47 --- join: semtex (~Speuler@mnch-d9ba4c21.pool.mediaWays.net) joined #forth 18:42:46 --- quit: Speuler (Connection timed out) 18:43:03 --- nick: semtex -> Speuler 19:34:09 --- join: Sonarman (~matt@adsl-66-124-254-137.dsl.snfc21.pacbell.net) joined #forth 19:36:45 just wondering, what's your guys' opinion on pforth vs gforth vs pfe? 19:42:28 I use gforth, but I haven't used the others. 19:42:44 ok 19:42:45 thanks 19:43:06 I hear they're pretty good though. 19:43:29 I don't do anything super-serious in Forth under Linux, so gforth is convenient enough for my needs. 19:43:39 More serious forthers use pfe or pforth, IIRC. 19:43:48 does anyone here actually use colorforth or similar boot forth? 19:44:31 kc5tja: thanks. 19:45:09 jstahuman: ah! thanks for reminding me, i've been meaning to try out colorforth, now that i've got a PC system :) 19:45:44 Sonarman: I doubt the original will boot though, but you can find a few patched colorforths which should 19:45:49 --- quit: cyberlok (Remote closed the connection) 19:45:58 thanks for the tip 19:46:17 I also think someone wrote an OS for PC in forth 19:46:40 yeah, like retro.tunes.org 19:46:55 that's the one 19:47:16 --- join: cyberlok (cyberlok@warl0k.sponsor.freenode) joined #forth 19:47:39 :) 19:47:55 i forgot about forth, this is cool! 19:48:11 heh :P 19:50:08 anyone else have an opinion on gforth vs. pforth vs. pfe? :) 19:56:28 Sonarman: what do you intend to use any of those for ? 20:24:51 --- join: futhin (futhin@dial-33.ocis.net) joined #forth 20:24:56 :D 20:25:11 hi kc5tja :) 20:25:30 how is our dear ole channel doing this warm night? 20:25:42 anybody awake? :P 20:27:59 Speuler: nothing in particular, just curious if there were any strong opinions :) 20:30:49 * kc5tja is -- I'm also eating. 20:36:21 Sonarman: gforth has a decent tutorial. pfe comes with lots of examples. pforth is less bloated 20:36:36 thanks Speuler 20:37:06 np 20:39:58 anybody here know the (English) word that means "changing each bit in something to it's opposite" (e.g. 11001100 -> 00110011) 20:41:33 the ~ operator in C 20:42:05 toggle 20:42:14 or invert 20:42:30 ah! invert, that was the one i was looking for, thanks! 20:42:32 complement 20:45:03 so, now that i know the right word :) does "not" in forth invert the top number on the stack? (sorry, it's just that i saw it in the topic for #openBIOS and gforth doesn't have it) 20:45:50 not in fig forth was different from not in f83. ans dropped not alltogether 20:46:28 it is choice of user if he wants : not invert ; or : not 0= ; 20:46:50 ok, thanks 20:48:35 so i'm guessing that the "not" in "hex 2b dup not or" is invert, and that that pile of code puts 0xff... on the stack. is that right? (sorry i am so annoying) 20:49:25 2b dup not or, same as 2b 2b not or . refers to a shakespeare quote 20:49:38 to be or not to be 20:50:04 should be 0= 20:50:34 as there's no bitmap in the operands 20:51:44 king lear 20:52:59 otherwise you could shorten that line to -1 21:38:19 maybe you should grab the rest of the quote 22:24:18 --- quit: jstahuman ("Lost terminal") 22:39:49 --- quit: Klaw (Read error: 104 (Connection reset by peer)) 22:42:34 --- quit: futhin (Read error: 110 (Connection timed out)) 22:52:33 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 23:54:54 i s'pose you could say that i am a bit clueless :-) 23:59:59 --- log: ended forth/03.05.10