00:00:00 --- log: started forth/04.11.06 00:28:21 herkforth-0.7 is out! http://herkamire.com/jason/herkforth 00:29:28 also herkforth-bin-0.7 which is a binary, and some scripts for running herkforth on x86 linux (under qemu) 00:35:06 --- quit: Herkamire ("and on that note... I'm going to bed") 00:35:57 lol. finally found the reason why ; was being revectored to whatever word i was defining next 00:36:07 or well, not exactly why that happened, but what caused it 00:36:12 malfuntioning [ and ] 00:36:13 :p 00:36:33 i defined them as : [ state 1 xor state ! ; immediate 00:36:41 : ] [ ; 00:36:45 immediate 00:36:58 --- join: scope (~junk@njd.paradise.net.nz) joined #forth 00:37:04 but i still used "real" flags for state, so 0 and -1 00:37:08 -1 1 xor makes -2 :p 00:38:48 oh, : ] postpone [ ; immediate 00:38:51 of course :p 01:01:51 --- quit: warpzero ("The Royal Scam") 01:36:43 --- quit: cmeme ("Client terminated by server") 01:36:58 --- join: cmeme (~cmeme@216.184.11.30.unused.swcp.com) joined #forth 02:04:40 --- join: warpzero (~warpzero@dsl.103.mt.onewest.net) joined #forth 02:57:10 --- join: Fractal (jah@selling.kernels.to.linus.torvalds.at.hcsw.org) joined #forth 03:43:41 --- join: wincent (~wincent@void-109.pmnet.uni-oldenburg.de) joined #forth 03:49:09 --- join: crc (crc@55-pool1.ras11.nynyc-t.alerondial.net) joined #forth 07:10:46 --- quit: Hyrax (Nick collision from services.) 07:11:13 --- join: hyrax (~das@adsl-64-219-100-33.dsl.lgvwtx.swbell.net) joined #forth 07:13:17 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 07:13:17 --- mode: ChanServ set +o Herkamire 07:22:37 herkforth-0.7 is out! 07:22:44 herkforth-bin-0.7 too! this one has a binary and scripts for running on x86 linux 07:22:49 herkforth-0.7 is out! 07:22:59 http://herkamire.com/jason/herkforth 07:37:58 --- quit: crc ("Time for bed... Goodnight!") 08:27:03 --- join: ows (~ows@a81-84-114-211.netcabo.pt) joined #forth 08:55:54 --- quit: Raystm2 ("User pushed the X - because it's Xtra, baby") 09:00:19 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 09:53:55 --- nick: onetom_ -> onetom 09:58:34 --- nick: hefner_ -> hefner 10:34:59 --- quit: hefner ("I'm sorry, did I break your concentration?") 10:35:41 --- join: hefner (~hefner@pool-141-157-7-146.balt.east.verizon.net) joined #forth 10:37:07 --- quit: tathi ("I need a nap...") 10:58:14 --- join: Topaz (~top@sown-85.ecs.soton.ac.uk) joined #forth 11:27:29 --- join: Sonarman (~matt@adsl-64-160-166-161.dsl.snfc21.pacbell.net) joined #forth 12:00:55 --- quit: Topaz (Remote closed the connection) 12:35:11 --- nick: Sonarman -> FlamboyantHomo 12:35:55 --- nick: wossname -> InuYasha666 12:36:34 --- nick: FlamboyantHomo -> SatanicRaichu 12:37:25 --- nick: SatanicRaichu -> Sonarman 12:37:33 --- nick: Sonarman -> wossname 12:39:07 --- nick: wossname -> Sonarman 12:39:22 --- nick: Sonarman -> MooKeen 12:40:42 --- nick: MooKeen -> Sonarman 12:41:28 --- nick: Sonarman -> wossname 12:42:30 --- nick: wossname -> i 12:42:46 --- nick: i -> rob_ert 12:43:06 --- quit: rob_ert (Nick collision from services.) 12:43:08 --- join: rob_ert (~matt@adsl-64-160-166-161.dsl.snfc21.pacbell.net) joined #forth 12:43:18 --- quit: rob_ert (Nick collision from services.) 12:43:33 --- join: Sonarman (~matt@adsl-64-160-166-161.dsl.snfc21.pacbell.net) joined #forth 12:43:51 --- quit: Sonarman (Client Quit) 12:43:56 --- join: Sonarman (~matt@adsl-64-160-166-161.dsl.snfc21.pacbell.net) joined #forth 12:44:47 --- nick: Sonarman -> kmweber 12:45:44 --- nick: kmweber -> CoffDrop 12:45:47 --- nick: CoffDrop -> ELFDrop 12:46:20 --- nick: InuYasha666 -> paintcan 12:46:30 --- nick: ELFDrop -> randolm 12:47:24 --- nick: randolm -> EXEdrop 12:47:27 --- nick: EXEdrop -> randolm 12:47:38 --- nick: paintcan -> aj50 12:48:44 --- nick: randolm -> rodert 12:49:33 --- nick: aj50 -> sonarman 12:49:43 --- nick: rodert -> wossname 12:52:02 --- quit: sonarman (Read error: 104 (Connection reset by peer)) 12:53:40 --- join: sonarman (~sonarman@rn-v1w5a06.uwaterloo.ca) joined #forth 12:57:10 --- nick: wossname -> ypn 12:57:56 --- nick: ypn -> Chanswrv 12:59:08 --- nick: Chanswrv -> NickSwrv 13:00:05 --- quit: sonarman () 13:01:01 --- join: sonarman (~sonarman@rn-v1w5a06.uwaterloo.ca) joined #forth 13:01:28 --- nick: NickSwrv -> aj69 13:02:01 --- nick: aj69 -> rob_ert 13:02:35 --- quit: rob_ert (Nick collision from services.) 13:02:36 --- join: rob_ert (~matt@adsl-64-160-166-161.dsl.snfc21.pacbell.net) joined #forth 13:02:38 --- quit: rob_ert (Nick collision from services.) 13:14:02 --- quit: SDO ("Leaving") 13:15:02 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 13:18:07 --- quit: sonarman (Nick collision from services.) 13:18:44 --- join: Sonarman (~matt@adsl-64-160-166-161.dsl.snfc21.pacbell.net) joined #forth 13:25:34 --- nick: Sonarman -> Boanr 13:25:36 --- nick: Boanr -> Sonarman 14:03:03 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 14:03:36 --- quit: warpzero ("Tried to warn you about Chino and Daddy Gee, but I can't seem to get to you through the U.S. Mail.") 14:03:57 hi everybody 14:03:58 what's new? 14:10:21 --- join: hefner_ (~hefner@pool-141-157-7-146.balt.east.verizon.net) joined #forth 14:10:37 --- quit: hefner_ (Read error: 104 (Connection reset by peer)) 14:11:27 what is the largest forth program that anybody here has worked on? 14:12:28 three lines, but I bet someone can top that 14:13:32 hefner, if you said that in an APL channel: You wrote a whole OS in APL?! 14:14:06 hefner, process scheduler buggy? just rewrite line 2. 14:15:44 line 2, character #137362 14:16:08 hehe 14:16:20 change the triangle to a square with an arrow 14:17:26 lol 14:56:09 --- nick: mur_ -> mur 15:11:46 --- part: slava left #forth 15:12:15 --- quit: tathi ("leaving") 15:16:20 --- join: warpzero (~warpzero@dsl.103.mt.onewest.net) joined #forth 15:36:28 --- quit: wincent (Remote closed the connection) 16:07:05 --- quit: warpzero ("Tried to warn you about Chino and Daddy Gee, but I can't seem to get to you through the U.S. Mail.") 16:25:49 --- quit: qFox ("this quit is sponsored by somebody!") 16:32:32 --- join: solar_angel (~jenni@Toronto-HSE-ppp3704660.sympatico.ca) joined #forth 16:38:53 --- join: zeropro (~hal@a213-22-153-187.netcabo.pt) joined #forth 16:41:44 --- join: warpzero (~warpzero@dsl.103.mt.onewest.net) joined #forth 16:42:32 --- join: beet (WinNT@137.gardena-12rh15-16rt.ca.dial-access.att.net) joined #forth 16:42:37 --- part: beet left #forth 16:51:39 --- quit: solar_angel ("meh") 17:20:06 --- quit: zeropro ("Leaving") 18:06:11 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 18:06:29 http://paste.lisp.org/display/3605 <--- stack effect inference algorithm 18:09:46 --- quit: warpzero (Remote closed the connection) 18:42:42 --- join: TheBlueWizard (TheBlueWiz@modem-033.nyc-tc03b.fcc.net) joined #forth 18:42:43 --- mode: ChanServ set +o TheBlueWizard 18:42:48 hi TheBlueWizard 18:42:54 slava hiya :) 18:43:01 --- join: warpzero (~warpzero@dsl.103.mt.onewest.net) joined #forth 18:43:05 TheBlueWizard, http://paste.lisp.org/display/3605 - stack effect inference algorithm 18:43:27 hmm..will look at it in a moment 18:49:46 * TheBlueWizard looks at the webpage...and wonders whether slava is implementing a Prolog like logic inference engine 18:50:18 no, its not like prolog 18:51:09 ok...what does it do then? 18:52:52 it computes a stack effect of a word. 18:53:02 eg, the stack effect of : sq dup * ; is ( x -- x ) 18:56:03 ah...impressive, considering that certain Forth words have a "wildcard" behavior (like PICK, ... hmm I can't think of other example where one can accept arbitrary items and produce arbitrary results on the stack) 18:56:41 factor doesn't have PICK. well it does, but its different ( x y z -- x y z x ) 18:57:04 i raise an error if branches are unbalanced. 18:57:44 * TheBlueWizard nods 18:59:00 yeah...balancing across the control word boundaries (BEGIN, IF, WHILE, ...) do present a lot of trip ups for coders, both beginners and experienced alike :/ 18:59:58 factor doesn't really have loops. it has recursive words though, and the inferencer can handle recursive words as long as again, the effect is balanced 19:02:17 oh? hmm .... obviously factor must be more of a stepbrother of Forth, right? 19:03:29 its the bastard child of lisp and forth. 19:03:53 ah ok :) 19:07:21 is the [ ... ] thing a sort of "block statement" in Factor? 19:07:40 yes. think of it like an anonymous function -- a piece of code you can pass around, and later execute (using the word 'call') 19:08:00 ah ok...or like Postscript's { ... } 19:08:09 yes 19:09:03 * TheBlueWizard nods, and notes this construct gives a lot of power and programmability, although at a price of requiring garbage collection 19:09:39 it doesn't require gc if you don't allow runtime construction of [ ... ] blocks 19:11:49 yeah....if it can be determined to be statically compilable. It can get tricky though... 19:14:26 --- quit: TheBlueWizard (Nick collision from services.) 19:14:40 --- join: TheBlueWizard (TheBlueWiz@modem-147.nyc-tc03a.fcc.net) joined #forth 19:14:41 --- mode: ChanServ set +o TheBlueWizard 19:59:17 --- join: wandelf (~Olorin@h31.33.40.69.ip.alltel.net) joined #forth 19:59:24 --- part: slava left #forth 20:26:55 gotta go...all bye 20:26:59 bye 20:27:05 Sonarman bye 20:27:12 --- part: wandelf left #forth 20:27:41 --- part: TheBlueWizard left #forth 20:42:11 --- join: crc (crc@71-pool1.ras11.nynyc-t.alerondial.net) joined #forth 20:47:08 --- join: rfbot (crc@bespin.org) joined #forth 20:47:08 Type rfbot: (or /msg rfbot to play in private) 20:48:47 rfbot: .version 20:48:49 crc: RetroForth 7 .5 .1 20:50:41 --- quit: rfbot (Remote closed the connection) 20:58:13 --- quit: ows (Read error: 104 (Connection reset by peer)) 21:01:53 --- join: rfbot (crc@bespin.org) joined #forth 21:01:53 Type rfbot: (or /msg rfbot to play in private) 21:02:27 --- quit: rfbot (Remote closed the connection) 21:02:55 --- join: rfbot (crc@bespin.org) joined #forth 21:02:55 Type rfbot: (or /msg rfbot to play in private) 21:06:24 * crc is testing the rfbot code... 21:06:34 --- quit: rfbot (Remote closed the connection) 21:06:56 * Sonarman was playing with it 21:07:05 I know :-) 21:07:10 it'll be back in a minute 21:07:26 uh-oh 21:07:30 you saw what i was doing? :) 21:07:50 yup 21:12:18 --- join: rfbot (crc@bespin.org) joined #forth 21:12:19 Type rfbot: (or /msg rfbot to play in private) 21:12:21 --- quit: rfbot (Remote closed the connection) 21:12:53 --- join: rfbot (crc@bespin.org) joined #forth 21:12:54 Type rfbot: (or /msg rfbot to play in private) 21:13:07 --- quit: rfbot (Remote closed the connection) 21:13:31 --- join: rfbot (crc@bespin.org) joined #forth 21:13:32 Type rfbot: (or /msg rfbot to play in private) 21:17:08 Sonarman: what safty features? 21:17:21 * crc is watching the logs at the moment 21:17:37 --- quit: rfbot (Remote closed the connection) 21:17:55 the fact that it doesn't crash when i do nasty things indicates certain safeguards :`( 21:18:06 It *does* crash 21:18:08 no fun ;) 21:18:10 it does? 21:18:15 Yes 21:18:19 oh 21:18:24 but it just restarts itself every time 21:18:33 i mean, things that make the whole bot crash 21:18:37 Yes. each input runs a new session 21:18:53 heh, the bot is written in bash and calls 'rf' with your input 21:19:02 hehe 21:19:11 with netcat? 21:19:15 no 21:19:26 using tcpclient and bash 21:19:30 cool 21:19:51 * crc started with Herkamire's sifbot and has been changing it slowly into a retroforth bot :-)_ 21:20:51 --- join: rfbot (crc@bespin.org) joined #forth 21:20:52 Type rfbot: (or /msg rfbot to play in private) 21:27:02 rfbot: 0 0 / 21:27:04 crc: 21:29:43 --- quit: rfbot (Remote closed the connection) 21:36:40 --- quit: crc (Read error: 104 (Connection reset by peer)) 21:36:41 --- join: crc_ (crc@80-pool1.ras11.nynyc-t.alerondial.net) joined #forth 21:36:53 --- nick: crc_ -> crc 22:06:45 --- join: futhin (thin@bespin.org) joined #forth 22:06:46 --- mode: ChanServ set +o futhin 22:09:20 --- join: rfbot (crc@bespin.org) joined #forth 22:09:20 Type rfbot: (or /msg rfbot to play in private) 22:10:30 rfbot: 1 1 + . 22:10:50 rfbot: .version 22:10:56 :~( 22:11:05 rfbot: .version 22:11:09 --- quit: rfbot (Remote closed the connection) 22:11:30 --- join: rfbot (crc@bespin.org) joined #forth 22:11:30 Type rfbot: (or /msg rfbot to play in private) 22:11:35 rfbot: .version 22:11:36 crc: 22:11:47 --- quit: rfbot (Remote closed the connection) 22:11:54 --- part: futhin left #forth 22:12:08 --- join: rfbot (crc@bespin.org) joined #forth 22:12:08 Type rfbot: (or /msg rfbot to play in private) 22:12:12 rfbot: .version 22:12:13 crc: RetroForth 7 .5 .1 22:12:20 ok, it seems to work now 22:14:57 crc: does it remember words? 22:15:19 rfbot: : hi ." hi there." ; 22:15:20 fridge: there."? 22:17:53 rfbot: : hi s" hi there." type cr ; hi 22:17:55 crc: hi there. 22:18:50 rfbot: macro : ." '" parse $, ['] type compile ; forth : hi ." hi there" cr ; hi 22:18:52 crc: 22:19:26 rfbot: macro : ." '" parse m: $, ['] type compile ; forth : hi ." hi there" cr ; hi 22:19:28 crc: hi there 22:19:42 it's _very_ slow :-( 22:20:31 * crc begins studying the bot code again to see if he can speed it up 22:23:59 --- quit: rfbot (Remote closed the connection) 22:32:19 --- join: rfbot (crc@bespin.org) joined #forth 22:32:19 Type rfbot: (or /msg rfbot to play in private) 22:32:26 rfbot: .version 22:32:27 crc: RetroForth 7 .5 .1 22:57:18 --- join: solar_angel (~jenni@Toronto-HSE-ppp3704660.sympatico.ca) joined #forth 22:58:59 crc: what's m: do? 23:04:15 m: compiles a call to a macr 23:04:19 macro even 23:05:13 $, is a macro? 23:05:26 Yes, though that may change soon 23:05:34 why did you make it one/ 23:05:36 ? 23:05:53 It was factored out of a macro 23:06:06 I wasn't sure which way was better to do it 23:06:27 * crc should change it to a normal word though - it'd fit useage patterns better 23:06:36 ok. was just wondering 23:06:57 hi solar_angel 23:07:14 hi Sonarman 23:08:24 rfbot: words 23:08:26 crc: .version version# ." " s0 | zt-free zt-make words 23:09:06 --- join: echbla (NoSoap@d198-53-172-55.abhsia.telus.net) joined #forth 23:09:18 --- part: echbla left #forth 23:10:02 rfbot: words 23:10:04 crc: .version version# ." " s0 | zt-free zt-make words >pad clear del tab space cr << 0; fill alias execute ' columns lines 2swap 2over chars char+ cells cell+ align allot pad */ /mod octal binary decimal hex +! 2drop 2dup tuck over -rot rot here constant variable, variable mod / - negate * + c! c@ ! @ not >> xor or and nip dup drop swap base d0 h0 last cmove reset parse type . macro forth : compile ] (create) create 3, 2, 1, , eval >number find mfind syscall bye key 23:11:22 rfbot: bye 23:11:23 fridge: 23:11:56 The entire wordlist should be visible now: 23:12:19 rfbot: forth words cr cr macro words 23:12:21 crc: .version version# ." " s0 | zt-free zt-make words >pad clear del tab space cr << 0; fill alias execute ' columns lines 2swap 2over chars char+ cells cell+ align allot pad */ /mod octal binary decimal hex +! 2drop 2dup tuck over -rot rot here constant variable, variable mod / - negate * + c! c@ ! @ not >> xor or and nip dup drop swap base d0 h0 last cmove reset parse type . macro forth : compile ] (create) create 3, 2, 1, , eval >number find mfind syscall bye key 23:12:52 Hmm, 'cr' doesn't seem to work correctly... 23:13:34 rfbot: forth words 23:13:36 crc: .version version# ." " s0 | zt-free zt-make words >pad clear del tab space cr << 0; fill alias execute ' columns lines 2swap 2over chars char+ cells cell+ align allot pad */ /mod octal binary decimal hex +! 2drop 2dup tuck over -rot rot here constant variable, variable mod / - negate * + c! c@ ! @ not >> xor or and nip dup drop swap base d0 h0 last cmove reset parse type . macro forth : compile ] (create) create 3, 2, 1, , eval >number find mfind syscall bye key 23:13:38 rfbot: macro words 23:13:39 crc: $, s" ['] 1- 1+ | ( then >if if r> >r m: f: until again repeat : literal ; ;; [ does> 23:17:03 $, is now a normal word 23:18:43 --- join: crc_ (crc@9-pool1.ras11.nynyc-t.alerondial.net) joined #forth 23:18:58 --- quit: crc (Nick collision from services.) 23:19:00 --- nick: crc_ -> crc 23:21:32 --- quit: rfbot (Remote closed the connection) 23:25:49 --- join: rfbot (crc@bespin.org) joined #forth 23:25:49 Type rfbot: (or /msg rfbot to play in private) 23:27:00 --- quit: rfbot (Remote closed the connection) 23:28:44 --- join: rfbot (crc@bespin.org) joined #forth 23:28:44 Type rfbot: (or /msg rfbot to play in private) 23:32:18 rfbot: 1 1 + . 23:33:10 rfbot: 1 1 + . 23:33:13 crc: 2 23:33:20 oh, i get it 23:33:25 it doesn't like my color code. gah. 23:33:39 it's a simple bot 23:33:43 fair enough 23:33:53 * crc is trying to figure out how to get it to work on multiple channels... 23:41:25 good night 23:41:28 --- quit: Sonarman ("leaving") 23:56:53 --- quit: rfbot (Remote closed the connection) 23:59:57 --- join: qFox (C00K13S@82-169-140-229-mx.xdsl.tiscali.nl) joined #forth 23:59:59 --- log: ended forth/04.11.06