00:00:00 --- log: started forth/16.01.13 00:05:13 --- join: xyh (~xieyuheng@111.50.93.123) joined #forth 00:06:51 --- join: atommann (~atommann@210.3.149.230) joined #forth 01:40:43 --- quit: proteusguy (Ping timeout: 260 seconds) 01:40:43 --- quit: proteusguy_satri (Ping timeout: 250 seconds) 01:53:53 --- join: proteusguy_satri (~proteusgu@ppp-110-168-229-34.revip5.asianet.co.th) joined #forth 01:54:03 --- join: proteusguy (~proteusgu@ppp-110-168-229-34.revip5.asianet.co.th) joined #forth 01:54:04 --- mode: ChanServ set +v proteusguy 02:11:03 --- quit: ASau (Ping timeout: 272 seconds) 02:19:06 --- join: mayuresh (~mayuresh@159.snat-111-91-121.hns.net.in) joined #forth 02:23:33 --- quit: mayuresh (Client Quit) 02:37:51 --- quit: atommann (Ping timeout: 276 seconds) 03:31:16 --- quit: karswell (Read error: Connection reset by peer) 03:32:26 --- join: karswell (~user@135.18.198.146.dyn.plus.net) joined #forth 03:37:39 --- quit: xyh (Ping timeout: 276 seconds) 04:18:45 --- join: xyh (~xieyuheng@111.50.93.123) joined #forth 04:29:38 --- join: nighty^_ (~nighty@www.taiyolabs.com) joined #forth 05:10:32 --- nick: xyh -> APM666 05:14:20 --- nick: APM666 -> little-demon-fox 05:55:38 --- quit: DGASAU (Ping timeout: 260 seconds) 06:04:19 --- nick: little-demon-fox -> shaman 06:08:12 --- join: little_bit (~tomkl@unaffiliated/tomkl) joined #forth 06:13:00 --- join: octophore (~octo@159.203.97.79) joined #forth 06:14:15 --- quit: karswell (Ping timeout: 272 seconds) 06:20:06 --- join: karswell (~user@135.18.198.146.dyn.plus.net) joined #forth 06:24:57 --- join: atommann (~atommann@222.248.65.23) joined #forth 06:32:00 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 06:44:57 --- quit: DGASAU (Ping timeout: 260 seconds) 06:52:07 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 06:59:16 --- join: xyh (~cicada@111.50.93.123) joined #forth 06:59:19 --- quit: shaman (Read error: Connection reset by peer) 07:08:29 --- join: true-grue (~true-grue@176.14.216.104) joined #forth 07:46:36 --- quit: atommann (Quit: Leaving) 08:01:17 --- join: netytan (~marksmith@78-23-54-59.access.telenet.be) joined #forth 09:21:28 --- join: real-grue (~true-grue@176.14.216.104) joined #forth 09:24:45 --- quit: true-grue (Ping timeout: 276 seconds) 09:31:35 --- join: actual-grue (~true-grue@176.14.216.104) joined #forth 09:35:09 --- quit: real-grue (Ping timeout: 276 seconds) 09:45:36 are there any papers / books about the return stack? 09:46:26 octophore: about just the return stack? What are you curious about? 09:47:11 I'm curious about ways to manipulate it and affect control flow 09:50:53 In general or in some specific system. Typically you have >r (move from the data stack onto the return stack) and r> (move from the return stack to the data stack), and varients thereupon. If you save the stacks, in part or in full, and you can restore them later, then you have continuations, and all that they imply. 09:51:18 octophore: I don't know of any papers that deal specifically with uses of the return stack though sorry. 09:51:50 that's ok. and yes, that's the sort of use for them that I've been interested in :) 10:07:47 --- join: john_metcalf (~john_metc@79.16.114.87.dyn.plus.net) joined #forth 10:08:53 --- quit: ovf (K-Lined) 10:08:53 --- quit: ggherdov` (K-Lined) 10:08:55 --- quit: crc (K-Lined) 10:11:16 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 10:19:15 --- join: crc (sid2647@gateway/web/irccloud.com/x-ncnwumfzojzfvhnp) joined #forth 10:20:09 --- join: ovf (sid19068@gateway/web/irccloud.com/x-dggwtqojemdewcxs) joined #forth 10:22:05 --- join: ggherdov` (sid11402@gateway/web/irccloud.com/x-ugbtlxwjhwtsotal) joined #forth 10:24:46 does Forth have a word for "pop the top of the return stack and jump to it" besides reaching the end of the definition? i.e. some "return" word that could occur multiple times through a definition 10:26:42 I guess : leave r> drop ; would work so long as it never got inlined 10:30:42 *notes that name is taken* 10:33:24 octophore: about return-stack :: http://www.bradrodriguez.com/papers/moving1.htm 10:33:41 octophore: and :: https://github.com/xieyuheng/jonesforth 10:34:00 https://github.com/xieyuheng/jonesforth/blob/master/jonesforth.S 10:35:45 thanks a bunch! 10:36:37 octophore: is your leave word intended to return to the caller of the caller? 10:37:59 :) Or just clean up inside a loop or whatnot? 10:38:34 octophore: http://www.forth.org/svfig/Len/softstak.htm 10:40:35 the caller of the caller, yeah 10:40:59 to act like having multiple exit points of a definition 10:41:24 be careful when trying to manipulate return-stack to affect control flow, 10:41:25 if you define your function by : a-function ; 10:41:27 when the function is called a new address [of a-function] is pushed to the return-stack. 10:41:35 leave does exactly this, for loops anyway :) 10:41:59 (refering to leave in it's original definition) 10:42:01 that's why I have that "r> drop" xyh 10:42:17 (unless there's a word "rdrop" I don't know about) 10:42:34 cool, be careful anyway 10:42:44 will do :) 10:43:03 which forth are you using / 10:44:20 I recommend you name your function as 'end' instead of 'leave' 10:44:50 alright. and I'm using gforth 10:51:22 --- quit: netytan (Ping timeout: 255 seconds) 10:56:36 I dislike the GNU building system ... 10:56:58 how I wish the bigest open forth is not gforth ~ 11:20:31 --- join: bb010g (uid21050@gateway/web/irccloud.com/x-xxlqsvhcovzvmwaa) joined #forth 11:21:13 what's your favorite open forth, xyh? 11:23:58 I do not have one, I wish all open forth the best ~ including gforth :) 11:24:25 ok :) 11:24:53 I do not use forth very often, but forth is one of my favorite language 11:25:07 I learned too much from it 12:25:29 --- join: netytan (~marksmith@2a02:1812:1701:ff00:b859:f53d:b7c3:c123) joined #forth 12:28:38 --- quit: netytan (Client Quit) 12:28:51 --- join: netytan (~marksmith@2a02:1812:1701:ff00:b859:f53d:b7c3:c123) joined #forth 13:00:54 --- quit: netytan (Remote host closed the connection) 13:01:17 --- join: netytan (~marksmith@2a02:1812:1701:ff00:b859:f53d:b7c3:c123) joined #forth 13:16:27 --- quit: netytan (Remote host closed the connection) 13:16:51 --- join: netytan (~marksmith@2a02:1812:1701:ff00:b859:f53d:b7c3:c123) joined #forth 13:35:37 --- join: true-grue (~true-grue@176.14.216.104) joined #forth 13:36:06 --- quit: Zarutian (Read error: Connection reset by peer) 13:36:54 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 13:38:52 --- quit: netytan (Remote host closed the connection) 13:39:01 --- quit: bb010g (Quit: Connection closed for inactivity) 13:39:16 --- quit: Zarutian (Client Quit) 13:39:20 --- join: netytan (~marksmith@2a02:1812:1701:ff00:b859:f53d:b7c3:c123) joined #forth 13:40:12 --- quit: actual-grue (Ping timeout: 276 seconds) 13:48:00 --- quit: dys (Ping timeout: 276 seconds) 13:48:16 --- quit: true-grue (Quit: Leaving) 13:50:44 --- join: ASau (~user@netbsd/developers/asau) joined #forth 13:55:09 --- quit: asagk (Ping timeout: 276 seconds) 14:00:15 --- quit: ASau (Remote host closed the connection) 14:00:30 --- join: ASau (~user@netbsd/developers/asau) joined #forth 14:02:45 --- join: dys (~dys@ip-109-44-174-99.web.vodafone.de) joined #forth 14:08:05 --- join: asagk (~asagk@i59F6A72F.versanet.de) joined #forth 14:13:22 --- quit: netytan (Remote host closed the connection) 14:13:47 --- join: netytan (~marksmith@2a02:1812:1701:ff00:b859:f53d:b7c3:c123) joined #forth 14:23:46 --- quit: little_bit (Ping timeout: 246 seconds) 15:18:02 --- join: little_bit (~tomkl@unaffiliated/tomkl) joined #forth 15:50:07 --- join: bb010g (uid21050@gateway/web/irccloud.com/x-jrdjnzrjcswzopde) joined #forth 17:25:54 --- join: atommann (~atommann@210.3.149.230) joined #forth 18:07:06 --- quit: Keshl (Remote host closed the connection) 18:08:42 --- join: Keshl (~Purple@24.115.181.94.res-cmts.gld.ptd.net) joined #forth 18:17:55 --- join: vsg1990 (~vsg1990@pool-74-110-57-203.bflony.fios.verizon.net) joined #forth 18:51:45 --- join: DGASAU` (~user@lmpc.drb.insel.de) joined #forth 18:53:17 --- quit: xyh (Ping timeout: 246 seconds) 18:53:18 --- quit: DGASAU (Read error: Connection reset by peer) 18:53:19 --- quit: xpoqp (Ping timeout: 246 seconds) 18:53:37 --- quit: proteusguy (Ping timeout: 246 seconds) 18:53:39 --- join: xpoqp (~xpo@xpotd.td.org.uit.no) joined #forth 18:54:28 --- join: proteusguy (~proteusgu@ppp-110-168-229-34.revip5.asianet.co.th) joined #forth 18:54:28 --- mode: ChanServ set +v proteusguy 18:54:36 --- join: xyh (~cicada@111.50.93.123) joined #forth 19:22:34 --- quit: netytan (Ping timeout: 255 seconds) 20:19:39 --- quit: xyh (Remote host closed the connection) 20:25:15 --- join: xyh (~cicada@111.50.93.123) joined #forth 20:35:37 --- quit: karswell (Remote host closed the connection) 20:36:10 --- join: karswell` (~user@135.18.198.146.dyn.plus.net) joined #forth 21:15:53 --- quit: vsg1990 (Quit: Leaving) 21:35:25 --- quit: atommann (Ping timeout: 250 seconds) 22:15:57 --- quit: little_bit (Ping timeout: 245 seconds) 22:58:21 --- quit: dograt (Remote host closed the connection) 22:59:08 --- join: dograt (~dograt@unaffiliated/dograt) joined #forth 23:18:19 --- join: atommann (~atommann@210.3.149.230) joined #forth 23:59:59 --- log: ended forth/16.01.13