05:14:31 --- log: started forth/21.02.20 05:14:31 --- join: clog joined #forth 05:14:31 --- topic: 'Forth Programming | logged by clog at http://bit.ly/91toWN backup at http://forthworks.com/forth/irc-logs/ | If you have two (or more) stacks and speak RPN then you're welcome here! | https://github.com/mark4th' 05:14:31 --- topic: set by proteusguy!~proteusgu@cm-58-10-208-146.revip7.asianet.co.th on [Mon Dec 30 10:43:28 2019] 05:14:31 --- names: list (clog +proteusguy f-a gravicappa cantstanya Zarutian_HTC lispmacs sts-q jedb__ _whitelogger boru X-Scale actuallybatman lispmacs[work] lonjil bluekelp tangentstorm krjst ecraven phadthai djinni guan rprimus +KipIngram tolja jn__ wineroots rann MrMobius cheers rixard spoofer astrid tabemann cmtptr Chobbes koisoke cp- routeveg crc- APic dddddd dys Wojciech_K nihilazo irsol fiddlerwoaroof_ Vedran inode pareidolia Keshl veltas crest dnm scoofy crc Lord_Nightmare) 05:14:31 --- names: list (shmorgle TangentDelta a3f joe9 jimt[m] jevinskie[m] siraben patrickg iyzsong mjl mstevens ovf Gromboli rpcope- klys neuro_sys remexre nitrix ornxka_ dzho) 05:23:36 --- join: yunfan joined #forth 06:24:07 --- quit: f-a (Ping timeout: 240 seconds) 06:26:11 --- join: f-a joined #forth 07:53:08 --- quit: sts-q (Remote host closed the connection) 07:56:14 --- quit: f-a (Quit: leaving) 08:03:49 --- join: sts-q joined #forth 08:41:18 --- quit: Zarutian_HTC (Ping timeout: 240 seconds) 08:56:54 --- join: Zarutian_HTC joined #forth 10:12:33 --- quit: gravicappa (Ping timeout: 265 seconds) 10:14:03 --- join: gravicappa joined #forth 10:52:21 --- join: f-a joined #forth 10:53:42 https://internet-janitor.itch.io/squad you might like this 10:53:47 pity you cannot input w/ a kbd or I would have made a game 10:56:21 I kinda want to implement forth in tic-80 10:56:41 but I'm not sure how to make it good, and tic-80 already has a few decent languages 11:00:05 --- quit: Zarutian_HTC (Read error: Connection reset by peer) 11:00:25 --- join: Zarutian_HTC joined #forth 11:47:21 re editors,there is the qemacs editor from Fabrice Bellard, very tiny 11:49:40 shmorgle: looks nice, but like the other minimalistic emacs clones, lacks an extension language like lisp 12:03:51 qemacs won't build for me (on openbsd) with either bsd make or gnu make 12:07:19 try sam / acme. 12:07:42 acme is awesome 12:10:51 iirc, both require a graphical host, which rules them out for most of my usage 12:10:58 yeah they do 12:11:00 unless 12:11:08 you want to implement /dev/draw for the terminal :P 12:11:21 maybe sam has a text mode, can't remember 12:13:02 I'm not about to implement /dev/draw to work on various ssh clients I use :) 12:13:45 lol fair 12:18:25 --- quit: sts-q (Remote host closed the connection) 12:21:04 --- join: hosewiejacke joined #forth 12:42:08 --- quit: hosewiejacke (Remote host closed the connection) 12:51:17 --- quit: f-a (Quit: leaving) 13:02:49 --- quit: gravicappa (Ping timeout: 256 seconds) 13:04:03 --- join: sts-q joined #forth 14:39:08 --- join: f-a joined #forth 15:21:16 --- join: f-a_ joined #forth 15:21:31 --- quit: f-a (Read error: Connection reset by peer) 15:22:35 --- quit: f-a_ (Client Quit) 15:22:49 --- join: f-a joined #forth 15:53:58 --- join: dysprosaic joined #forth 15:54:07 --- quit: dysprosaic (Client Quit) 15:54:39 --- join: dysprosaic joined #forth 15:55:16 --- quit: dysprosaic (Client Quit) 16:36:31 --- quit: lispmacs (Ping timeout: 246 seconds) 16:58:36 --- join: X-Scale` joined #forth 16:59:02 --- quit: X-Scale (Ping timeout: 265 seconds) 16:59:16 --- nick: X-Scale` -> X-Scale 17:09:22 use plan9port? 17:16:12 --- quit: X-Scale (Ping timeout: 260 seconds) 17:16:14 --- join: X-Scale` joined #forth 17:17:06 --- nick: X-Scale` -> X-Scale 17:23:21 --- join: dave0 joined #forth 17:31:44 LEAVE is a bit too magic for my taste 17:32:14 The fig-forth LEAVE is much better IMO 17:32:41 (just set iterator to limit, so the next LOOP/+LOOP falls through) 17:33:24 joe9: still needs X11, which I don't have on my systems 17:37:39 none of this matters though; I'm writing an editor for my own use, which will suffice and be written in Forth 17:38:03 * crc intends to be done this by early summer 17:38:48 The nicest approach I can think of has a runtime cost and slight overhead for DO 17:39:05 i.e. add the leave address next to iterator/limit on return stack 17:40:15 Alternative is to have some kind of loop or leave stack, potentially link multiple LEAVE's through code to resolve at corresponding LOOP, which is all gross 17:41:11 fig-forth had the right idea with a LEAVE that requires a bit more care in use, but is infinitely simpler in implementation. That's the forth way really 18:24:22 the way I implemented it is a separate stack for structures at compile time. every LEAVE pushes it's address and type then LOOP pops repeatedly until it finds a an address of type DO. update all the addresses for the LEAVEs and error if another type like IF is found 18:25:10 doesnt seem to be a common way to do it though 18:26:39 I suppose you could have some valid reason to do DO FOO IF LOOP THEN BAR LOOP 18:35:13 --- join: boru` joined #forth 18:35:16 --- quit: boru (Disconnected by services) 18:35:18 --- nick: boru` -> boru 18:42:20 --- quit: f-a (Ping timeout: 272 seconds) 18:43:42 --- join: f-a joined #forth 18:56:08 --- quit: dave0 (Quit: dave's not here) 19:04:39 --- join: Zarutian_HTC1 joined #forth 19:04:39 --- quit: Zarutian_HTC (Read error: Connection reset by peer) 19:38:29 --- quit: f-a (Quit: leaving) 20:09:25 --- quit: _whitelogger (Remote host closed the connection) 20:12:24 --- join: _whitelogger joined #forth 20:21:58 --- quit: Zarutian_HTC1 (Ping timeout: 240 seconds) 20:24:40 --- join: Zarutian_HTC joined #forth 20:36:14 --- join: gravicappa joined #forth 20:56:36 --- join: jedb_ joined #forth 20:57:24 --- quit: sts-q (Ping timeout: 260 seconds) 20:59:07 --- quit: jedb__ (Ping timeout: 264 seconds) 20:59:29 --- join: jedb__ joined #forth 21:02:16 --- quit: jedb_ (Ping timeout: 256 seconds) 21:06:13 --- join: sts-q joined #forth 21:30:45 --- join: dave0 joined #forth 21:32:29 --- quit: wineroots (Remote host closed the connection) 21:39:24 --- quit: _whitelogger (Remote host closed the connection) 21:42:22 --- join: _whitelogger joined #forth 22:22:43 --- quit: Zarutian_HTC (Remote host closed the connection) 22:58:38 --- join: wineroots joined #forth 23:59:59 --- log: ended forth/21.02.20