00:00:00 --- log: started forth/12.12.04 00:12:59 --- join: epicmonkey_ (~epicmonke@188.134.41.172) joined #forth 00:12:59 --- mode: ChanServ set +v epicmonkey_ 00:34:50 --- quit: epicmonkey_ (Ping timeout: 246 seconds) 00:37:07 --- join: epicmonkey_ (~epicmonke@188.134.41.172) joined #forth 00:37:07 --- mode: ChanServ set +v epicmonkey_ 00:43:34 --- quit: epicmonkey_ (Ping timeout: 250 seconds) 01:18:52 --- quit: dom96 (Ping timeout: 240 seconds) 01:22:01 --- join: dom96 (dom96@unaffiliated/dom96) joined #forth 01:22:01 --- mode: ChanServ set +v dom96 01:51:42 --- join: epicmonkey_ (~epicmonke@host-224-58.dataart.net) joined #forth 01:51:42 --- mode: ChanServ set +v epicmonkey_ 02:36:41 --- quit: Nisstyre-laptop (Quit: Leaving) 03:00:39 --- quit: jyfl987 (Quit: GC...) 03:11:05 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 03:11:05 --- mode: ChanServ set +v MayDaniel 03:34:05 --- quit: epicmonkey_ (Quit: Leaving) 03:34:41 --- join: epicmonkey (~epicmonke@195.206.224.58) joined #forth 03:34:41 --- mode: ChanServ set +v epicmonkey 04:41:39 --- quit: Bahman (Read error: Connection reset by peer) 04:42:12 --- join: Bahman (~Bahman@static.88-198-159-196.clients.your-server.de) joined #forth 04:42:12 --- mode: ChanServ set +v Bahman 04:47:59 --- quit: MayDaniel (Read error: Connection reset by peer) 05:50:09 --- quit: epicmonkey (Ping timeout: 246 seconds) 06:57:00 --- quit: Bahman (Ping timeout: 246 seconds) 07:02:26 --- join: Bahman (~Bahman@static.88-198-159-196.clients.your-server.de) joined #forth 07:02:26 --- mode: ChanServ set +v Bahman 07:08:04 --- join: epicmonkey (~epicmonke@188.134.41.172) joined #forth 07:08:04 --- mode: ChanServ set +v epicmonkey 09:49:32 --- quit: Bahman (Ping timeout: 260 seconds) 10:11:16 --- join: ASau (~user@46.115.74.99) joined #forth 10:11:16 --- mode: ChanServ set +v ASau 11:46:40 --- join: Bahman (~Bahman@static.88-198-159-196.clients.your-server.de) joined #forth 11:46:40 --- mode: ChanServ set +v Bahman 11:49:47 --- quit: Bahman (Remote host closed the connection) 11:53:11 --- join: Bahman (~Bahman@static.88-198-159-196.clients.your-server.de) joined #forth 11:53:13 --- mode: ChanServ set +v Bahman 12:27:26 --- nick: segher_ -> segher 12:29:08 --- quit: epicmonkey (Ping timeout: 246 seconds) 13:06:49 --- quit: Bahman (Ping timeout: 252 seconds) 13:08:29 --- join: RodgerTheGreat (~rodger@97-88-150-1.dhcp.mrqt.mi.charter.com) joined #forth 13:08:29 --- mode: ChanServ set +v RodgerTheGreat 13:38:11 --- join: Nisstyre-laptop (~yours@oftn/member/Nisstyre) joined #forth 13:38:12 --- mode: ChanServ set +v Nisstyre-laptop 14:51:19 I'm trying to figure out how to create anonymous inline word definitions in gforth 14:51:57 I think I have a general approach that could work but there's something wrong with the way I'm doing it 14:52:32 the idea is that I define { and } to delimit an inline word definition which will leave an XT on the stack 14:52:39 so I say something like 14:52:44 : test 54 { ." text " } execute . cr ; 14:52:58 and I would expect it to print "text 54" 14:53:09 the way I'm attempting to define {} is: 14:53:11 : { postpone ahead noname create latestxt ; immediate 14:53:15 : } postpone exit noname create >r postpone then r> postpone literal ; immediate 14:54:22 so { leaves an unresolved forward branch and starts a new anonymous procedure for the body of the { }, stashing the XT for that new procedure on the stack 14:55:27 } caps off the body with an EXIT and then begins a new (anonymous) word to continue the original procedure. I resolve the forward branch and then compile a literal for the XT I stashed earlier 14:56:02 Any thoughts? 14:58:30 hrm 14:59:07 maybe I don't need to say 'create' after 'noname' 15:04:36 nope, I do 15:05:04 noname does not build a dictionary entry 15:16:13 I'll just ask the mailing list 16:32:50 awesome, got a response 16:34:12 for those playing along at home, the main issue is that "noname create" does not produce an executable word. A correct solution is to use ":noname" in { 16:37:28 --- join: Onionnion (~ryan@adsl-68-254-160-140.dsl.milwwi.ameritech.net) joined #forth 16:37:28 --- mode: ChanServ set +v Onionnion 16:38:31 --- quit: Onionnion (Client Quit) 16:40:00 aaand there is similar functionality already implemented in quotations.fs: http://git.bernd-paysan.de/?p=gforth.git;a=blob;f=quotations.fs 16:40:10 actually much better than my version because it plays nicely with locals 16:40:15 hm 17:17:19 --- join: kumul (~kumul@66-50-34-70.prtc.net) joined #forth 17:17:19 --- mode: ChanServ set +v kumul 19:33:44 --- join: Bahman (~Bahman@static.88-198-159-196.clients.your-server.de) joined #forth 19:33:44 --- mode: ChanServ set +v Bahman 20:18:37 --- quit: kumul (Ping timeout: 260 seconds) 21:10:11 --- join: epicmonkey (~epicmonke@188.134.41.172) joined #forth 21:10:11 --- mode: ChanServ set +v epicmonkey 21:35:02 --- quit: epicmonkey (Ping timeout: 248 seconds) 21:38:15 --- join: epicmonkey (~epicmonke@188.134.41.172) joined #forth 21:38:15 --- mode: ChanServ set +v epicmonkey 21:49:41 --- quit: epicmonkey (Ping timeout: 244 seconds) 22:02:30 --- quit: swiley (Ping timeout: 245 seconds) 23:09:33 --- quit: RodgerTheGreat (Quit: RodgerTheGreat) 23:30:59 --- quit: ASau (Ping timeout: 256 seconds) 23:59:59 --- log: ended forth/12.12.04