00:00:00 --- log: started forth/19.07.16 00:06:59 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 00:09:37 --- join: xek (~xek@apn-31-0-23-202.dynamic.gprs.plus.pl) joined #forth 00:28:02 --- join: gravicappa (~gravicapp@h109-187-56-171.dyn.bashtel.ru) joined #forth 01:30:39 --- quit: malyn (Quit: "") 01:32:03 --- join: malyn (~malyn@unaffiliated/malyn) joined #forth 03:54:34 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 05:25:07 --- quit: dave0 (Quit: dave's not here) 05:46:10 --- quit: rdrop-exit (Quit: Lost terminal) 06:34:09 --- quit: jedb (Ping timeout: 245 seconds) 06:45:48 --- join: jedb (~jedb@185.128.24.51) joined #forth 07:11:15 --- quit: proteusguy (Read error: Connection reset by peer) 07:20:25 --- join: louisg (~louisg@x-160-94-179-187.acm.umn.edu) joined #forth 07:49:53 --- quit: tabemann (Ping timeout: 250 seconds) 10:05:05 --- join: dys (~dys@b2b-94-79-136-46.unitymedia.biz) joined #forth 11:37:07 hmm 11:37:34 I think it might have been easier for bootstrapping this forth if I had made word creation code words from the beginning 11:38:03 since things like bootstrapping searching the dictionary is a code word already 11:50:09 --- quit: reepca (Remote host closed the connection) 12:12:58 --- quit: gravicappa (Ping timeout: 244 seconds) 13:49:33 the clog logs are working again 13:51:20 if you were going to pass an argument first to a function in a language like C, would you push it on the stack in forth first or last 13:51:32 (I know either way works, just asking about preference) 13:55:50 like every language ive used so far that has a command to get part of a string passes the string first, then starting place, then length 13:56:11 they could come in any order but that feels natural for humans for some reason 14:09:59 --- quit: dys (Ping timeout: 245 seconds) 14:12:40 i think it's mostly a matter of convention, rather than something more deeply rooted in human nature 14:16:02 could be 14:16:16 I was just curious what feels natural in forth 14:16:26 would you push the string first? 14:17:33 typically I follow "VAL order", Value Address Length; e.g. TYPE takes an addr and a len, so it takes them in that order; ! takes a value and addr, so it takes them in that order, MEMSET takes value addr len in that order 14:17:34 i'd look at what are the arguments that are varied more, and place those further away from the top of stack (i.e. push them first). this allows currying 15:03:04 --- quit: xek (Ping timeout: 248 seconds) 15:21:08 --- quit: jedb (Ping timeout: 272 seconds) 15:21:54 --- join: jedb (~jedb@185.128.24.51) joined #forth 15:49:40 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 15:50:14 hi 15:50:55 hi dave0 15:51:05 hi crc 15:52:04 MrMobius: it depends on how you're handling strings.. a lot of people use counted strings, so on the stack it's always almost: addr len word 15:55:32 hmmm 15:58:11 so.. I've got this ITC forth running in RAM.. but now I want to compile to flash 15:58:46 I think I need to do some intermediate compilation to RAM with all addresses what they would be in flash, and then I need to write them page by page into flash 15:59:16 I guess I'd need to make here return the ultimate runtime flash location 16:00:04 immediates are going to cause pain 16:08:59 --- quit: remexre (Ping timeout: 246 seconds) 16:09:57 --- quit: louisg (Ping timeout: 268 seconds) 16:23:09 --- join: louisg (~louisg@x-160-94-179-187.acm.umn.edu) joined #forth 16:23:48 --- join: remexre (~nathan@x-160-94-179-186.acm.umn.edu) joined #forth 16:43:12 --- join: jedb_ (~jedb@123.208.27.189) joined #forth 16:43:38 --- quit: jedb (Ping timeout: 246 seconds) 16:44:20 --- join: jedb__ (~jedb@185.128.24.51) joined #forth 16:47:19 --- quit: jedb_ (Ping timeout: 244 seconds) 16:56:08 --- quit: jedb__ (Ping timeout: 248 seconds) 16:57:01 --- join: jedb (~jedb@123.208.27.189) joined #forth 16:58:34 ok, I guess a way to make this work is to have a runtime-here and a here, and flush the new word definitions to flash 16:58:48 --- join: jedb_ (~jedb@103.254.153.113) joined #forth 17:01:42 --- quit: jedb (Ping timeout: 258 seconds) 17:02:32 --- quit: john_cephalopoda (Ping timeout: 276 seconds) 17:03:45 --- quit: jedb_ (Ping timeout: 245 seconds) 17:05:07 --- join: jedb (~jedb@103.254.153.113) joined #forth 17:15:03 --- join: jedb_ (~jedb@123.208.27.189) joined #forth 17:15:46 --- quit: jedb (Ping timeout: 272 seconds) 17:15:59 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 17:17:51 --- join: jedb__ (~jedb@103.254.153.113) joined #forth 17:20:50 --- quit: jedb_ (Ping timeout: 272 seconds) 17:22:49 --- join: jedb_ (~jedb@185.128.24.51) joined #forth 17:25:33 --- quit: jedb__ (Ping timeout: 244 seconds) 17:33:07 --- join: jedb (~jedb@103.254.153.113) joined #forth 17:34:32 --- quit: jedb_ (Ping timeout: 248 seconds) 17:34:59 --- quit: remexre (Ping timeout: 245 seconds) 17:37:09 --- join: remexre (~nathan@x-160-94-179-186.acm.umn.edu) joined #forth 17:55:45 --- join: jedb_ (~jedb@123.208.27.189) joined #forth 17:56:05 --- quit: jedb (Ping timeout: 246 seconds) 17:57:49 --- join: jedb__ (~jedb@185.128.24.51) joined #forth 17:58:41 --- join: tabemann (~tabemann@2600:1700:7990:24e0:7855:183:6093:5a2a) joined #forth 18:00:57 --- quit: jedb_ (Ping timeout: 268 seconds) 18:14:09 --- quit: jedb__ (Ping timeout: 245 seconds) 18:14:33 --- join: jedb (~jedb@123.208.27.189) joined #forth 18:19:53 --- join: jedb_ (~jedb@123.208.27.217) joined #forth 18:21:38 --- quit: jedb (Ping timeout: 272 seconds) 18:22:14 --- join: jedb__ (~jedb@123.208.27.27) joined #forth 18:25:12 --- quit: jedb_ (Ping timeout: 248 seconds) 18:26:19 --- join: jedb_ (~jedb@185.128.24.51) joined #forth 18:29:52 --- quit: jedb__ (Ping timeout: 272 seconds) 18:33:23 --- join: jedb (~jedb@123.208.27.27) joined #forth 18:35:34 --- quit: jedb_ (Ping timeout: 272 seconds) 18:40:45 --- quit: dave0 (Quit: dave's not here) 18:45:45 --- join: jedb_ (~jedb@123.208.27.27) joined #forth 18:47:36 --- quit: jedb (Ping timeout: 272 seconds) 19:10:49 --- join: jedb__ (~jedb@185.128.24.51) joined #forth 19:11:59 --- join: tabemann_ (~tabemann@172-13-49-137.lightspeed.milwwi.sbcglobal.net) joined #forth 19:12:32 --- quit: tabemann (Ping timeout: 276 seconds) 19:13:34 --- quit: jedb_ (Ping timeout: 258 seconds) 19:43:33 --- nick: jedb__ -> jedb 19:51:56 --- quit: dddddd (Remote host closed the connection) 20:50:19 --- join: gravicappa (~gravicapp@h109-187-56-171.dyn.bashtel.ru) joined #forth 21:14:51 --- quit: DKordic (Quit: ERC Version 5.3 (IRC client for Emacs)) 21:56:25 --- quit: cantstanya (Remote host closed the connection) 21:58:53 --- join: cantstanya (~chatting@gateway/tor-sasl/cantstanya) joined #forth 23:41:26 --- join: proteusguy (~proteusgu@mx-ll-14.207.102-89.dynamic.3bb.co.th) joined #forth 23:41:26 --- mode: ChanServ set +v proteusguy 23:59:59 --- log: ended forth/19.07.16