00:00:00 --- log: started forth/12.06.25 02:33:37 --- quit: phirsch (Ping timeout: 265 seconds) 02:34:17 --- quit: jillsmitt (Remote host closed the connection) 02:36:19 --- join: jillsmitt (~jillsmitt@95.58.179.10) joined #forth 02:36:20 --- mode: ChanServ set +v jillsmitt 03:59:07 --- quit: jillsmitt (Quit: Leaving) 04:40:21 --- quit: jyfl987 (Quit: leaving) 04:59:35 --- join: jyfl987 (~jyf@unaffiliated/yunfan) joined #forth 04:59:35 --- mode: ChanServ set +v jyfl987 05:44:38 --- join: fantazo (~fantazo@91.119.217.91) joined #forth 05:44:38 --- mode: ChanServ set +v fantazo 08:03:33 --- join: DocPlatypus (~skquinn@108-75-59-67.lightspeed.hstntx.sbcglobal.net) joined #forth 08:03:34 --- mode: ChanServ set +v DocPlatypus 08:14:12 --- quit: ttmrichter (Quit: Leaving) 08:43:28 --- quit: jyfl987 (Quit: leaving) 08:51:05 --- join: jyfl987 (~jyf@unaffiliated/yunfan) joined #forth 08:51:05 --- mode: ChanServ set +v jyfl987 09:00:57 --- join: phirsch (~phirsch@xdsl-89-0-139-211.netcologne.de) joined #forth 09:00:57 --- mode: ChanServ set +v phirsch 09:14:17 --- join: Monevii (~Monevii@adsl-207-204-147-103.prtc.net) joined #forth 09:14:18 --- mode: ChanServ set +v Monevii 09:14:25 --- join: Kumul (~Kumul@adsl-207-204-147-103.prtc.net) joined #forth 09:14:25 --- mode: ChanServ set +v Kumul 10:13:40 --- quit: fantazo (Remote host closed the connection) 10:33:09 --- quit: jyfl987 (Quit: leaving) 10:40:05 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 10:40:05 --- mode: ChanServ set +v Onionnion 10:43:53 --- quit: Onionnion (Client Quit) 10:46:16 --- join: nighty- (~nighty@static-68-179-124-161.ptr.terago.net) joined #forth 10:46:16 --- mode: ChanServ set +v nighty- 10:47:33 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 10:47:33 --- mode: ChanServ set +v Onionnion 11:24:33 --- join: SplinterOfChaos (~soc@cblmdm24-52-84-142.buckeyecom.net) joined #forth 11:24:35 --- mode: ChanServ set +v SplinterOfChaos 11:51:44 --- join: RodgerTheGreat (~rodger@71-13-215-128.dhcp.mrqt.mi.charter.com) joined #forth 11:51:47 --- mode: ChanServ set +v RodgerTheGreat 12:12:45 --- join: solar_sea (~solar@78-83-115-86.spectrumnet.bg) joined #forth 12:12:46 --- mode: ChanServ set +v solar_sea 12:16:17 --- join: fantazo (~fantazo@213.129.230.10) joined #forth 12:16:18 --- mode: ChanServ set +v fantazo 12:24:40 --- quit: fantazo (Ping timeout: 245 seconds) 12:25:59 --- join: entwislegrove (~Duncan_En@host81-159-168-94.range81-159.btcentralplus.com) joined #forth 12:25:59 --- mode: ChanServ set +v entwislegrove 12:29:14 --- join: john_metcalf (~digital_w@87.115.178.251) joined #forth 12:29:17 --- mode: ChanServ set +v john_metcalf 12:56:39 --- join: fantazo (~fantazo@91.119.217.91) joined #forth 12:56:43 --- mode: ChanServ set +v fantazo 14:12:50 --- quit: fantazo (Remote host closed the connection) 14:18:55 I'm about to make my forth compile to native code. I'll put a flag in the header of each word to show whether to compile a call or to copy the code inline. 14:19:29 Is this a dumb way to do it? Are there any articles about how to do it better? 14:19:48 I'm sure ASau could tell you how not to do it at all. 14:19:49 * kulp hides 14:23:18 I don't mind being told I'm doing it wrong, even if I don't get any suggestions how to do it right :-) 14:24:48 it's probably better to be told that by someone who knows what he's talking about, though. 14:25:01 If I told you, you might take it as evidence against a perfectly good way of doing things ! 14:25:24 but I should stop making noise here. Sorry to occlude your original question ! 14:26:11 kulp: have you implemented your own Forth yet? Or are you writing programs in Forth? 14:26:26 john_metcalf: i am in the midst of implementing my own forth 14:26:48 well, I have written an interpreter and a fair number of primitive words 14:26:53 but I do not have a text interpreter 14:26:59 (I have to fix my linker first) 14:27:18 Which system will it be for? 14:27:29 * ASau has three implementations, all used in production. 14:27:32 * ASau shrugs. 14:27:56 john_metcalf: my own, tenyr 14:29:07 john_metcalf: I don't remember if there's a paper on that, 14:29:13 but you really should look at how gforth does that. 14:30:53 Thanks, will take a look. 14:30:55 First of all, because its way is more flexible and leaves space for more optimizations. 14:31:11 It also avoids rolling special cases in compiler. 14:43:48 --- quit: Nisstyre (Quit: Leaving) 14:55:43 --- quit: nighty- (Remote host closed the connection) 14:55:52 --- quit: solar_sea (Quit: leaving) 14:56:33 --- quit: entwislegrove (Read error: Connection reset by peer) 16:29:07 --- quit: ASau (Read error: Connection reset by peer) 16:42:59 --- quit: segher (Ping timeout: 240 seconds) 16:43:31 --- join: segher (~segher@5ED3C8DF.cm-7-4d.dynamic.ziggo.nl) joined #forth 16:43:33 --- mode: ChanServ set +v segher 16:58:07 --- join: black_13 (4343c5dd@gateway/web/freenode/ip.67.67.197.221) joined #forth 16:58:07 --- mode: ChanServ set +v black_13 16:59:55 how does a stack machine implement looping constructs for instance forth 17:05:33 typically loop indices are maintained on the return stack, although occasionally there is a separate stack for this purpose 17:12:57 a stack for params a stack for instructions and a loop stack? 17:13:36 i think it's Control Stack, Data Stack, and Return Stack in the F94 standard 17:13:37 a more esoteric question is double indirect unsafe of an embedded system 17:14:19 was there one of the forth books that talked about making a vm? 17:29:07 --- quit: black_13 (Ping timeout: 245 seconds) 20:31:38 --- quit: Onionnion (Quit: Leaving) 20:57:16 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 20:57:18 --- mode: ChanServ set +v Onionnion 20:58:24 --- quit: Onionnion (Remote host closed the connection) 20:58:45 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 20:58:47 --- mode: ChanServ set +v Onionnion 20:59:24 --- quit: Onionnion (Remote host closed the connection) 20:59:44 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 20:59:50 --- mode: ChanServ set +v Onionnion 21:08:25 --- quit: phirsch (Ping timeout: 245 seconds) 21:11:32 --- quit: Onionnion (Quit: Leaving) 21:13:11 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 21:13:33 --- mode: ChanServ set +v Onionnion 21:16:24 --- quit: RodgerTheGreat (Quit: RodgerTheGreat) 21:16:59 --- join: phirsch (~phirsch@xdsl-89-0-136-20.netcologne.de) joined #forth 21:17:01 --- mode: ChanServ set +v phirsch 21:20:31 --- quit: Onionnion (Quit: Leaving) 21:22:03 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 21:22:39 --- quit: Onionnion (Remote host closed the connection) 21:25:16 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 21:25:21 --- mode: ChanServ set +v Onionnion 21:38:24 --- quit: Onionnion (Remote host closed the connection) 21:38:54 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 21:38:54 --- mode: ChanServ set +v Onionnion 21:41:00 --- quit: Onionnion (Remote host closed the connection) 21:41:27 --- join: Onionnion (~ryan@adsl-69-215-131-241.dsl.milwwi.ameritech.net) joined #forth 21:41:44 --- mode: ChanServ set +v Onionnion 22:07:39 --- join: fantazo (~fantazo@91.119.217.91) joined #forth 22:07:43 --- mode: ChanServ set +v fantazo 22:20:05 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 22:20:05 --- mode: ChanServ set +v Nisstyre 22:48:58 --- quit: Onionnion (Quit: Leaving) 22:58:36 --- quit: john_metcalf (Quit: john_metcalf) 22:59:03 --- quit: Monevii (Remote host closed the connection) 23:14:58 --- quit: fantazo (Ping timeout: 272 seconds) 23:38:25 --- quit: Kumul (Quit: gone) 23:59:59 --- log: ended forth/12.06.25