00:00:00 --- log: started forth/17.06.05 01:30:37 --- quit: ACE_Recliner (Remote host closed the connection) 01:44:39 --- join: LeCamarade (~revence@139.59.111.106) joined #forth 02:14:43 --- join: APic (apic@apic.name) joined #forth 02:54:31 --- quit: nighty- (Quit: Disappears in a puff of smoke) 02:58:38 --- join: a3f_ (~a3f@unaffiliated/a3f) joined #forth 03:00:56 --- quit: a3f (Ping timeout: 240 seconds) 03:02:09 --- quit: a3f_ (Remote host closed the connection) 03:03:29 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 03:04:01 --- quit: a3f (Remote host closed the connection) 03:04:07 --- join: GeDaMo (~GeDaMo@212.225.127.213) joined #forth 03:07:54 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 03:14:25 --- quit: a3f (Remote host closed the connection) 03:17:49 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 03:19:35 --- quit: a3f (Remote host closed the connection) 03:21:34 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 03:23:00 --- join: a3f_ (~a3f@unaffiliated/a3f) joined #forth 03:24:34 --- quit: a3f_ (Remote host closed the connection) 03:26:40 --- quit: a3f (Ping timeout: 268 seconds) 03:27:09 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 03:27:45 --- quit: a3f (Remote host closed the connection) 03:49:33 --- join: nighty- (~nighty@s229123.ppp.asahi-net.or.jp) joined #forth 04:06:57 --- join: neceve (~ncv@79.118.3.241) joined #forth 04:06:57 --- quit: neceve (Changing host) 04:06:57 --- join: neceve (~ncv@unaffiliated/neceve) joined #forth 04:30:10 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 04:53:19 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 05:40:11 --- quit: opamp (Quit: My MacBook has gone to sleep. ZZZzzz…) 06:15:01 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 06:17:14 --- quit: opamp (Client Quit) 07:06:26 --- join: dual (~bonafide@cpe-74-75-153-119.maine.res.rr.com) joined #forth 11:03:11 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 11:03:39 --- quit: karswell` (Read error: Connection reset by peer) 11:12:57 --- quit: DGASAU (Read error: Connection reset by peer) 11:14:44 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 11:18:04 --- join: true-grue (~true-grue@176.14.219.178) joined #forth 11:37:49 --- join: bedah (~bedah@2a02:810d:243f:f584:221:ccff:fe5f:92ff) joined #forth 11:42:30 --- quit: DGASAU (Read error: Connection reset by peer) 11:42:39 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 12:16:33 --- quit: DGASAU (Read error: Connection reset by peer) 12:16:45 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 13:50:04 --- quit: GeDaMo (Remote host closed the connection) 14:08:32 --- join: ACE_Recliner (~ACE_Recli@c-98-220-46-30.hsd1.in.comcast.net) joined #forth 14:13:23 --- join: proteus-guy (~proteus-g@49.229.125.189) joined #forth 14:17:38 --- quit: proteus-guy (Ping timeout: 246 seconds) 14:29:38 --- join: proteus-guy (~proteus-g@193.173.216.22) joined #forth 14:31:09 --- quit: neceve (Quit: Konversation terminated!) 15:18:16 --- join: DGASAU` (~user@lmpc.drb.insel.de) joined #forth 15:18:32 --- quit: DGASAU (Ping timeout: 260 seconds) 15:20:35 --- nick: DGASAU` -> DGASAU 15:25:18 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 16:05:08 --- quit: nighty- (Quit: Disappears in a puff of smoke) 16:10:57 --- join: wa5qjh (~Thunderbi@121.54.90.145) joined #forth 16:28:45 --- quit: opamp (Quit: My MacBook has gone to sleep. ZZZzzz…) 16:37:02 --- quit: true-grue (Read error: Connection reset by peer) 16:37:54 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 17:33:49 --- join: nighty- (~nighty@kyotolabs.asahinet.com) joined #forth 18:04:33 is there an equivalent of return? 18:05:40 exit 18:05:53 will it clean up the return stack for loops etc? 18:05:56 and thank you :) 18:05:59 no 18:06:02 hmmm 18:06:13 I want to return and break out of loops etc 18:06:26 rdrop exit 18:06:53 or drop, wherever it is you're keeping your loop stuff 18:06:54 I'm compiling to FORTH....it looks like I will need to keep track of more context 18:08:26 yeah, I could be wrong about the heavier forths as I've only ever used my own forth which I've tried to keep as minimalist as possible (and admittedly I'm relatively new to the forth scene), but I don't think there's any mechanism that saves and restores the position of the stack when you exit from a loop 18:08:47 unloop exit is the portable way of doing it in ans 18:09:00 well there you go. that's why I shouldn't answer questions 18:09:20 :p 18:09:35 rdrop will work in some forths 18:09:50 I'm gonna have to keep track of all the loops I am in as I walk the AST for returns to work right 18:09:58 not the worst thing....but a little nasty 18:11:03 you could also (ab)use exceptions for that 18:11:21 that sounds interesting...but not portable 18:11:37 I want to output a FORTH dialect that is super easy to implement 18:13:29 oh yeah, exceptions. I love seeing c++ guys do their funny try/catch/throw dance just to avoid using a goto 18:20:20 protist: you could do it portably using exceptions but it would be ugly enough to probably not be worth it 18:20:55 koisoke: yeah...I'm going to just make my compiler keep track of the loop context....that way the code I emit has simple parts 18:21:53 koisoke: here is the basic design I'm playing with....typeless compiled language targetting FORTH, with generator expressions and some other goodies you usually only see in GCed languages 18:22:31 *nod* 18:24:09 ugly version is something like: wrap all the compiled functions in a CATCH and use THROW as your general-purpose return. but that would be gross 18:24:18 lol yeah 18:36:09 --- quit: dys (Ping timeout: 240 seconds) 18:48:39 --- join: Chef_Gromboli (~Chef_Grom@static-72-88-80-103.bflony.fios.verizon.net) joined #forth 19:01:57 --- join: dual_ (~bonafide@cpe-74-75-153-119.maine.res.rr.com) joined #forth 19:04:24 --- quit: dual (Ping timeout: 260 seconds) 20:06:38 --- quit: proteusguy (Ping timeout: 258 seconds) 20:08:58 --- quit: opamp (Quit: My MacBook has gone to sleep. ZZZzzz…) 20:09:24 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 20:09:47 --- quit: opamp (Client Quit) 20:10:13 --- quit: Zarutian (Quit: Zarutian) 20:10:14 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 20:10:35 --- quit: opamp (Client Quit) 20:11:04 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 20:11:23 --- quit: opamp (Client Quit) 20:12:08 --- join: opamp (~textual@97-104-93-154.res.bhn.net) joined #forth 20:12:11 --- quit: opamp (Client Quit) 20:12:23 --- quit: Chef_Gromboli (Quit: Leaving) 20:28:42 --- quit: wa5qjh (Remote host closed the connection) 21:41:58 --- join: dys (~dys@ip-109-44-1-166.web.vodafone.de) joined #forth 21:46:03 --- join: neceve (~ncv@79.118.3.241) joined #forth 21:46:03 --- quit: neceve (Changing host) 21:46:03 --- join: neceve (~ncv@unaffiliated/neceve) joined #forth 23:49:00 --- quit: hobbes- (Ping timeout: 260 seconds) 23:49:06 --- join: hobbes- (~hobbes@bnc.jfng.fr) joined #forth 23:54:00 --- quit: proteus-guy (Remote host closed the connection) 23:59:59 --- log: ended forth/17.06.05