00:00:00 --- log: started forth/13.07.24 00:51:17 --- join: lazyden (~lazyden@178-136-187-236.static.vega-ua.net) joined #forth 00:51:29 --- part: lazyden left #forth 01:29:54 --- join: Backer_ (~backer@user-387h39d.cable.mindspring.com) joined #forth 01:30:00 --- join: regnirps_ (~regnirpsM@c-24-18-172-212.hsd1.wa.comcast.net) joined #forth 01:30:18 --- quit: regnirps (Ping timeout: 240 seconds) 01:30:20 --- quit: Backer (Ping timeout: 240 seconds) 01:30:23 --- nick: regnirps_ -> regnirps 01:49:25 --- join: true-grue (~quassel@95-27-22-52.broadband.corbina.ru) joined #forth 01:55:25 --- quit: Eth|cal (Ping timeout: 246 seconds) 02:07:48 --- join: Eth|cal (~sam@ppp59-167-172-238.static.internode.on.net) joined #forth 02:19:40 --- quit: Anarch (Ping timeout: 264 seconds) 02:31:20 --- quit: kludge` (Ping timeout: 245 seconds) 02:37:50 --- quit: Kumul (Quit: Divided by 0) 02:43:42 --- join: kludge` (~comet@unaffiliated/espiral) joined #forth 02:48:33 --- quit: spoofer3 (Ping timeout: 264 seconds) 03:23:10 --- quit: cataska (Remote host closed the connection) 03:36:45 --- join: cataska (~cataska@210.64.6.233) joined #forth 04:54:07 i really like this guy's blog 04:54:07 http://web.archive.org/web/20120930010619/http://www.falvotech.com/blog2/blog.fs/articles/1022 04:54:56 not sure where the site went. been trying to find his discussion of writing an editor for ages but couldn't remember what it was called. 04:58:10 thanks for sharing! 04:58:34 you're welcome. :) 04:58:43 this is the actual article i was looking for: http://web.archive.org/web/20120930010647/http://www.falvotech.com/blog2/blog.fs/articles/1049 05:02:13 --- join: Anarch (~olaf@c-67-183-64-49.hsd1.wa.comcast.net) joined #forth 05:02:27 Ugh. TDD fanatic. :( 05:02:35 http://www.forthfreak.net/index.cgi?SamuelFalvo 05:03:57 screen editors are suprisingly simple 05:04:13 I spent an afternoon reading gforth's the other week 05:04:18 yeah.. retro has a really tiny one.. i was trying to make it dvorak friendly a while back :) 05:04:46 Screen editors are easy to make, difficult to make good. 05:04:53 ah retro... I've implemented an ngaro vm in scheme once 05:05:14 oh yeah? is it in the repo? 05:05:22 I think so 05:05:40 i ported it to pascal but i haven't gotten it commited there yet. 05:06:40 charles surely changes VCS faster than I do with my undies 05:06:41 ;; Ngaro VM in Scheme (R5RS) 05:06:42 ;; Copyright (c) 2011, Christian Kellermann 05:06:44 ;; Build using Chicken Scheme (4.7.0): 05:06:50 that one? 05:06:51 that's the one 05:07:24 it is pretty simple, maybe too simple and does not implement all of the port commands 05:11:08 i wrote a test suite in python to test ngare implementations. right now i think it only tests the c,python,and pascal ones 05:11:26 oh and js 05:11:40 but at some point i intended to go through and get all the contributed implementations under test 05:12:19 --- join: lazyden (~lazyden@178-136-187-236.static.vega-ua.net) joined #forth 05:12:24 --- part: lazyden left #forth 05:13:20 --- join: fantazo (~fantazo@213.129.230.10) joined #forth 05:18:06 --- quit: C-Keen (Quit: WeeChat 0.3.8) 05:18:16 --- join: C-Keen (cckeen@pestilenz.org) joined #forth 05:18:34 --- quit: C-Keen (Client Quit) 05:19:46 --- join: C-Keen (cckeen@pestilenz.org) joined #forth 05:23:36 --- quit: C-Keen (Client Quit) 05:34:12 --- join: josvuk (~josef@pD9ED6EAE.dip0.t-ipconnect.de) joined #forth 05:34:29 Hello, 05:35:08 Hm, why insnt't there forget in gforth? 05:35:23 because it's uncool 05:38:06 hm how to execute words before recompilation the cool way ? 05:39:27 you can probably just implement forget yourself. 05:39:49 at least if the dictionary is still a linked lis.t 05:42:37 hm, ehm ... ok bye ... 05:48:14 --- join: C-Keen (cckeen@pestilenz.org) joined #forth 05:54:19 --- quit: segher (Ping timeout: 248 seconds) 05:59:30 --- join: msmith (~msmit297@23.31.147.162) joined #forth 06:03:26 hi all, I trying to write a networked Forth application using gforth. I understand gforth has words for using pipes but the other portion of the application uses TCP sockets so I'm not sure if I can mix the two, or if I need to write my one socket words. can someone help me to understand gforth's pipe/socket support? 06:10:45 tangentstorm: you could have just pointed him to markers 06:12:10 msmith: you could have a look at the httpd.fs included in gforth. which uses sockets as far as i know. it just grabs the c-functions and adds a bit of "fluff" around it. 06:12:36 fantazo: ok, will do 06:18:34 fantazo: one of the things that is not clear to me is the creation of Forth words from C functions. How is this done? from looking at httpd.fs I don't see any "raw" C code 06:19:38 I know gforth is written in C, I'm talking about addition words 06:24:41 --- join: RodgerTheGreat (~rodger@c-98-202-115-133.hsd1.ut.comcast.net) joined #forth 06:27:02 fantazo: I see gforth has a sockets.fs as well 06:27:31 I've done that in pforth but not gforth. In pforth there's a "pattern" you follow when you write your glue code. 06:34:38 for anyone interested, this link describes what I was asking about http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Declaring-C-Functions.html 06:39:15 --- join: segher (~segher@5ED3C8DF.cm-7-4d.dynamic.ziggo.nl) joined #forth 06:48:00 another question, has anyone had any experience with multi-threading in forth 06:48:55 ? 06:50:41 --- quit: Anarch (Ping timeout: 246 seconds) 06:51:03 Only non-preemptive. 06:51:46 --- quit: sirdancealot (Ping timeout: 240 seconds) 06:53:58 --- join: sirdancealot (~sirdancea@98.82.broadband5.iol.cz) joined #forth 07:14:07 Same here - cooperative multi-threading only. 07:22:18 msmith: nope. but I think the devs of gforth are planning(?) to implement that. 07:22:24 I guess if I'm going to write an application with multi-threading and not use iforth, my best bet would be to do the multi-threading in something like c++ and have one of the worker threads feed the data into a pipe. because if I write a socket application, in pure forth, I don't want it to block until the latest instruction is executed 07:23:10 am I wrong in thinking that iforth won't work on amds? 07:24:00 --- join: spoofer3 (~spoofer3@2600:100f:b107:781b:ae8a:4f5f:cf6f:af66) joined #forth 07:24:58 I would really like to implement finally something useful in forth. In the last couple of years I just tried to get a nice abstraction layer up. So strictly speaking not following the "forth way" of building abstractions each time from the bottom up to fit the specific problem. 07:26:23 also the library situation of forth is just embarassing and frustrating. 07:27:51 why aren't command line options recognised on each forth interpreter? I mean standardizing something like argc, argv from C should be doable for forth. 07:33:44 I just feel a little nauseous every time I think of Forth in the context of an external operating system. Forth is supposed to *be* the operating system. 07:34:11 I play with Forth on Windows and Linux systems, but I *use* Forth in embedded environments, where it runs the whole show. 07:34:57 So the fact that most Forths don't do command line fu has really never struck me as a shortcoming. 07:38:05 KipIngram: yes, if you do embedded. I don't. And infact I don't see that forth is strong in embedded. Maybe I'm missing something, which could be based on my lack of knowledge of commercial forth vendors forth systems. 07:39:30 I really like the language but I dislike some shortcomings of it. Factor is a nice try but feels not good. 09:11:46 --- quit: sirdancealot (Ping timeout: 240 seconds) 09:17:07 --- join: sirdancealot (~sirdancea@98.82.broadband5.iol.cz) joined #forth 09:25:55 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 09:38:10 --- join: Kumul (~nmz@adsl-64-237-238-125.prtc.net) joined #forth 09:42:12 --- quit: fantazo (Remote host closed the connection) 10:37:58 --- join: Mat2 (~claude@91-65-144-133-dynip.superkabel.de) joined #forth 10:38:00 hi 10:53:55 --- part: msmith left #forth 11:41:48 --- quit: C-Keen (Quit: WeeChat 0.3.8) 11:43:03 --- join: C-Keen (cckeen@pestilenz.org) joined #forth 11:43:03 --- quit: C-Keen (Client Quit) 12:19:56 --- quit: ncv (Remote host closed the connection) 12:20:01 --- join: C-Keen (cckeen@pestilenz.org) joined #forth 12:22:23 --- join: ncv (~quassel@79.114.115.190) joined #forth 12:22:30 --- quit: ncv (Changing host) 12:22:30 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 12:26:21 now that people mentioned... how the multitasking is used in gforth? there is multitasker.fs in library 12:36:35 --- join: ColdBear (~obi@138.124.79.82) joined #forth 12:44:47 --- quit: spoofer3 (Remote host closed the connection) 13:04:02 --- quit: true-grue (Read error: Connection reset by peer) 13:09:41 Vuokko: I do not use gforth, sorry. Probably it is best to ask the authors 13:10:33 write them an e-mail 13:13:50 --- quit: jevin (Quit: Textual IRC Client: www.textualapp.com) 13:17:18 https://lists.gnu.org/archive/html/gforth/2013-07/msg00003.html 13:19:41 --- quit: josvuk (Quit: Konversation terminated!) 13:34:03 --- quit: goingretro (Ping timeout: 248 seconds) 13:36:55 --- quit: ColdBear (Ping timeout: 240 seconds) 13:37:12 --- join: ColdBear (~obi@138.124.79.82) joined #forth 13:39:18 --- join: spoofer3 (~spoofer3@2600:100f:b107:781b:ae8a:4f5f:cf6f:af66) joined #forth 13:57:06 ciao 13:57:09 --- quit: Mat2 (Quit: Verlassend) 14:00:57 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 14:04:56 --- quit: spoofer3 (Ping timeout: 245 seconds) 14:14:38 --- quit: ColdBear (Ping timeout: 276 seconds) 14:36:02 /who/na 14:46:47 --- join: RikusW (~rikus@105-237-59-236.access.mtnbusiness.co.za) joined #forth 15:24:27 --- part: RikusW left #forth 15:58:40 --- quit: Tod-Work (Quit: Leaving) 16:09:06 --- quit: ncv (Remote host closed the connection) 16:41:05 --- quit: Xark (Ping timeout: 240 seconds) 16:45:20 --- join: Xark (~Xark@minasambiente.com.br) joined #forth 17:38:50 hm. Where's dot when you need him? 17:38:53 *dto 17:39:02 accursed spelling correction 18:23:17 --- join: Anarch (~olaf@c-67-183-64-49.hsd1.wa.comcast.net) joined #forth 19:07:14 --- join: spoofer3 (~spoofer3@2600:100f:b107:781b:c2d:196:cadf:fe70) joined #forth 19:44:21 --- quit: Xark (Changing host) 19:44:21 --- join: Xark (~Xark@unaffiliated/xark) joined #forth 19:54:09 --- join: overdamped (~overdampe@unaffiliated/overdamped) joined #forth 20:21:24 --- quit: Nisstyre (Quit: Leaving) 20:33:19 --- quit: cataska (Remote host closed the connection) 20:34:51 --- join: cataska (~cataska@210.64.6.233) joined #forth 20:35:47 --- quit: overdamped (Ping timeout: 269 seconds) 20:38:16 --- join: barglfargl (~barglfarg@24-197-167-134.dhcp.gwnt.ga.charter.com) joined #forth 21:06:28 probably out mining pixels and arranging his parentheses. 21:06:48 lol 21:16:11 : FORTH ( heart flag --- ) LOVE IF HONK THEN ; 21:19:13 HONK 21:28:52 regnirps: it's good style to terminate predicates with a question mark 21:47:02 --- quit: Kumul (Ping timeout: 276 seconds) 22:20:29 I wonder if that was on the original bumper sticker? I think it FIG days it would have been 22:21:06 : FORTH ?LOVE IF HONK THEN ; 22:21:47 ?LOVE would be like ?KEY and go check something. 22:28:16 --- quit: barglfargl (Quit: Leaving) 22:44:20 --- join: lyn__ (6c5a299c@gateway/web/freenode/ip.108.90.41.156) joined #forth 22:44:23 * Xark doesn't get it "error: expected unqualified-id before ‘:’ token" :) 23:02:37 --- quit: lyn__ (Quit: Page closed) 23:28:59 An error?In FIG Forth? 23:41:35 --- quit: RodgerTheGreat (Quit: RodgerTheGreat) 23:59:59 --- log: ended forth/13.07.24