00:00:00 --- log: started forth/02.06.24 01:15:42 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 01:15:57 hi 01:20:58 --- quit: Serg_penguin () 01:23:49 --- quit: skylan (Read error: 104 (Connection reset by peer)) 01:23:51 --- join: skylan (sjh@207.164.213.89) joined #forth 02:54:18 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 03:04:17 Privet. 03:04:30 hi :) 03:05:07 will go and return often - checking hardware ;) 03:05:15 cd-rw's today :) 03:05:16 Okay. 03:06:02 i wrote my damn parser ;( 03:06:19 but in both forths it is buggy ;( 03:06:25 Awww :( 03:06:36 the different way =8-{z} 03:06:50 look : 03:07:07 : > begin ascii < word count type 03:07:15 nl? if exit then 03:07:23 cr query again ; 03:07:44 : nl? >in @ span ( or tib# ) @ = ; 03:08:00 nl? ifNOT exit then, typo ! 03:08:15 that's all ! 03:08:28 text between > and < is dumped to stdout 03:08:42 between < and > - executed by forth 03:09:33 but first forth crashes after 100 or 200 lines 03:10:31 second - it works from console, but on INCLUDE - stops on first space in second line ;( 03:10:35 I don't think I can help you :-/ 03:11:33 surely ;( it seems to be scompiler-specific 03:11:57 but u may try it in u'r forth, if it's interesting for u ;) 03:13:55 --- quit: Serg_penguin ("gonna swap a damn thing...") 03:16:22 --- quit: rob_ert (Read error: 104 (Connection reset by peer)) 03:17:12 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 03:18:16 re hi 03:20:16 then i'll debug parser, i'll write DOES> word INCLUDER 03:20:30 INCLUDER TITLE 03:21:11 will read its own name from vocabulary and include a file from this name from predefined location 03:21:32 with this name ;) 03:21:47 kewl ? 03:22:59 < TITLE > Great book on Forth < /title > 03:23:37 echo
> title.beg 03:24:03 echo > title.end 03:24:12 looks like SOMETHING ? 03:24:28 will be a cool site engine ;) 03:25:33 --- quit: Serg_penguin () 03:27:18 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 03:27:52 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 03:28:10 re hi 03:28:24 did u caught what i typed on INCLUDER word ? 03:28:25 Hi :) 03:28:40 Yes, but please, I'm no forth expert :) 03:28:47 ;( 03:29:01 --- quit: Serg_penguin (Client Quit) 03:30:14 --- quit: rob_ert (Client Quit) 03:31:35 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 03:33:37 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 03:33:43 re hi 03:33:53 :) 03:34:38 what's for being 'expert' - please NEVER devaluate yourself, it's a sin ;) 03:35:05 i'm not 'expert' too - maybe, 100 hours from winter 03:35:49 and i dunno know inner guts of forth well - but i wanna write fancy proggies ;) 03:35:58 ;) 03:36:01 brb 03:36:04 --- quit: rob_ert (Client Quit) 03:37:31 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 03:38:02 rebooted ? ;) 03:43:37 --- quit: Serg_penguin ("swapping rusted trash...") 03:47:52 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 03:47:53 --- join: Stepan (~stepan@Charybdis.suse.de) joined #forth 03:48:01 :-) 03:48:52 Hi Stepan :) 03:48:56 Good morning. 03:50:50 --- quit: Serg_penguin (Client Quit) 03:55:57 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 04:01:27 --- quit: Serg_penguin () 04:08:50 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 04:16:50 --- quit: Serg_penguin (Read error: 104 (Connection reset by peer)) 04:17:43 --- join: cleverdra (julianf@0-1pool37-120.nas2.florence1.sc.us.da.qwest.net) joined #forth 04:19:10 Hi cleverdra :) 04:30:39 --- quit: davidw (Read error: 113 (No route to host)) 04:49:40 hi rob_ert =) 04:56:24 --- join: mur (ammu@baana-62-165-190-6.phnet.fi) joined #forth 04:59:56 --- join: davidw (~davidw@adsl-32-74.38-151.net24.it) joined #forth 05:08:24 --- quit: mur ("MURR! end of file reached. continuing filling logs some other time.") 05:10:41 --- nick: air -> air2 05:26:26 --- quit: davidw (Read error: 113 (No route to host)) 05:26:53 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 05:27:04 re hi ! 05:27:38 hello Serg. 05:27:42 hi 05:27:43 Hi. 05:28:03 i wrote my damn parcer - do u remember me talking on it ? 05:28:43 mmm, yes, yes I do. COMMENT: ..such. Variable interpolation. text-processor. 05:28:49 but it's buggy in both forts i use ;( 05:28:55 look: 05:29:15 : > begin ascii < word count type 05:29:27 nl? if exit then 05:29:35 cr query again ; 05:29:43 : nl >in @ span @ = ; 05:29:58 that's all ! 05:30:22 text between > < is echoed 05:30:29 * cleverdra nods. 05:30:30 between < > - executed 05:30:47 sorry, nl? ifNOT exit then 05:31:11 will down now, swapping hardware to be checked 05:31:13 --- quit: Serg_penguin (Client Quit) 05:37:21 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 05:37:49 re hi 05:38:28 next i'll vectorize TYPE and CR for this parser 05:39:25 What does NL? do? 05:39:41 so they will not only echo, but, say, write to file or render visually, or add to database 05:40:07 checks did WORD returned because of newline or found end symbol 05:40:23 if >in = span - it hit end of line 05:40:30 ah, that's what I thought. It returns TRUE if it found the end? 05:40:42 yes 05:40:57 So, how is this buggy? 05:41:41 in one forth (64k dos ) it crashes after a few pages of echo 05:42:26 Does QUERY return anything? 05:42:31 in 2-nd ( dos dpmi32) it worcs from console, but from INCLUDE it crashes on second word of second line 05:42:56 it returns pointer to gallows ;( 05:43:10 serg - really? You might want to drop it, then 05:43:41 no, just 'program performed illegal operation' in win98 05:44:20 Do you know in what word the crash happens? 05:45:46 no, how can i know ? 05:46:26 : nl? 1 . key drop ... ; : > 2 . key drop ... ; 05:47:06 might be helpful on the dpmi32 Forth 05:47:49 64k forth crashes, dpmi one err's normaly: unknown word 05:48:05 but it should be echoed, not tryed to execute ! 05:49:04 I keep thinking that QUERY is the problem, but I'm not sure, since I never use it. Maybe if you change that to REFILL DROP ? 05:49:27 or REFILL 0= UNTIL some-error ; 05:49:31 : name. latest >name count type ; immediate 05:49:45 what is REFILL ? 05:50:23 REFILL refills TIB 05:50:32 damn, n/mind name. 05:50:33 and returns true if it was successful. 05:51:14 I sometimes find myself writing words like 05:51:52 like name. ? 05:53:30 * cleverdra shakes his head, scattering cobwebs. 05:54:19 Because I deal often with line-oriented Forths, and I want parsing words to go over multiple lines, I write words that REFILL a lot, generally when PARSE returns a zero-length string. 05:54:40 what is PARSE ? 05:54:45 WORD COUNT 05:54:54 more ANS Forthism. 05:55:01 : parse word count ; ? 05:55:04 * cleverdra nods. 05:55:18 nods ???? 05:55:33 I mean: yes, that definition works. 05:55:42 ok 05:56:05 in my 64k gp-forth, : print count type ; ;) 05:56:23 oh, going crazzy... 05:56:41 When you say that it's trying to execute a word it should never see, I think that > must be exiting before it ought to. 05:56:54 ok 05:57:21 Maybe have NL? IF ." OK, exiting" KEY DROP EXIT THEN 05:57:38 does REFILL works untill TIB is full, even over newlines ? 05:57:40 where KEY DROP is just so you can see the message before the crash 05:57:58 does it merge short lines in one TIBfull ? 05:58:06 Serg - on a line-oriented forth, REFILL only pulls in text until a newline. 05:58:45 At least, that's how it seems to work. WORD and PARSE and friends won't work over a newline. 05:59:22 k 06:00:18 --- quit: Serg_penguin () 06:03:22 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 06:03:32 sorry for abrupt leaving 06:03:41 testing cd-rw's 06:04:06 No, it's OK. You've already done it several times without apologizing, and I've stopped being annoyed =) 06:08:05 so i'll do every damn thing step'wise and type results in between ? 06:08:41 You don't have to. I'd start by seeing where > exits 06:11:15 how ? 06:11:31 it works on 1'st line of INCLUDED file 06:11:40 NL? IF ." OK, exiting" KEY DROP EXIT THEN 06:11:56 and says Err: line 2 pos 8 - unknown word 06:12:40 i mean 'where' at input stream 06:14:11 --- quit: Serg_penguin ("damn burners...") 06:21:29 --- quit: air2 ("CRIA v0.2.3pre -- http://www.qzx.com/cria") 06:21:36 --- join: air (~brand@12-254-199-50.client.attbi.com) joined #forth 06:41:56 --- join: davidw (~davidw@adsl-32-74.38-151.net24.it) joined #forth 06:42:56 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 06:43:51 re hi 06:44:38 while using Bugland turbo pascal, i very used to single-stepping and wars watching 06:44:47 can i do such in forth ? 06:45:18 vars watching... what a nasty habit mixing v and w .... 06:46:47 Serg_penguin: u can say "dbg word2dbg" in gfort 06:46:48 h 06:47:38 ;) but i dunno use gort 06:48:00 what are its advantages ? 06:48:13 it can't save exe's... 06:48:41 how fast it is ? 06:49:53 but i can, ithink 06:50:37 gforth, supposedly, is very fast. It wants to be fast. One of its goals is being fast. Its authors seem satisfied that, among goals, they've definitely hit fast. 06:51:13 They say that gforth probably cannot be made faster for RISC architecture, anyway. 06:53:18 are where any benchmarks of forth on common algorithms ? 06:53:28 compared to gcc or asm... 06:53:39 of different forths i mean ;) 06:57:13 4 all gods damn that blasted cd-rw's !!!!!  06:57:38 --- quit: Serg_penguin () 07:00:07 Hooray, colors! 07:00:21 rob_ert: ? 07:00:33 Serg's last message. 07:00:38 Is in red. 07:00:51 ah 07:01:05 I'm doing CGI in Forth now :) 07:01:26 its a rather simple thing.. 07:02:41 --- quit: davidw (Read error: 113 (No route to host)) 07:03:10 Thunder. 07:03:10 bbl 07:03:15 --- quit: rob_ert ("leaving") 07:13:32 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 07:13:37 re hi 07:14:16 re hi 07:14:28 what happens ? 07:14:48 n/mind, glitch ;) 07:17:12 work is over, no more damn cd-rw,s 07:21:15 --- join: davidw (~davidw@adsl-32-74.38-151.net24.it) joined #forth 07:29:35 --- quit: Stepan ("Do you think it is air you are breathing? Hmm?") 07:39:03 --- quit: Serg_penguin () 07:46:10 --- quit: davidw (Read error: 113 (No route to host)) 08:49:57 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 09:35:56 --- join: ASau (ASau@158.250.48.197) joined #forth 09:37:08 Hello! 09:37:40 Hello, ASau 09:44:39 Hi :) 09:45:05 Priwet, rob_ert! 09:45:19 Privet, clevendra! 09:45:37 What language is Privet? 09:50:08 cleverdra: Russian. 09:50:49 ah. I'm meeting so many Russian-speaking people on OPN these days. 09:57:51 Privet, ASau. 10:01:42 --- join: I440r (~mark4@1Cust191.tnt1.bloomington.in.da.uu.net) joined #forth 10:01:47 --- join: davidw (~davidw@adsl-32-74.38-151.net24.it) joined #forth 10:03:19 Privet, I440r, davidw. 10:10:45 Hey I440r! 10:10:51 Privet, tavatitj. 10:11:02 I440r: I'm using IsForth for CGI... 10:11:09 I440r: But I have a little problem. 10:12:02 I440r: Wake up :P 10:18:19 --- join: ayrnieu (julianf@0-1pool37-120.nas2.florence1.sc.us.da.qwest.net) joined #forth 10:18:34 --- quit: cleverdra (Read error: 104 (Connection reset by peer)) 10:18:49 --- nick: ayrnieu -> cleverdra 10:18:53 wb :) 10:19:05 gracie 10:35:52 hi 10:35:55 sorry im awake heh 10:36:01 whats your little problem :P 10:37:20 Hehe. 10:37:47 Go to http://ostling.no-ip.com/cgi-bin/test.f 10:37:53 Then try to do something like: 10:38:05 http://ostling.no-ip.com/cgi-bin/test.f?My¶meters&here 10:39:46 The latter will look something like: 10:39:47 Length: 11 10:39:47 Query string: =Hellothere 10:39:47 Hellothere ? 10:40:01 nope 10:40:11 thats not what i get 10:40:15 How can I prevent IsForth from trying to interpret Hellothere? 10:40:16 Not? 10:40:18 Paste. 10:40:34 Length: 16 10:40:34 Query string: =My¶meters&h 10:40:34 My\¶meters\&here ? 10:41:31 Yeah 10:41:37 Same thing., 10:41:54 ISForth tries to run the word "My\¶meters\&here" 10:43:31 well thats what gets passed to it then i guess 10:43:40 you neeed to parse 10:43:49 i dont think the & needs to be quoted either 10:43:56 My¶meters&here 10:44:04 isnt that supposed to work ? 10:44:19 Well, doesn't IsForth get that in the commandline? 10:45:39 no idea but if it does you need to pass it a - aswell 10:45:41 no 10:45:42 erm 10:45:51 doesnt isforth see it come in from stdin ? 10:45:57 ive no idea heh 11:03:07 i gtg mow grass 11:03:08 grr 11:05:43 OK 11:06:21 --- join: kc5tja (~kc5tja@stampede.org) joined #forth 11:07:05 Hi kc5tja. 11:07:15 Howdy 11:20:38 --- join: dsmith (firewall-u@cherry7.comerica.com) joined #forth 11:28:03 --- join: Speuler (~l@195.30.184.4) joined #forth 11:28:19 g'day 11:29:37 Hi Speuler. 11:31:02 god dag the_rob 11:34:40 --- join: miket2 (Mike@62.60.90.208) joined #forth 11:35:42 --- part: miket2 left #forth 11:37:10 OK, I really wish I could replicate this bug in the software. So far, nothing. :( 11:45:16 --- join: mur (ammu@baana-62-165-188-200.phnet.fi) joined #forth 11:51:39 Hej mur. 11:52:37 terve rob_ert 11:52:46 Terve :) 11:53:08 --- quit: Speuler (Remote closed the connection) 12:00:01 --- quit: I440r () 12:13:05 --- quit: mur ("bb in a sec") 12:28:14 back 12:28:56 * kc5tja had to do it -- there is a gorgeous 2nd generation Mazda RX-7 in our company's parking lot. I just had to park mine next ot his. :) 12:39:29 --- join: XeF4 (enmbcn@12-245-116-85.client.attbi.com) joined #forth 13:11:54 --- quit: XeF4 ("Hey! Where'd my controlling terminal go?") 13:12:57 OK, I'm going for food. 13:12:59 --- nick: kc5tja -> kc-food 13:15:29 --- join: XeF4 (gripyj@12-245-116-85.client.attbi.com) joined #forth 14:00:08 --- quit: cleverdra ("Leaving") 14:09:05 --- nick: kc-food -> kc5tja 14:14:39 --- join: I440r (~mark4@1Cust191.tnt1.bloomington.in.da.uu.net) joined #forth 14:22:11 Hey. 14:22:22 Do you think you can help me with IsForth an CGI? 14:22:28 andÄ 14:22:29 and* 14:23:39 i dunno 14:24:01 im not even sure you can use isforth for cgi atm 14:24:06 isforth isnt exactly re-entrant 14:24:10 which i NEED to fixc 14:24:12 fix 14:24:29 maybe 14:26:25 Hrm. 14:26:37 Fix! Fix! :P 14:26:43 Or recommend another good Linux forth. 14:26:53 But without IsForth it's no fun :( 14:27:27 hehe 14:27:45 you have to find out if cgi passes shit to isforth via command line or via stdin 14:27:47 im guessing stdin 14:28:08 I wouldn't necessarily call it "good", but bigforth is better than nothing 14:28:30 if it does it via command line you have problems 14:28:38 thats VERY non trivial 14:28:44 cannot isforth programs look at argc/argv? 14:28:49 I440r: Seems like both command line AND environment variable. 14:28:51 of corse they can 14:29:23 robert look in forthsrc/args.f 14:29:29 Mkay. 14:29:37 that has examples of how to parse the command line 14:29:47 look in term.f for how to search the environment 14:29:57 Okie. 14:30:16 Hrm. 14:30:48 What does "./isforth - fload" really do? 14:31:15 isforth sees a commmand line of "- fload /path/to/filename.f" 14:31:23 the - tells isforth to INTERPRET the command line 14:31:36 Can I make it abord after the fload? 14:31:38 so "fload /path/to/filename.f" is interpreted 14:31:48 abort? 14:31:52 look at how i handle shebangs 14:31:59 a shebanged file starts with 14:31:59 Si... just interpret the first thing. 14:32:03 What file? 14:32:05 #! ./isforth - fload 14:32:33 thats in args.f 14:32:38 args.f handles all command line stuff 14:32:38 Okay, that's where it parses the commandline? 14:32:49 yes 14:32:54 but it has to distinguish between you doing 14:33:01 - fload foo.f 14:33:01 What part executes the commandline when I use "-" in the commandline? 14:33:06 and the first line of a shebanged file doing it 14:33:25 read the source from the bottom up heh 14:33:34 Which file? 14:33:41 I SAID!!!!!!!!!!!!!!!!!! 14:33:44 args.f!!!!!!!!!!!!!!!!!! 14:33:49 :D 14:33:51 I will. 14:33:53 btw 14:33:56 args.f handles ALL command line shit 14:34:00 I wrote a nice Pong game for IsForth :P 14:34:00 including shebanged files 14:34:18 email it to me ill add it to the distro :P 14:34:36 http://ostling.no-ip.com/files/pong.f 14:34:49 In case you have a program supporting the http protocol :D 14:36:33 I440r: When IsForth becomes a metacompiler, you'll have to distribute the binary, right? 14:36:40 looks ok but needs factoring better :P 14:36:46 prolly 14:36:51 Bah. 14:36:56 Factor it then. 14:36:59 lol 14:37:01 I factored it...a bit :) 14:37:20 What does on> do? 14:37:22 now modifiy it for a breakout game :) 14:37:31 it stores -1 in a var 14:37:34 on> foo 14:37:35 Hehe, I might do that later ;) 14:37:38 makes foo true 14:37:41 off> foo 14:37:44 Oh, cool. 14:37:44 makes foo false or 0 14:38:00 incr> and decr> +!> etc 14:38:05 those are good too 14:38:05 --- join: futhin (~thin@h24-64-175-61.cg.shawcable.net) joined #forth 14:38:18 futhin!!!!!!!!!!!!!!!!!1 14:38:28 wheres that tutorial i was writing that you were editing 14:38:36 Hey futhin 14:38:49 IsForth tutorial? 14:38:58 forth/isforth 14:39:04 OK. 14:39:11 With IsForth reference? 14:39:26 not yet 14:39:32 its only just started 14:39:44 i440r: heh, i've been busy lately.. do you need me to edit it soon? :P 14:39:46 futhin is my editor in chief :P 14:40:02 futhin yes. and i need some text written to be used as content for the web page 14:40:05 thats YOUR job 14:40:07 How do I load forth files in isforth? 14:40:12 dont html format it tho 14:40:15 As usual, no docs... 14:40:16 fload 14:40:21 Thanks. 14:40:26 fractal dox is futhins job :P 14:40:27 hehe 14:40:35 fload makes forth interpret a file 14:40:37 fload is obvious! ;P 14:40:50 i440r: content for what webpage ? 14:40:53 Heh. Yeah, very obvious. :) 14:41:03 futhin the isforth web page 14:41:13 all i need is a little writeup on isforth 14:41:13 fload pong.f cols? 14:41:21 its developers etc 14:41:21 ^ Not there's an intuitive error message... 14:41:30 s/Not/Now 14:41:38 80 cols fool! ;P 14:41:45 fractal forth is saying you dont have term.f loaded 14:41:54 Oh, of course! How silly! 14:41:57 you must have run ./kernel.com 14:41:59 NOT isforth 14:42:01 It's SOO obvious... 14:42:04 you need to EXTEND 14:42:04 :) 14:42:07 ./kernel.com 14:42:09 fload isforth.f 14:42:19 if you had read the readme you would know this :P 14:42:20 fractal: didn't read the readme.txt ? 14:43:16 Yes. It says nothing about term.f 14:43:25 fractal: it gives you installation instructions 14:43:36 which you have to do _before_ you try to run isforth.. 14:43:39 fractal term.f is loaded when you EXTEND 14:43:45 you do 14:43:47 make linux 14:43:49 ./kernel.com 14:43:52 fload isforth.f 14:43:54 ./isforth 14:43:56 fload pong.f 14:44:07 you never try compile applications directly on top of kernel.com 14:46:09 What does "interpret" do? 14:46:27 lol 14:46:29 rob_ert: it gives you a free blow job 14:46:38 * rob_ert humps futhin 14:46:42 its the inner interpreter 14:46:46 Still not working. I do: make clean, make linux, ./kernel.com, fload isforth.f, fload pong.f, and it says "cols ?" 14:46:50 it refills tib 14:46:55 I440r: Where does it get the word to interpret from? 14:47:08 fractal what version of isforth 14:47:13 futhin: fload isforth.f 14:47:16 hrm 14:47:17 oh 14:47:19 darn 14:47:19 robert it calls bl word 14:47:20 1.04b 14:47:22 * rob_ert slaps self 14:47:24 Heh 14:47:30 1.08b is the latest (: 14:47:35 fractal you probably need to update 14:47:50 alot of new stuff added 14:47:53 alot of bugs fixed 14:47:53 Ok. I'll try gforth first. 14:48:09 ew 14:48:11 traitor 14:48:20 download isforth right now 14:48:37 or i'll kickban you because forth IS ;) 14:48:40 Jesus... gforth doesn't know fload... I love forth. 14:48:56 include 14:49:01 Ok. 14:49:19 "include" is such a NON FORTH word 14:49:43 Heh. 14:50:30 Ah, and gforth doesn't have padsize. Fuck it. 14:51:28 padsize? 14:51:34 That's a constant in my Pong. 14:51:47 I guess it doesn't support I440r's "const". 14:52:00 isforth has "constant" 14:52:11 and a better version which is "const" 14:52:17 Ok, I had to do a : var variable ;, I'll try : const constant ; 14:52:25 eh 14:52:32 variable should already exist 14:53:01 i440r: i'd prefer to have the webpage so i can write the content in it :P 14:53:06 I did : var variable ;, in order to define the word var. 14:53:26 : var variable ; 14:53:32 with no comma "," right? 14:53:37 No comma. 14:54:22 curoff doesn't exist in gforth either. 14:55:21 isn't var more like value? 14:56:02 yes and no 14:57:52 it is like a value yes 14:58:06 but "var" is more descriptive of its function than the shitty name "value" 14:58:13 "value" is gay 14:58:18 Screw it. I'll go download a C version. Or a LISP version. Or, well, any other language. :) 14:58:43 weak people choose other languages 14:59:10 Well, if weakness is wanting portable code, then call me weak. 14:59:11 s/weak people/weak and not so smart people 14:59:19 oh it is portable 14:59:23 how hard is it to do 14:59:30 : var variable ; 14:59:33 :) 14:59:49 Not hard at all, but doing it for 50 different words is. 15:00:07 And this is, essentially, a trivial application... 15:00:10 well the programmer of the code that you are trying to port fucked up ;) 15:00:30 Uh oh, rob_ert. Heh. 15:00:38 send me the code 15:00:56 futhin: ? 15:01:09 What did I do? 15:01:11 er 15:01:13 Fractal: ? 15:01:17 you wrote unportable code? :P 15:01:23 http://ostling.no-ip.com/files/pong.f 15:01:30 futhin: If course, I only use IsForth ;) 15:01:34 ^ rob_ert's pong game. 15:02:11 I440r: For next version, make IsForth more CGI-friendly ;-( 15:02:18 s/;-(/;)/ 15:02:45 for next version, please make ÍsForth respect the usual job-control keys 15:03:03 you talking about ctrl-g and -z and stuff? 15:03:05 --- quit: air (Remote closed the connection) 15:03:12 ctrl-z especially 15:03:47 And add an editor. 15:04:02 Also implement completion :) 15:04:13 And of course, input history. 15:04:14 somebody give me a shell account! 15:04:15 And page-up/page-down scrolling. :) 15:04:21 futhin: For what? 15:04:23 * futhin cries out in pain and misery for a shell account 15:04:27 for isforth 15:04:30 Heh. 15:04:37 pup/pdn comes for free with a decent terminal 15:04:43 I gave 2 people IsForth shell account yesterday. 15:04:49 accounts* 15:04:55 heh 15:04:58 good, give me one 15:04:59 who ? 15:05:04 I440r: From #ypn 15:05:22 futhin: Why can't you run it over there? 15:05:28 over where 15:05:55 Where are you+ 15:05:58 s/+/?/ 15:06:03 I can give OpenBSD shell accounts, but you can't run isforth on em. 15:06:09 Hehe. 15:06:16 fractal: yes i can, give me one ;) 15:06:20 just kidding 15:06:25 Heh. 15:06:29 Heh. 15:06:38 * rob_ert gets scared and steps away from futhin :) 15:06:59 wired : Yes, that's a char * 15:07:07 you cant run isforth in fbsd yet 15:07:09 Oops. 15:07:53 What about oBSD, you gonna keep working on that? 15:08:14 i want all bsd's supported 15:08:28 Cool. 15:09:15 ew, onetom only has isforth 1.04 15:11:03 I440r : You ever gonna support m68k so I can run isforth on my linux mac? 15:11:14 dunno 15:11:24 maybe 15:11:30 You'd probably have to get a new assembler. 15:11:44 no 15:11:52 just a new assembler extension heh 15:12:04 nasm lets you do that? 15:12:04 so i can target compile for 68k on an x86 15:12:08 no 15:12:12 but nasm is temporary 15:12:19 Oh... 15:13:44 So, in fact, you would need a new assembler... 15:14:05 mmmmMMmmm... IsForth for C64.... MmmmmMmmm 15:14:13 Heh. l33t. 15:14:21 ;) 15:14:29 heh c64 15:14:31 When's isforth for my palm pilot coming out? 15:14:43 tomorrow 15:14:45 I had a forth in rom for that. 15:14:46 And my nintendo? 15:15:06 Frac: go port volksforth to your nintendo 15:15:16 Volksforth? 15:15:31 Frac: ds-forth is for Palm, delosoft.com 15:15:39 Frac: http://delosoft.com 15:15:44 Heh. Ya, so is quartus. 15:16:23 --- join: air (~brand@12-254-199-50.client.attbi.com) joined #forth 15:16:25 --- quit: air (Remote closed the connection) 15:17:30 --- join: air (~brand@12-254-199-50.client.attbi.com) joined #forth 15:21:00 wired : Why not just do: ptr = socket_in; while (ptr[0] != '\n') ptr++; 15:21:12 Fucking BitchX. 15:24:42 Fractal: cria.sf.net :) 15:26:08 Heh. Ok... 15:26:37 Oh, I see. Nah, I love my BX. Even though I may curse it at times. :) 15:27:39 irssi is better than BitchX. 15:28:31 BX has the best quit messages, though. 15:29:57 functionality is more important 15:30:06 lol 15:30:16 futhin: If you can't make it good, make it look good. 15:30:27 (Or make it hard to use, so its users feel 3l33t) 15:30:27 and hope newbies use it 15:31:03 edit.com makes me feel leet 15:31:09 Well, yeah, BX also has the most features. 15:31:10 Yay! 15:31:15 Grhrm. 15:31:52 gotta go mow some more 15:32:09 holy shit you mow every few days 15:32:27 i mow when the grass is almost as tall as me 15:34:11 Hrm. 15:34:23 Easiest way to get rid of grass is gas + lighter. 15:36:56 --- quit: air (Remote closed the connection) 15:37:09 Length: 6 15:38:43 Query string: =Hello 15:38:43 7[001;000r8 Au-Revoir! 15:40:14 Hrm. 15:40:14 How do I make "bye" skip that "Au-Revoir!" ? 15:40:14 Hrm. 15:40:14 * rob_ert checks. 15:40:15 I440r: Maybe it would be a good idea to implement "quiet-bye" for these purposes? 15:40:15 I440r: If I put a "bye" in the end of my CGI program, nothing else will be run :) 15:40:15 Why didn't I think of that earlier, heh? :/ 15:43:45 : bye " haha" ; 15:44:05 3l33t. 15:44:07 Hrm. 15:44:22 Can I make "temporary" strings in IsForth? 15:44:32 Like... " TERM" getenv 16:01:03 you would have to create the mechanism heh 16:01:24 robert thers a way to do that 16:01:32 How? 16:01:40 robert STUDY args.f 16:01:40 and term.f 16:01:46 I modified exec.1 for now... 16:01:54 a shebanged script file does not run default 16:02:09 robert unmodify it 16:02:14 stop reinventing the wheel 16:02:17 I just _added_ a word :P 16:02:24 as a general rule dont modify any of the KERNEL sources 16:02:26 I'll delete it later, master :P 16:02:32 So... 16:02:36 What should I do instead? 16:02:42 learn how isforth already does this 16:02:51 How it does what? 16:02:51 look in ARGS.F !!!!!!!!!!!!!!! 16:02:56 Heh. 16:02:57 I did. 16:03:11 What should I modify in it? 16:03:17 a shebanged script does an automatic BYE at the end of the script and its 100% QUIET 16:03:24 Oh. 16:03:28 Sorry :) 16:03:30 * rob_ert checks. 16:03:36 just see how IT does it 16:03:39 and YOU do the same 16:04:00 you will need to modify args.f to account for a new argument source 16:04:01 :) 16:04:06 i.e. your cgi 16:04:13 Huh? 16:04:16 Argument source? 16:04:26 ./isforth - foo 16:04:30 theres one source 16:04:33 ./script.f 16:04:38 theres another source 16:04:45 when you run a shebanged script file 16:04:48 the first line is 16:04:54 #! ./isforth - fload 16:05:08 isforth sees - fload /path/to/shebanged/script.f 16:05:28 isforth KNOWS when its being run from a sheb anged file 16:05:56 if you do ./isforth - fload /path/to/shebanged/script.f isforth will KNOW it wasnt launced via that shebanged script 16:06:23 shebang \ if we have just completed execution of a 16:06:23 if \ shebanged script then we go bye bye here 16:06:23 errno @ \ quietly but returning errno 16:06:23 then 16:06:30 Did you mean that code? 16:06:52 that is where isforth quits at the end of a shebanged file 16:07:01 OK, good. 16:07:13 So I can do that in the end of my shebanged file? 16:07:23 shebang is a dirty word ;) 16:07:24 To avoid the rest of the command line being parsed? 16:07:24 you need to make that say shebang cgi or if 16:08:02 Hrm. 16:08:03 you need to study the complete default chain and atexit chain 16:08:12 OK, where are those? 16:08:21 actually, default and atexit are a bit complex 16:08:26 they are ALL OVER 16:08:32 alot of things patch into default 16:08:37 alot of things patch into atexit 16:08:37 Yuck. 16:08:40 --- quit: futhin ("gtg") 16:08:48 Can't I just ignore them all? :) 16:08:50 i know 16:08:55 no 16:08:57 well 16:09:00 Maybe that's not a good idea... 16:09:01 maybe 16:09:06 do this 16:09:07 ./isforth 16:09:11 0 16:09:11 What does that code do about it? 16:09:17 and see how your terminal behaves 16:09:24 No thanks, console gets fucked :) 16:09:26 I've tried :P 16:09:33 exactly 16:09:41 What does the code I pasted above do against that? 16:10:49 well 16:10:50 * rob_ert really would need an IsForth reference, heh. 16:11:00 All those funny words everywhere... 16:11:17 the code to parse args is inserted into the HEAD of the default chain 16:11:27 i.e. it gets run before anything else in default is 16:11:41 so. it can do that quit with impunity 16:11:47 Good. 16:11:49 i.e. forth hasnt messed with the terminal etc yet 16:11:57 So I can just "errno @ " ? 16:12:23 only if you do so WITHIN args.f 16:12:45 Why can't I do it in the end of my script? 16:12:57 args.f has to be made cgi aware 16:13:42 So, how do I make it CGI aware, so it can exit after the first parameter is being parsed? 16:14:08 ive absolutely NO idea about that 16:14:24 Hrm. 16:14:39 yet 16:16:10 Hrm. 16:16:23 Just "errno @ " works fine. 16:17:22 Hrm... now I need to figure out how to do parsing. 16:17:29 Any useful words I need to know about? 16:17:45 parse 16:17:49 word 16:17:56 And those do...? 16:17:57 skip 16:17:57 scan 16:18:23 use the force, read the source heh 16:18:28 word calls parse 16:18:34 Hehe. 16:18:41 OK, I'll check. 16:19:01 word will copy the next delimiter delimited string out of tib and copy it to hhere 16:19:07 you can use any delimiter 16:19:33 bl word will parse a space delimited string out of tib and store it as a counted string at hhere 16:19:42 NOTE - hhere - NOT here 16:19:49 I need to parse from an environment string. 16:20:15 then you need to look at env.f or something 16:20:20 hang on 16:20:26 term.f uses it to find out what terminal its using 16:20:38 erm what terminal forht is being run in i mean 16:20:50 find the word getenv 16:21:02 I'll get an environment string that looks like "=field1=a&field2=b" 16:21:13 I want to input "field1" and get "a" in return :) 16:21:24 well you can have that moved to a temp buffer 16:21:30 point 'tib at that buffer 16:21:36 and parse things out of there 16:21:49 Hrm. 16:21:50 actualy no you wonat i dont thing 16:22:04 you will have an environment variable called FIELD1 which will be set to a 16:22:15 and another called FIELD2 which will be set to b 16:22:23 you wont see a huge blob i dont think 16:23:02 I think I will, heh. 16:23:05 Let's check 16:23:30 Length: 16 16:23:30 Query string: =field1=a&field2 16:23:32 Hrm. 16:23:45 robert@indium:~/software/isforth$ lynx "http://ostling.no-ip.com/cgi-bin/test.f?field1=a&field2=b" 16:23:49 Damn... 16:23:56 ugh fuck cgi 16:24:00 cgi is so fucked in the head 16:24:03 its not worth using 16:24:04 It won't find that last thing :-/ 16:24:06 Heh. 16:24:11 What _should_ I use? 16:24:38 make isforth a html pre-parser 16:24:44 i.e. make isforth an apache module 16:24:53 Hell no ;) 16:24:56 and invent a PHP replacement using forth 16:24:58 I'll just use C instead. 16:25:22 Or maybe BASIC, to annoy people. 16:26:00 Oh, well... 16:26:03 Tomorrow :) 16:26:07 Now, good night. 16:26:26 heh 16:26:29 nite nite 16:26:53 isforth probably isnt ready for this sort of application yet 16:27:15 Nah. 16:27:19 Better finish it _first_ 16:27:20 :P 16:28:29 make a breakout game in isforth heh 16:28:29 and a space invaders!!! 16:28:36 that would be cool :) 16:28:36 forth invaders :) 16:29:14 you could have the space invaders drop forth words like "emit" and "drop" spelled vertically heh 16:29:22 d 16:29:22 r 16:29:22 o 16:29:22 p 16:29:26 dropping on your head heh 16:30:06 >=< <=> <-- space invaders could be drawn as these - alternating between on each move 16:30:13 make it look like they are walking hehe 16:43:44 im gona go code my tui - im debugging it all now 16:43:44 the window code works, gotta fix the screen update code 16:43:44 then maybe i can release it :) 16:43:45 --- quit: I440r (Remote closed the connection) 17:00:44 * kc5tja is going to aikido. 17:00:57 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 17:21:10 tui == text user interface? :) 17:21:39 --- quit: dsmith ("later..") 17:44:24 --- quit: XeF4 ("pois") 18:07:25 --- quit: davidw (Read error: 113 (No route to host)) 18:55:56 --- part: ASau left #forth 21:21:02 --- join: lilo (lilo@lilo.staff.opn) joined #forth 21:21:05 * lilo looks in 21:22:47 hmmm back again soon I think 21:22:49 --- part: lilo left #forth 22:13:53 --- quit: skylan ("Reconnecting") 22:13:55 --- join: skylan (sjh@207.164.213.133) joined #forth 22:20:09 --- join: kc5tja (~kc5tja@ip68-7-165-74.sd.sd.cox.net) joined #forth 22:20:59 re 22:52:08 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 22:52:24 hi ! 23:01:39 --- quit: Serg_penguin () 23:34:37 --- join: davidw (~davidw@adsl-32-74.38-151.net24.it) joined #forth 23:36:58 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 23:43:45 --- quit: Serg_penguin () 23:58:34 --- join: Serg_penguin (~snaga_NOI@nat-ch1.nat.comex.ru) joined #forth 23:59:59 --- log: ended forth/02.06.24