00:00:00 --- log: started forth/02.03.01 00:46:51 --- join: aum (~david@l76-131.world-net.co.nz) joined #forth 00:47:19 hi - does anyone here upload packages to unstable? 00:48:12 oops - wrong chan :| 00:50:13 "We apologise for the interruption and return you to your regularly scheduled idling." 01:28:18 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 02:03:23 --- join: Stepan (~stepan@Charybdis.suse.de) joined #forth 02:04:48 moin 02:37:38 --- join: rob_ert (~robert@h173n2fls33o898.telia.com) joined #forth 03:00:03 --- quit: aum () 04:32:10 --- join: aum (~david@l76-131.world-net.co.nz) joined #forth 05:32:30 --- quit: aum () 06:09:34 --- join: Speuler (~l@195.30.184.52) joined #forth 06:09:52 'morning 06:23:37 hoi Speuler 06:23:44 where are you located btw,... 06:23:50 munich.. 06:23:59 argl.. i guess you told me already 06:25:38 well, depends on what "located" means 06:25:46 i'm not living in munich 06:26:40 i'm kind'f mobile 06:26:57 about to relocate again 06:44:55 munich is just for the time being 06:45:15 and now i'm here more or less by accident 06:55:07 rob_ert: you're alive ? 07:36:57 --- quit: Speuler (Remote closed the connection) 07:47:43 --- quit: clog (^C) 07:47:43 --- log: stopped forth/02.03.01 07:47:58 --- log: started forth/02.03.01 07:47:58 --- join: clog (nef@bespin.org) joined #forth 07:47:58 --- topic: 'can you imagine forth coding on this beauty?! http://www.exonome.com/fj/phkl/' 07:47:58 --- topic: set by ChanServ on [Thu Feb 28 13:05:12 2002] 07:47:58 --- names: list (clog rob_ert Stepan @ChanServ oxygene) 09:58:07 --- quit: Stepan ("Do you think it is air you are breathing? Hmm?") 10:10:49 --- join: Speuler (~l@195.30.184.52) joined #forth 10:11:02 hoi 11:10:27 --- part: Speuler left #forth 11:27:54 --- join: I440r (~mark4@1Cust25.tnt3.bloomington.in.da.uu.net) joined #forth 11:36:31 --- join: Fare (~user@samaris.tunes.org) joined #forth 11:36:39 hi fare!! 11:36:52 wanna see version 1.00b ??? :) 11:36:54 I440r! 11:37:01 i got fsave and turnkey working 11:37:17 so i consider it releasable now as an official version 11:37:39 wheres sopeha :P 11:37:45 she's cute!!! 11:37:48 smart too! 11:38:04 i wish i had a linux babe for a neighbour :P 11:40:07 --- join: CaffeineJunkie (~l@195.30.184.52) joined #forth 11:40:14 g'day 11:40:15 hi bongo :) 11:40:28 im getting my first caffine fix of the day now :P 11:40:59 stops the shaking 11:41:12 --- nick: CaffeineJunkie -> Speuler 11:42:19 a job offer flew by 11:42:23 ive been looking at lib4th 11:42:23 forth 11:42:27 yea ? 11:42:32 i'm not interested 11:42:33 did you catch it ? 11:42:35 no ? 11:42:37 oh :( 11:42:38 is in the uk 11:42:48 maybe you're more into it ? 11:42:48 joy mining machenery ? 11:43:04 as a contract maybe 11:43:07 the list of skills (at least one) is 11:43:11 but nothing less than $100 an hour 11:43:29 openfirmware scsi forth vxworks and another two 11:43:35 --- join: XeF4 (jajcho@12-245-116-85.client.attbi.com) joined #forth 11:43:40 xef4!!! 11:43:42 shall i look it up ? 11:43:47 i don't know the rate 11:43:50 i never worked with scsi :) 11:44:05 or vxworks or open firmware 11:44:10 i got it partly because of scsi 11:44:20 passed my filter 11:44:27 I440r!!! implemented a colorforth front-end for isforth yet? =) 11:44:39 've done scsi firmware before 11:44:45 xef4 no but i got fsave and turnkey working and have made an official release :P 11:44:49 from scratch 11:44:56 eep! 11:45:05 wheres mrreach :P 11:45:07 nice.. just when I have no floppies handy 11:45:09 both target and initiatiator 11:45:22 but i'm too busy right now for a job :) 11:45:29 hehe 11:45:41 i assume you have cash reserves to live off 11:45:43 i dont :P 11:45:50 no money and no job realy fucking sucks 11:46:20 there's another forth job 11:46:31 where ? 11:46:41 Po: Firmware/Diagnostics Development Engineer 11:46:41 Sk: This role is for a Software Development Engineer to work in a 11:46:41 team involved in the the design and development of Firmware & 11:46:44 Diagnostics Software for the next generation of our clients 11:46:44 Servers, Relevant exp in one or more of the following areas, 11:46:44 Solaris, Solaris internals, Embedded programming (VxWorks), C, 11:46:50 Assembler programming (any, but SPARC preferable), Forth 11:46:52 programming; processors SPARC, PowerPC or Hitachi 11:46:54 Microcontroller; I/O interfaces - Gigabit Ethernet, SCSI, USB, IDE. 11:46:57 where?? 11:47:14 that one i could probably do 11:47:15 heh 11:47:17 Bracknell, Berkshire 11:47:24 01462 476499 11:47:32 mailto:dnuttall@charlottejames.com 11:47:42 Re: JS1591DN 11:47:50 Cn: David Nuttall 11:49:32 UK too 11:49:42 aha. It not likely I will get to .uk anytime soon. 11:50:00 ive heared of david nuttall 11:50:13 probably from an agency 11:51:48 living on beans in tomato sauce right now ? 11:52:14 no heh 11:52:15 not quite 11:52:23 ah 11:52:27 got some bread with it 11:52:28 beans, onions and bread here.. a job would be very nice indeed. 11:52:41 well, go for it 11:52:52 but onions are healthy 11:53:31 i spent very little right now... 11:53:34 spend 11:53:35 i dont like onions :P 11:53:40 free flat, fre food ... 11:53:55 food of choice 11:54:01 onions too 11:54:14 if specified 11:54:43 mm.. fried onions, rye bread and beans. what else is fit to eat? 11:55:37 fish 11:55:45 catch of the day 11:56:06 birch trees 11:56:08 aspins 11:56:30 you can cut the cambrium into spaghetti 11:56:39 and extract syrop 11:56:52 insects are very nourishing too 11:56:59 lots of proteines 11:57:09 hm yes. birch syrup is quite good. 11:57:38 got some nature around ? 11:57:49 lots of things one can find to eat 11:58:06 get yourself a good survival book :) 11:58:24 just in case 11:58:33 you never know when you'd need it 11:58:55 of course. 11:59:34 shit 11:59:41 lost my yesterdays work 11:59:57 worked too well ... 12:00:20 ugh backups!!! 12:00:21 heh 12:00:36 lost it before the backup 12:00:56 i'm not doing backup once on hour 12:00:57 i got isforth in ~/isforth in the prcs reposatory, in a tgz in ~ in the samba shares on the server and in /pub on the server heh 12:02:04 i was defeated by a feature i've put in before 12:02:38 the automatic cleanup... 12:03:05 account expired 12:14:48 Speul: was there a URL for that job offer? 12:17:52 XeF4: i got it sent by mail 12:18:20 from which i pasted it 12:21:02 hum 12:21:54 --- join: Fare_ (~fare@samaris.tunes.org) joined #forth 12:22:27 --- quit: Fare ("ERC v2.91 $Revision: 1.217 $ (IRC client for Emacs)") 12:23:07 --- join: futhin (~thin@h24-64-175-123.cg.shawcable.net) joined #forth 12:29:21 :) 12:29:28 hi sexy 12:29:30 oooh sexy 12:29:32 what's up sexy? 12:29:43 im at a loss for things to do now 12:29:50 did you check out the all powerful PHKL? 12:29:58 phkl ? 12:29:59 --- nick: Fare_ -> Fare 12:30:07 the topic 12:30:11 oh yea 12:30:15 keep that in the topic 12:30:23 i have a friend who actually collects that sort of thing :) 12:30:23 i thought it was funny 12:30:27 lol 12:30:32 its cute :) 12:30:36 yup 12:30:38 heh :P 12:30:54 i wonder if her bf dumped her heh 12:31:21 you are at a loss of things to do ?? 12:31:34 did you finish isforth? 12:37:07 yes 12:37:16 well 12:37:16 not finished 12:37:16 but its releaseable now 12:37:36 i need that assembler extention ow 12:37:36 now 12:37:48 i could be writing the help system of corse 12:37:59 are you collecting those quotes ???? heh 12:38:02 no 12:38:07 i guess i could 12:38:08 um 12:38:21 i can help with the help system too.. 12:38:33 but i seem to be doing other stuff most of the time.. 12:38:45 well im not coding it yet, im writing all the info it will display 12:39:22 oh no! the help system is ruined already! 12:39:25 :P 12:39:39 im making one directory for each source file and a file in each directory for every item in each source file 12:39:46 the file discribes the item 12:39:47 etc 12:39:55 um 12:40:25 i don't trust anybody to do a good job on the help system 12:41:14 so i want to have a strong influence on your help system 12:41:18 a very strong influence :D 12:42:18 i know what you want - and i agree 12:42:22 none of that 12:42:23 help foo 12:42:32 and you jump into the editor at the foo help 12:42:36 nooooo 12:42:39 heh 12:42:39 it should just display IN the console 12:42:45 yeah :D 12:43:26 : help cr ." buy a good book" ; 12:43:37 naw 12:43:51 i'll just rip out the help from MUF and then modify it 12:43:55 shhh! 12:43:59 clog, don't tell anyone ;) 12:44:02 hehe 12:44:09 : help ." rtfm" ; 12:44:16 i like it heh 12:45:11 : rtfm s" rtfm" helpbase consult ; 12:46:16 how much czech crowns fit into an euro nowadays ? 12:46:25 about 20 ? 12:46:46 dunno 12:47:25 sorry, wrong screen ... 12:49:54 --- quit: XeF4 ("pois") 13:06:02 seen forthos.org ? 13:06:59 no 13:07:17 thanks 13:16:08 notify 13:16:14 ugh forgot the / heh 13:16:41 i hope i'm on your notify list :P 13:16:49 you are on mine 13:16:55 lets start a notify war! 13:16:56 bwahaha 13:17:11 why would i put you on my notify - i know exactly where you are when your online 13:17:14 your in here 13:17:17 RIGHT ? 13:17:18 heh 13:17:46 heh 13:17:49 not always :P 13:17:54 what if i get on other networks? 13:17:57 i don't get on #forth 13:19:56 i saw you join #forth on dalnet 13:20:00 so dont lie to me :P 13:22:15 that's cause i saw you online 13:22:26 so i joined the chan to see what was happening 13:22:34 but you were all by your pathetic lonesome self :P 13:22:48 hehe shaddp :P 13:28:00 --- nick: Fare -> FareAway 13:32:19 --- join: XeF4 (juzmjk@12-245-116-85.client.attbi.com) joined #forth 13:33:51 --- nick: FareAway -> Fare 13:34:35 --- nick: Fare -> FareAway 13:40:31 --- nick: FareAway -> Fare 13:40:38 --- nick: Fare -> FareAway 13:54:58 ok i440r 13:55:06 i'll start going thru the logs 13:55:17 and put the fear of god into your heart! :P 13:57:16 --- join: Etaoin (~david@ljk11.sat.net) joined #forth 13:58:10 i440r: where can I find the latest isforth? 14:03:13 IsForth Because Forth IS! ... must say something inteligent here soon.... 14:03:30 (first match on google, searching isforth ...) 14:04:12 ftp://ftp.purplecoder.com/isforth.txt 14:04:18 fourth match ... 14:04:35 ... stoned last night : 14:04:39 sixth match ... 14:04:46 ahem 14:05:01 vengeance.et.tudelft.nl/~smoke/logs/demoscene/demoscene.25Jan02 - 14:05:20 "moke" was ~smoke 14:05:30 shit, my client eats the ~ 14:05:36 "moke" was ~~smoke 14:06:17 Speuler: I asked because the first hit (which happens afaik to be the official site) only has antique files 14:06:44 XeF4: ok. i directed those matches towards I440r 14:07:12 some of those really are not ideal hits ... 14:09:41 speuler: the url appeared correctly for me.. ~smoke 14:09:41 Erst vor wenigen Wochen haben sich wichtige gro?e Fachh?ndler wie Kaut-Bullinger, Hutter-Guillbert und IBS Isforth sowie die Marketing-Gruppe West auf das PBSeasy-Format f?r die elektronische Gesch?ftsabwicklung mit den Lieferanten geeinigt. Schon ab Mitte des Jahres 14:10:06 I440r: your chance to make some money here. 14:10:13 trademark isforth quickly ! 14:10:36 that company seems to have a commercial product by that name 14:10:43 eh?? 14:10:49 hm 14:10:54 what does the product do? 14:10:59 is it a forth ? 14:11:22 Speuler: your client also kills high latin-1 chars. 14:13:00 "pbs business group for electronic business transaction... billing data ... " 14:13:40 i got their bank account number here 14:13:53 hmm 14:14:03 document from may5, 2000 14:14:26 well, forget it... 14:14:51 heh 14:15:09 you leet hax0r, you're gonna steal money from their bank account 14:15:53 --- mode: ChanServ set +o futhin 14:16:04 no such deed to me associated with my good name 14:16:14 --- nick: Speuler -> CaffeineJunkie 14:16:18 is there anything similar to having a word on the stack and executing that word in forth? 14:16:19 --- topic: set to 'can you imagine forth coding on this beauty?! http://www.exonome.com/fj/phkl/ | I'm starting a support group for people who are too lazy to code. Msg me. :P' by futhin 14:16:31 etaoin: yes 14:16:38 you can have the address of the word on the stack 14:16:46 Etaoin: guess its name ... 14:16:47 then you have ' to execute it or something like that 14:17:14 Eta: execute executes an execution token. Get an execution token for a word with ' 14:17:22 eg.. 2 3 ' + execute 14:17:24 so there is a way to get the address of a word to execute later? 14:17:29 ... or tick it 14:17:42 okay 14:17:46 ' foo execute 14:17:50 same as 14:17:51 foo 14:17:57 okay. thanks 14:18:08 Eta: ' puts the token on the stack, so you can of course put it in a variable or whatever 14:18:25 XeF4: you were first 14:18:55 credit to who deserves it 14:19:54 I didn't know we had scorekeepers in #forth. 14:21:22 yay 14:21:24 i win! 14:21:30 if were keeping forth score i win! 14:21:30 heh 14:21:48 let's i440r win in score 14:21:55 let me win the contract :) 14:21:59 eep execute isnt defered usually 14:22:07 ' foo is execue would blow away execute heh 14:22:17 etaoin: ' foo and then later you have execute 14:22:34 ooh yea 14:22:37 what does defered mean? 14:22:40 ' foo gets address of foo 14:22:52 its like a forward reference 14:22:54 def er foo 14:22:58 : blah xx xx xx ; 14:23:01 ' blah is foo 14:23:09 when you execue foo you execute blah 14:23:21 you can change foo to execute any othyer word 14:23:31 its very usefull 14:23:50 emit is usually defered so you can change where a character is emitted to 14:24:08 console, printer, to a file, do /dev/null.... heh 14:24:22 : silent drop ; 14:24:26 ' silent is emit 14:24:30 hehe 14:24:41 ' drop is emit 14:24:55 another thing you you can do is a deferede word chain 14:25:04 for instance default is what forth runs on startup 14:25:07 defer default 14:25:12 I440r: what does isforth with: 1 dup base ! . ? 14:25:17 ' silent is emit = : silent emit ; right ?? 14:25:33 base 1 is silly hehe almost as silly as base 0 :P 14:25:50 why ? 14:25:57 here - ill write a word to displayt all numbers from 0 to infinity in base 1 14:25:58 2 -> 11 14:26:02 5 -> 11111 14:26:13 : 0-infinity begin 0 . again ; 14:26:24 ehm. sorry. was wrong 14:26:24 base 1 has only digit 0 :P 14:26:27 t'isn't 14:26:28 ... 14:27:03 but forth allows any base from 2 to 36 14:27:14 anything higher than that would not be displayable i dont think 14:27:23 can we have floats as base ? 14:27:30 no 14:27:51 thats against the law 14:27:55 floats are evil :P 14:28:10 say, fractions ? 14:28:16 integer math is faster. if intel made their floating point unit do integer math only it would be faster :P 14:28:18 float is not a base, it is a representation (this is sure to attract the anger of Fare) 14:28:26 we can have floating point math that is abstracted so that it could either use FPU or integer math. 14:28:37 depending on the processor/architecture 14:28:43 i dont think fare angers very easilly 14:29:07 eep! theres a town called angers in france hehe 14:29:15 famous for the edict of angers 14:29:20 wtf? float is NOT a base. how the hell can it be a base? :D 14:31:32 it would be silly to use fractional numbers as a radix anyway 14:31:44 thats something i would expect of C coders - not forth coders :P 14:34:17 you mean, c programmers can do what a forth programmer can't ?? 14:34:48 i reserve the right to do stupid things 14:35:10 it is NOT upon the compiler to judge ... 14:36:16 c programmers generally code stupid code. forth programmers generally find a non stupid way of doing the same thing :P 14:36:16 thats the diff :P 14:37:52 so we can find an intelligent work around 14:38:18 but that's just tricking the compiler into doing something it couldn't do otherwise 14:41:13 Caffeine: you can! set a fraction as your base eg.. 5 3 / base ! The integer-rounded (this is the integer base, remember) fraction will become the base for all numeric I/O =D 14:42:17 caffeine: what? we just find simpler solutions than C coders 14:42:43 I want base e 14:43:10 yes, this whole integer number concept is just like brainwashing us 14:44:17 just because we got an integer sized number of fingers ... 14:50:40 how different math would be would we have 2.71... fingers 14:52:09 difficult to grasp ? 14:52:17 see, i told you, we're brainwashed 14:52:35 heh 14:52:46 --- quit: FareAway ("Connection reset by pear") 14:52:46 bongo - sounds painful to me :) 14:53:00 truth hurts :) 14:53:37 yes, I'd find it difficult to grasp as well as type with 2.71 fingers 14:54:13 of course we'd have 24.79163... characters in the alphabet 14:54:37 um 14:54:41 this topic is pretty damn boring 14:54:41 but a number like "2" would be difficult to represent 14:54:43 and useless 14:54:48 do I want to use a macro? 14:54:57 etaoin: for what? 14:55:00 no, but 1.27146... macros 14:55:48 who cares about the philosophy. the fact is integer math is faster. and it can be easily abstracted so that nobody knows it's not floating point math 14:55:52 do some magic like : but put the xt of an anonymous function in a place in memory 14:56:15 what are you trying to code? 14:56:28 Etaoin: often you have :noname 14:56:47 isforth wont have :noname 14:56:48 :noname 1 . 2 . 3 . ; ( leaves xt ) 14:57:08 no space ? 14:57:12 between : and noname 14:57:19 no space 14:57:27 :noname is a word 14:57:52 Etaoin: what forth do you use ? 14:58:34 gforth for no particular reason 14:58:42 gforth has :noname 14:59:07 defer foo 14:59:15 :noname words ; is foo 14:59:27 what does is do? 14:59:43 defer has been explained by I440r further up the road 14:59:52 assigns an xt to a word? 15:00:11 :noname compiles the words, up to ; but without header 15:00:15 leaves the xt on stack 15:00:25 " is foo" stuffs that xt into foo 15:01:19 you can ! that xt at a place of your choice 15:01:25 no need to use defer for 15:01:35 did that just for sake of example 15:03:43 etaoin: what editor do you use? 15:03:56 futhin: emacs 15:04:25 how did you find out about forth? 15:04:37 you seem much more of a Real Coder (tm) than I am :D 15:04:50 i'm just a lazy wannabe 15:05:00 a tray dater 15:05:13 ahem 15:05:19 hm? 15:05:21 I heard it mentioned a few times on irc and I got bored. 15:05:30 hehe 15:05:59 it's also kind of interesting that I was looking for a somewhat high level vm right before deciding to try it out 15:06:16 ah, nice 15:06:22 er, vm that one could code directly in virtual assembler 15:07:03 i was interested in coding an os to take over the desktop market from windows.. and then i discovered forth (which, imo, is the perfect language for me) :D 15:07:31 does> is currently destroying my mind. 15:07:39 Etaoin: you were listing into #assembler ? 15:07:48 CaffeineJunkie: huh? 15:08:02 forth was mentioned there occasionally 15:08:09 listening ... 15:08:19 no. 15:08:24 where did you hear it? 15:08:38 etaoin its easy 15:08:48 does> messed with my mind at first too hehe 15:08:49 #python and #tunes 15:08:59 ill explain does> if you want 15:09:01 recently ? 15:09:06 ack 15:09:11 does> is easy!!! 15:09:25 you'll butcher up the explanation :P 15:09:28 I can't pass up a free lesson 15:09:33 ok 15:09:38 does> is used in creating words 15:09:45 : constant create , does> @ ; 15:10:00 this word creates a new class of word 15:10:08 etaoin: lots of "free lessons" can be found in the #forth logs at http://tunes.org/~nef/logs/forth/ 15:10:14 everything to the left of does> is the "new word" creating stuyff 15:10:32 everything after the does> is what all words created will do at run time 15:10:41 0 constant foo 15:11:01 constant creates a word called foo and commas the 0 into the body of foo 15:11:23 when you run foo it does the @ which returns the contents of its own body 15:11:52 i could explain it in greater detail but thats the gist of it heh 15:12:10 I440r: to which Forth dialect are you referring? Not every implementation of Constant uses Create 15:12:13 i skipped some of the more complex issues of it - like how it uses ;code :) 15:12:33 83 standard does :P 15:12:34 what happens when you do 0 constant foo 1 constant foo ? 15:12:37 look at channel limit :P 15:12:47 thats legal 15:12:52 0 constant foo 15:12:55 code goes here 15:12:58 code goes here 15:13:00 foo blah blah 15:13:01 a new word is constructed the second time? 15:13:03 1 constant foo 15:13:09 yes 15:13:21 the old one is thrown away then 15:13:23 usually forth will warn you about repeat definitions but they are legal 15:13:25 no 15:13:33 --- nick: CaffeineJunkie -> Speuler 15:13:44 I440r: shall we also use 83-prescribed 16-bit words? 15:14:01 no 15:14:18 xef4 were ignore certain parts of the 83 std :) 15:14:36 anything in "code goes here" that refered to foo would get 0, but everything after the second execution of constant would get the new value? 15:14:45 etaoin: the the new one gets put in, the old one is still there. if you type FORGET the new one would get deleted and the old one would still be there 15:14:46 it works like this eta 15:14:46 i define 0 constant foo 15:14:53 then i define some moe words that reference foo 15:14:58 they ALL reference the first foo 15:15:06 I440r: and clever (post-83) Forths also prefer to inline Constants, so the does> will not work. 15:15:07 when i create a second definition for foo 15:15:17 any NEW words will referfence the NEW foo 15:15:30 okay. 15:15:52 xfe4 isforth has a word called const. its state smart. in interpret mode it returns the body contents 15:15:57 in compile mode it compiles a literal 15:16:38 I440r: what's the advantage of a lit over a const ?? 15:16:41 I440r: so your recommendations will fail under isforth. 15:16:52 no 15:16:58 because variable and constant also exist 15:17:05 i have variable, constant, var and const 15:17:13 i440r: is isforth the simplest possible design?! :D 15:17:15 var and const are the recommended ones 15:17:24 futhin not everywhere 15:17:29 but its not obfuscated either 15:17:32 I440r:i see the disadvantage (bigger code) but not the advantage ... 15:17:55 speuler read what i say in the sources 15:18:03 the advantage is that a constant IS a constant 15:18:32 literals are one word larger than constants but at the same time were getting rid of an auful lot of fetches on variables too 15:18:34 i440r: so your state-smart Constants check if DOES> code has been appended, or ... ? 15:18:39 it balances otself out 15:18:51 xfe4 ? 15:19:18 I440r: true, a constant is a constant. but that would hold true without const too 15:19:27 aha. const != constant. 15:19:32 that's not much of an advantage then 15:20:09 speuler im going to have SOME words compile into a transient memory area. the run time for these words will be discarded on turnkey 15:20:25 const will be one of those words 15:20:47 a const isn't a constant? who can i kill? :P 15:20:49 var has the same definition as constant (value is a gay word) 15:20:59 you won't save space by that ... 15:21:05 eh ? 15:21:19 after all, each time you use const, you compile an extra lit 15:21:37 turnkeyd apps do not require creating words. ALL creating words will be compiled into the transient memory area 15:21:39 for saving doconst just once, that's a poor gain 15:21:53 im not trying to save doconstant 15:22:12 read my sources to understand the logic behind it 15:22:49 and it DOES save space too 15:23:09 this is actually more fun than c coding. 15:23:22 eta duh! since when was C fun coding:P 15:23:35 since I didn't know any better 15:23:42 heh 15:24:12 I440r: will you eliminate dovar too ? 15:24:21 upon tunrkey 15:24:26 the do- words are required at run time 15:24:47 loop, begin etc will all be discarded. but branch and (do) and (loop) etc will remain 15:25:04 the definition for constant, variable, : and ; etc will be discarded 15:25:08 nest and unnest will remain 15:25:28 does> word type creating words will have to stay behind too 15:25:43 because all words created with them share common code with the word taht created them 15:26:05 the kernel doesnt actually USE any does> words i dont believe 15:26:14 erm. maybe one in there somewhere - i forget heh 15:26:22 you do fetch a literal too, just form another address ... 15:26:26 from 15:26:33 ? 15:26:35 wtfc ? 15:26:45 literals are all inline with your code 15:26:48 (lit) stays 15:26:55 was reading back, to see whether i missed something.- 15:26:55 the run time for words all stay bahind 15:27:10 referring to a comment a few lines further up .. 15:27:13 the creating part gets discarded. whats so difficult to understand about that ? 15:27:22 one. 15:27:38 but, why not use doconst to fetch the constant value at one spot 15:27:53 instead of writing the same value as lit to words 15:28:00 doconst wil stay, or ? 15:28:09 because that allows for modification of a constant 15:28:11 bad form 15:28:26 dovar is doconstant 15:28:32 constant and variable still exist 15:28:44 so you can still !> myconstant 15:29:04 5 constant five 5 constant maybefive 15:29:09 !> myvar is how you modify a var 15:29:22 change maybefive, leave five constant 15:29:45 declaring maybefive as a constand and then changing it is bad 15:29:49 just declare it as a var 15:29:56 var has the same run time as constant 15:29:58 better form 15:30:04 BOTh are allowed 15:30:10 one is frowned upon 15:30:16 0 constant 5 15:30:19 4 constant 23 15:30:25 go ahead, knock yoursefl out! 15:30:28 "because that allows for modification of a constant" (c) i440r 15:30:37 ugh 15:30:38 dood 15:30:41 i told you 15:30:47 variable exists as per usual forths 15:30:53 constant exists as per usual forths 15:31:00 throw ! out. it allows for modification of a literal :) 15:31:08 var is like constant but declares itself as modifiable 15:31:35 const is just a more politicaly correct form of compiling a constant 15:31:43 beats me 15:31:43 wtf is the problem with understanding this ? 15:31:54 the effort you put into it 15:31:58 ok i get it 15:32:01 your just being silly 15:32:04 fine heh 15:32:46 i am not throwing out anything 15:32:50 im not disallowing anything 15:33:02 from a technical point, i understand it perfectly well. just the why remains unclear, because i didn't read the source code 15:33:05 i encourage people to write the code the way they MEAN it 15:33:14 if its a fucking constant keep it constant then 15:33:21 else declare it as being variable to begin with 15:33:22 yes. 15:33:26 just don't change it ... 15:33:36 the whole reason for using constant for variables is because its cheaper on memory 15:33:44 so use VAR !!!! 15:33:45 you waste that memory again 15:33:50 by using lits for constants 15:33:58 speuler i think this is going over your head 15:34:02 probably 15:34:05 either that or you are just being anti 15:34:26 i understand that a literal consumes more mem than a constant 15:34:32 is that wrong ? 15:35:31 take any given sources. there will be a hell of alot more variables than constants 15:35:39 so i lose a little when someone uses a constant 15:35:50 they save alot more by using var than they lose by using const 15:36:01 and you have a choice 15:36:02 use it 15:36:03 or dont 15:36:10 var const variable constnat 15:36:16 all exist for your pleasure 15:36:22 most code i know uses very few variables 15:36:46 you use variable a lot ? 15:37:01 --- quit: I440r ("Reality Strikes Again") 15:37:08 people tend to avoid them. 15:37:17 reentrancy problems and all that shit 15:37:29 hmm 15:37:36 did i sound unreasonable ? 15:38:22 state saving overhead with tasks ... 15:38:30 you should think thrice before writing reentrant code in Forth 15:38:48 sure. in any language you'd have to think carefully when doing that 15:39:02 but stacks help a lot 15:39:12 variables don't 15:39:28 I meant that it is usually not necessary. 15:39:42 state saving overhead with tasks 15:39:54 you're not going to outlaw tasks ? 15:39:56 how does state-saving overhead cost more with heavy variable use? 15:40:12 cause you might have to save and restore variables 15:40:36 i suppose, the variable alias constant does not work like a user variable 15:40:49 why? you preserve a pointer to the dictionary by which you resolve variable references. 15:40:59 speuler: the concepts of variables and constants are old concepts borrowed from other languages. in reality, we can throw away variable and make the constant = variable.. we should probably throw away the concepts and have a new word to describe it.. 15:41:24 i find most forth code i look at use way too many variables.. 15:41:25 the variable bodies themselves are just allocated cells 15:41:25 futhin: i use modifiable constants myself 15:41:33 exactly 15:41:46 we should just change the name or something.. 15:41:55 value ? 15:42:18 hm, got a better name? 15:42:44 Speuler: it makes no sense to preserve Variables with task switches. If a task needs private variables, it should keep them it its own private wordlist 15:43:01 base ? 15:43:20 which base is u. going to use ? 15:43:25 and , WHY ? 15:43:35 make u. task-smart ? 15:43:41 task-aware, at least 15:43:53 better, # 15:45:24 i suppose you'd not like a task, printing numbers, to change its output base just because a task needs to print a number in another base 15:45:49 i'd find that annoying 15:45:58 Speuler: then give each task a private dictionary. 15:46:04 ok 15:46:28 put base into each of those ? 15:46:40 yes 15:46:54 or, put # #s . u. ... into each ?? 15:47:08 if you put base into each ... 15:47:10 depends how you implement your forth. 15:47:20 why should # use base of current task ? 15:47:36 there's just one address reference compiled into it 15:47:47 etaoin: how's the code for the file processing thingie coming along? 15:48:05 I have been experimenting with JITing of forth code, so #, #s, etc would get automagically generated for the base in the private dictionary 15:48:43 --- mode: futhin set -o futhin 15:49:14 i440r tries to save some mem by that construct ... 15:49:29 speuler: i have to admit you sounded a little obtuse 15:49:31 your JIT # compiling will comply with his goal ? 15:49:38 when you were talking to i440r 15:49:39 about it 15:50:27 pub's closing ... 15:50:38 pub = bar/ 15:50:40 pub =bar ? 15:50:42 i don't leave in anger 15:50:46 but i got to leave 15:50:50 futhin: I'm on a side track 15:50:56 yes 15:50:58 internet cafe 15:51:28 g'd night 15:51:33 night 15:51:47 --- quit: Speuler ("night") 15:51:52 I should leave soon, too.. It is almost 2:00am and I must be awake tomorrow 16:11:54 --- join: qless (~qless@clgr000977.hs.telusplanet.net) joined #forth 16:12:08 howdy folks 16:12:43 howdy qless 16:12:59 you sort of missed all the screaming, shouting, and pulling of hair 16:13:00 heya futhin 16:13:04 it has quieted down :( 16:13:09 oh drat 16:25:37 --- quit: rob_ert (": ^ 1 swap 0 do over * loop swap drop ;") 16:28:39 5 0 ^ \ oho 16:32:17 --- quit: futhin ("gotta go") 16:34:16 --- quit: qless ("changing dimensions") 17:04:14 --- join: qless (~qless@clgr000977.hs.telusplanet.net) joined #forth 17:13:29 --- quit: qless ("changing dimensions") 17:16:28 hello. 17:17:30 --- quit: XeF4 ("kotiin") 18:13:29 --- quit: Etaoin (carter.openprojects.net irc.openprojects.net) 18:13:30 --- quit: oxygene (carter.openprojects.net irc.openprojects.net) 18:13:42 --- join: oxygene (oxygene@linux-future.de) joined #forth 18:14:50 --- join: Etaoin (~david@ljk11.sat.net) joined #forth 18:43:33 --- join: Shrdlu (~david@ljk16.sat.net) joined #forth 18:44:14 --- quit: Etaoin (Killed (NickServ (Ghost: Shrdlu!~david@ljk16.sat.net))) 18:44:23 --- nick: Shrdlu -> Etaoin 19:14:21 --- quit: Etaoin ("raise CreativityError, "can't find a good exit message"") 19:54:33 --- join: Etaoin (~david@ljk16.sat.net) joined #forth 21:08:36 --- quit: Etaoin ("raise SystemExit") 23:59:59 --- log: ended forth/02.03.01