00:00:00 --- log: started forth/18.07.06 00:12:36 --- join: dave9 (~dave@207.213.dsl.syd.iprimus.net.au) joined #forth 00:13:16 re 00:14:03 --- quit: pierpal (Ping timeout: 256 seconds) 00:14:44 --- quit: dys (Ping timeout: 256 seconds) 00:30:58 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 00:35:27 --- quit: pierpal (Ping timeout: 256 seconds) 00:37:07 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 00:41:18 --- quit: pierpal (Ping timeout: 240 seconds) 00:44:09 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 00:46:44 --- quit: pierpal (Read error: Connection reset by peer) 00:51:04 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 01:00:04 --- quit: pierpal (Ping timeout: 256 seconds) 01:02:03 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 01:05:47 --- quit: pierpal (Read error: Connection reset by peer) 01:12:28 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 01:15:00 --- quit: pierpal (Read error: Connection reset by peer) 01:15:19 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 01:21:09 --- quit: pierpal (Read error: Connection reset by peer) 01:21:20 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 01:25:47 --- quit: pierpal (Ping timeout: 268 seconds) 01:28:16 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 02:16:06 --- quit: nighty-- (Quit: Disappears in a puff of smoke) 02:29:39 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 02:36:27 --- quit: pierpal (Read error: Connection reset by peer) 02:36:40 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 02:42:29 --- quit: pierpal (Read error: Connection reset by peer) 02:44:22 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 02:57:10 --- quit: pierpal (Ping timeout: 248 seconds) 03:00:04 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 03:09:33 --- join: Mat4 (~yaaic@x59cc896b.dyn.telefonica.de) joined #forth 03:16:12 --- quit: Mat4 (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 03:17:18 --- quit: pierpal (Ping timeout: 240 seconds) 03:22:17 --- quit: Keshl (Read error: Connection reset by peer) 03:22:17 --- join: Keshl_ (~Purple@24.115.185.149.res-cmts.gld.ptd.net) joined #forth 03:22:17 --- nick: Keshl_ -> Keshl 03:54:49 hello everyone! 03:55:11 i am new to forth and was wondering if someone could help me out a bit. 03:57:38 --- quit: wa5qjh (Remote host closed the connection) 04:00:34 perhaps ;-) as a starter: http://catb.org/~esr/faqs/smart-questions.html :-p 04:00:41 hey 04:03:16 --- join: wa5qjh (~quassel@175.158.225.204) joined #forth 04:03:16 --- quit: wa5qjh (Changing host) 04:03:16 --- join: wa5qjh (~quassel@freebsd/user/wa5qjh) joined #forth 04:05:00 aceruser: welcome, and all that 04:05:28 thanks 04:06:01 i am trying this simple construct in gforth: : Hi ."Hello World!"; 04:06:08 only one colon 04:06:14 and it gives me errors 04:06:51 does it tell you that it doesn't know ."Hello World!"; ? 04:07:04 jackandiel: is that link for me. I will check thanks. 04:08:12 aceruser: yes. I've posted it because it is a worthwhile read (and since you've asked if you could ask something I've assumed you don't know the "do not ask to ask" trivia :-) 04:08:35 it says undefined word on Hello. 04:08:44 thanks 04:09:24 aceruser: you need to put space between ." and "Hello" 04:09:36 : hi ." Hello world!" ; 04:10:29 still the same error 04:10:36 i put space this time. 04:12:27 I've typed manually the snippet above (the one I've written) in gforth and it worked for me 04:12:35 try to find the difference, that is probably the cuase 04:13:26 i tried the one you posted but it gave me error. i compiled gforth separately too from the source code apart from the standard apt installation. 04:13:31 both give me errors. 04:14:07 mind sharing a screenshot? 04:14:24 ok i will send one. where should i post? 04:14:41 it doesn't matter, just link it here 04:16:11 ok but where should i put it up? somewhere like pastebin? 04:17:03 imgur is a frequent choice. idk, I have my own server for pasting my stuff. 04:17:28 ok ill check imgur 04:17:33 pastebin is fine too 04:17:41 if you copy terminal output verbatim 04:19:40 https://imgur.com/K1Wfjq3 04:20:08 I see no spaces in there 04:20:13 tokens must be separated by spaces 04:20:33 :."Hello world!"; 04:21:13 you did ."Hello world!" in one of your attempts 04:21:32 that's why I've suggested to examine differences between your typed string and mine ;-) 04:21:54 ok so space before the semicolon too? 04:22:22 yes 04:22:28 i get the same error with spaces this time 04:23:03 it also says compiler-notfound1 04:23:07 try copying this string to your terminal and see if it works. if it doesn't, then something is fishy, if it does, then you haven't examined differences properly 04:23:20 : hi ." Hello world" ; 04:24:11 it works thanks. space issue. 04:24:16 thanks so much. 04:24:28 sorry for the naive question. 04:25:00 sure 04:25:13 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 04:25:13 --- join: [1]MrMobius (~default@c-73-134-82-217.hsd1.va.comcast.net) joined #forth 04:28:19 --- quit: MrMobius (Ping timeout: 268 seconds) 04:28:20 --- nick: [1]MrMobius -> MrMobius 04:28:47 --- quit: pierpal (Client Quit) 04:31:36 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 04:35:55 --- quit: pierpal (Ping timeout: 260 seconds) 04:55:36 --- join: ncv (~neceve@2a02:c7d:c5c9:a900:6eaf:6ef7:3b81:d5f6) joined #forth 04:55:36 --- quit: ncv (Changing host) 04:55:36 --- join: ncv (~neceve@unaffiliated/neceve) joined #forth 05:02:42 --- quit: aceruser (Ping timeout: 265 seconds) 05:12:19 --- quit: wa5qjh (Remote host closed the connection) 05:56:54 --- quit: tusj (Ping timeout: 248 seconds) 06:08:44 --- join: tusj (~tusj@185.176.244.72) joined #forth 06:16:24 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 06:31:11 --- quit: pierpal (Ping timeout: 260 seconds) 06:58:42 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 07:24:50 --- quit: dave9 (Quit: one love) 07:26:27 --- quit: epony (Quit: QUIT) 07:32:56 --- join: epony (~nym@77-85-141-166.ip.btc-net.bg) joined #forth 07:51:55 --- quit: tadni_ (Remote host closed the connection) 07:57:42 hmmmm, more naming dilemmas. forth gives me way too much freedom, I end up spending an eternity making decisions on stuff like this 07:59:08 so I have a structure notation that looks something like this: : { : field ; : field ; : offset ; } ; 08:00:28 becomes a special vocabulary that pushes itself onto the search order stack, and then the words defined inside of it pop it off after they execute or compile themselves 08:01:07 so, for example, : foo { : bar cell field ; : baz cell field ; : size offset ; } 08:01:50 now "baz" is an undefined word, but "foo baz" adds the size of a cell to TOS 08:02:33 the problem is (similar to the other day) name collisions: you might want to define a foo structure, but then also have a defining word "foo" for creating foo variables 08:02:56 so I was experimenting with stuff like this: : foo. { : bar field ; ... } so you'd use "foo. bar" 08:03:35 zy]x[yz: that is starting to look suspictiously like Ecmascript 08:03:36 but I'm really not crazy about that. then I started trying stuff like this: : foo[ { : bar] cell field ; ... } so you'd use "foo[ bar]" 08:04:00 never seen it 08:04:10 oh, javascript 08:04:25 I'm not a javascript person 08:04:59 anyway I think I've narrowed it down to either "foo[ bar]" or "(foo bar)" 08:05:22 I kind of like the latter because it sort of reads nicely, with the whole thing encapsulated 08:08:27 zy]x[yz: Is there any way you can make use of hyperstatic scoping instead of explicit global namespacing? 08:08:53 I'm not sure what you mean. I think I am making use of hyperstatic scoping 08:14:50 zy]x[yz: ( So do you want to allow: ) foo foo ( where the first foo is the structure and the second is a variable?) 08:15:14 it's not a variable, it's an offset adjustment 08:15:22 right 08:15:32 but yes you can do that 08:18:26 --- quit: Zarutian (Read error: Connection reset by peer) 08:23:09 --- join: tadni (~tadni@71-11-142-172.dhcp.stls.mo.charter.com) joined #forth 08:23:36 --- join: tadni_ (~tadni@71-11-142-172.dhcp.stls.mo.charter.com) joined #forth 08:30:05 --- quit: tadni (Read error: Connection reset by peer) 08:30:06 --- quit: tadni_ (Read error: Connection reset by peer) 08:30:10 --- join: Zarutian (~zarutian@173-133-17-89.fiber.hringdu.is) joined #forth 08:34:02 zy]x[yz: I've been experimenting with something similar. Giving a string of words a meaning in addition to the semantics from the constituent concatentated words -- without any of the typical traffic through the parameter stack to do it. 08:34:15 ( A common annoyance for me is interfacing words that more or less do the same thing but were factored out of slightly incompatible contexts. Like: ) 1 lshift ( vs) 1 swap lshift 08:39:35 maybe this is a better example of all of the naming collisions I've been whining about for the past few days: https://gist.github.com/cmtptr/12b14e6f32f61b91a4b6e0bc6e24755c 08:40:01 (and maybe you'll see that and immediately vomit and tell me why I'm forthing all wrong!) 08:47:47 I guess one way to have word names with forth in them is have the hyperstatic scope relative to the last matching word instead of relative to LATEST dictionary entry. Then just circle around or reset LATEST when done with the definition. 08:47:49 zy]x[yz: reading... 11:02:34 --- join: tadni (~tadni@71-11-142-172.dhcp.stls.mo.charter.com) joined #forth 11:04:15 --- quit: tadni (Max SendQ exceeded) 11:05:10 --- join: tadni (~tadni@71-11-142-172.dhcp.stls.mo.charter.com) joined #forth 11:13:56 --- quit: tadni (Ping timeout: 240 seconds) 11:14:42 --- join: tadni (~tadni@71-11-142-172.dhcp.stls.mo.charter.com) joined #forth 11:16:51 --- quit: tadni (Remote host closed the connection) 12:12:19 --- join: reepca` (~user@208.89.170.250) joined #forth 12:43:44 --- quit: pierpal (Quit: Poof) 12:44:05 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 12:59:34 --- join: backer (~backer@accordion.employees.org) joined #forth 13:07:33 --- join: dys (~dys@tmo-108-71.customers.d1-online.com) joined #forth 13:22:16 why does my software have bugs 13:22:20 this is not supposed to happen 13:36:10 you are making some assumptions that you do not know that you are making 13:47:30 I would assume not!! 13:51:28 very presumptious of you 15:04:48 --- quit: dys (Ping timeout: 240 seconds) 15:10:14 --- quit: epony (Quit: QUIT) 15:17:36 --- join: wa5qjh (~quassel@175.158.225.209) joined #forth 15:17:36 --- quit: wa5qjh (Changing host) 15:17:37 --- join: wa5qjh (~quassel@freebsd/user/wa5qjh) joined #forth 15:36:48 if your software has bugs, ever, you might as well quit programming 15:37:36 I've only ever written 8 lines of bug-free code, but I've only ever written 8 lines of code, so I'm 100% bug-free 15:37:40 You should try it 15:49:18 I hadn't considered just not writing the bugs 16:00:27 --- join: epony (~nym@77-85-141-166.ip.btc-net.bg) joined #forth 16:02:41 --- quit: pierpal (Ping timeout: 260 seconds) 16:14:47 --- quit: jedb (Remote host closed the connection) 16:15:00 --- join: jedb (~jedb@199.66.90.209) joined #forth 16:18:38 saves so much timer debugging 16:18:48 basically all of it 16:19:03 tell your boss you're debugging and watch YouTube 16:44:16 --- join: pierpal (~pierpal@95.234.60.234) joined #forth 17:03:11 --- quit: wa5qjh (Remote host closed the connection) 17:09:58 --- quit: dddddd (Remote host closed the connection) 17:10:29 --- join: wa5qjh (~quassel@175.158.225.209) joined #forth 17:10:29 --- quit: wa5qjh (Changing host) 17:10:29 --- join: wa5qjh (~quassel@freebsd/user/wa5qjh) joined #forth 17:21:19 --- join: dave9 (~dave@207.213.dsl.syd.iprimus.net.au) joined #forth 17:21:40 hi 17:26:40 good evening 17:30:57 hi crc 17:38:51 * crc works on interface stuff (an iOS interface modeled after retro's 'ri' curses based ui) and a block editor 18:05:06 --- quit: epony (Quit: QUIT) 18:44:01 --- quit: ncv (Ping timeout: 256 seconds) 19:07:19 --- quit: fiddlerwoaroof (Ping timeout: 264 seconds) 19:56:31 --- quit: wa5qjh (Ping timeout: 264 seconds) 20:54:55 --- quit: Keshl (Quit: Konversation terminated!) 21:02:32 --- join: Keshl (~Purple@24.115.185.149.res-cmts.gld.ptd.net) joined #forth 21:46:21 --- quit: dave9 (Quit: one love) 22:02:49 --- join: dys (~dys@tmo-103-125.customers.d1-online.com) joined #forth 22:52:17 --- quit: djinni (Quit: Leaving) 23:03:40 --- join: djinni (~djinni@68.ip-149-56-14.net) joined #forth 23:43:13 --- join: dave9 (~dave@207.213.dsl.syd.iprimus.net.au) joined #forth 23:59:59 --- log: ended forth/18.07.06