00:00:00 --- log: started forth/19.05.19 00:00:57 --- join: pierpal (~pierpal@host103-244-dynamic.55-79-r.retail.telecomitalia.it) joined #forth 00:05:25 --- quit: pierpal (Read error: Connection reset by peer) 00:28:11 --- join: pierpal (~pierpal@host103-244-dynamic.55-79-r.retail.telecomitalia.it) joined #forth 00:28:56 --- quit: dave9 (Remote host closed the connection) 00:33:13 --- join: dave9 (~dave@069.d.003.ncl.iprimus.net.au) joined #forth 02:03:27 --- quit: ashirase (Ping timeout: 246 seconds) 02:06:59 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 06:32:43 --- join: proteusguy (~proteusgu@cm-58-10-208-71.revip7.asianet.co.th) joined #forth 06:32:43 --- mode: ChanServ set +v proteusguy 07:11:25 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 09:08:48 --- join: PoppaVic (~PoppaVic@unaffiliated/poppavic) joined #forth 09:08:50 --- quit: ashirase (Ping timeout: 244 seconds) 09:11:09 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 09:15:25 --- quit: ashirase (Ping timeout: 245 seconds) 09:19:42 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 09:46:47 --- join: xek_ (~xek@public-gprs411438.centertel.pl) joined #forth 09:48:15 --- quit: dys (Ping timeout: 246 seconds) 10:46:16 --- quit: pierpal (Ping timeout: 252 seconds) 11:51:43 --- quit: ashirase (Ping timeout: 252 seconds) 11:54:58 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 12:26:57 --- quit: gravicappa (Ping timeout: 258 seconds) 14:41:42 --- quit: john_metcalf (Quit: john_metcalf) 14:52:33 --- join: ghostyy (~ghosty@62-210-75-84.rev.poneytelecom.eu) joined #forth 14:53:46 hi i have a question about forth 14:54:00 i see a lot of people write forth interpreters but i dont see a lot of programs written in forth 14:54:37 are there any good examples of nontrivial/useful programs written in forth? in particular id like to see ones that arent interpreters/assemblers for other languages 14:54:51 im interested to see how people write forth "in the wild" 15:14:39 --- quit: xek_ (Read error: Connection reset by peer) 15:21:19 Hey ghostyy 15:22:29 ghostyy: I wrote a Conways Game of Life thingie in Forth, as well as a Mandelbrot set viewer. 15:22:39 http://thecutecuttlefish.org/gol.html and http://thecutecuttlefish.org/mandelbrot.html 15:22:59 ghostyy: Not sure if you could call it "useful" though :þ 15:23:42 Those programs are written in mostly-standard forth, should work perfectly with gforth. Not sure about pforth, might also work there. 15:27:47 ghostyy: I also got a version of the Mandelbrot set viewer in RETRO, a Forth-style language by crc: http://thecutecuttlefish.org/tmp/mandelbrot.forth 15:31:30 But RETRO is quite different from standard forth, so maybe not what you are looking for. 16:21:07 ah these area pretty cool examples! 16:22:38 ill admit i was rather hoping for examples of programs people use on a day to day basis written in forth, but these are pretty cool too 16:23:27 im particularly interested in things like interfacing with the rest of the system - how do forth programs do piping or system calls or interrupts or network access? 16:38:51 --- quit: john_cephalopoda (Ping timeout: 258 seconds) 16:52:22 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 17:03:42 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 17:04:50 hi 17:07:04 ghostyy: Generally (Historically) Speaking: Forth *is* "The System" - so it's inapplicable. Nowdays, many, many forths exist that are called "hosted" - and like the old saying goes: "You see one Forth - you've seen one forth." - they'' vary by host and implementation as well. 17:09:03 ahh, i see! 17:09:43 The bestselling 1986 computer game Starflight, from Electronic Arts, was written with a custom Forth.[4] 17:09:57 i tried looking at a bit of the released source code for this but there isnt much 17:10:08 iirc, gforth, pforth and pfe all provide methods to access the host and pipes, but it's been a few years since I looked. 17:26:25 --- quit: tabemann (Ping timeout: 248 seconds) 17:42:43 ghostyy: also in retro, so non-standard, see http://forth.works/examples/index.html for some more examples (incliding a few using pipes) 17:53:14 --- join: tabemann (~tabemann@rrcs-162-155-170-75.central.biz.rr.com) joined #forth 18:30:44 ghostyy: My first useful forth project was a remote sensing network for wild cranberry bogs using amforth http://amforth.sourceforge.net/Projects/index.html 18:32:23 whoa 18:32:27 thats seriously cool! 18:46:30 --- quit: chunkypuffs (Quit: ZNC 1.7.1 - https://znc.in) 18:48:00 ...collect water level and temperature data periodically from small nodes running amforth and then send it to a gboard https://www.itead.cc/gboard.html with a gsm/gprs sim900 cell phone radio also running amforth. That goes back to a desktop pc with a gsm dongle. 18:48:00 The forthers in the Russian roboforum helped a lot with the forth code for the radios http://roboforum.ru/forum58/topic4406-180.html 18:48:00 I was still new to forth and electronics at the time, but by using forth I had to write some things from scratch and I think I learned a lot more than if I had used arduino ide where all the libraries already exist. Consequently I found lots of things to pick on and try to improve. My journey into the world of electronics snowballed from there. 18:48:35 --- join: chunkypuffs (~chunkypuf@2a01:4f9:2b:16d5::1) joined #forth 18:50:08 Arduino is one of those things you wish you could hate.. Generally the code is gawdawful, half-assed c++.. Shit that doesn't come with C and a makefile is silly. 18:50:48 Admittedly, avr-gcc does some of the ugliest C->asm you'll ever see 18:52:53 The other night I was trying to see wtf .s would be generated from some simple, neat .c - it was a nightmare of reloads of registers.. So, I rewrote the nice, clean C to the nastiest oneliner I could - that boiled down to the 4 or 5 lines of asm I expected.. Go figure. 19:49:27 --- join: [1]MrMobius (~default@c-73-134-82-217.hsd1.va.comcast.net) joined #forth 19:52:05 --- quit: MrMobius (Ping timeout: 244 seconds) 19:52:05 --- nick: [1]MrMobius -> MrMobius 20:06:38 --- quit: tabemann (Read error: Connection reset by peer) 20:19:17 --- quit: Lord_Nightmare (Quit: ZNC - http://znc.in) 20:20:09 --- join: tabemann (~tabemann@172-13-49-137.lightspeed.milwwi.sbcglobal.net) joined #forth 20:21:50 --- join: Lord_Nightmare (Lord_Night@unaffiliated/lordnlptp) joined #forth 20:31:39 --- quit: dave0 (Quit: dave's not here) 20:32:22 --- join: gravicappa (~gravicapp@h109-187-22-102.dyn.bashtel.ru) joined #forth 20:56:24 I just created an implementation of Life that uses sixels 20:59:19 it has two downsides, i.e. 1) it is slow, 2) the entire world exists onscreen, and each cell takes up one pixel, so things like glider guns are tiny 21:33:41 --- quit: chunkypuffs (Quit: ZNC 1.7.1 - https://znc.in) 21:34:13 --- join: chunkypuffs (~chunkypuf@2a01:4f9:2b:16d5::1) joined #forth 21:34:55 Surely that latter one has a pretty basic solution? 21:55:19 --- quit: dddddd (Remote host closed the connection) 23:48:21 --- quit: rann (Read error: Connection reset by peer) 23:48:28 --- quit: pointfree (Write error: Connection reset by peer) 23:48:52 --- join: rann (sid175221@gateway/web/irccloud.com/x-upfbhrhutunrbdbl) joined #forth 23:49:08 --- join: pointfree (sid204397@gateway/web/irccloud.com/x-rilifroshvunxekw) joined #forth 23:59:59 --- log: ended forth/19.05.19