00:00:00 --- log: started retro/10.03.25 00:37:59 --- quit: crc (Ping timeout: 260 seconds) 00:47:38 --- join: crc (~charlesch@71.23.210.149) joined #retro 04:34:56 --- join: fwiffo (~fwiffo@unaffiliated/fwiffo) joined #retro 05:32:58 --- join: ARM9 (~ARM9@70-153.umenet.t3.se) joined #retro 05:33:08 --- part: ARM9 left #retro 06:14:17 http://www.forthcommunity.com/forum/viewtopic.php?f=4&t=27&p=82#p82 06:14:25 a word to view contents of a .vocab 06:54:45 --- quit: virl (Remote host closed the connection) 07:25:21 --- quit: fwiffo (Read error: Connection reset by peer) 07:25:57 --- join: fwiffo (~fwiffo@unaffiliated/fwiffo) joined #retro 13:02:06 --- quit: fwiffo (Quit: Lost terminal) 14:04:25 --- join: virl (~virl__@chello062178085149.1.12.vie.surfer.at) joined #retro 14:34:11 --- join: Mat2 (~4d177c03@gateway/web/freenode/x-wkhamsrzucwqbbhe) joined #retro 14:34:25 hello 14:58:32 cioa 14:58:34 ciao 14:58:38 --- quit: Mat2 (Quit: Page closed) 16:18:22 --- join: Florent (~TaPiOn@AMontsouris-156-1-163-224.w83-202.abo.wanadoo.fr) joined #retro 17:17:42 --- join: sixforty (~sixforty@pdpc/supporter/active/sixforty) joined #retro 17:27:33 --- quit: Florent (Ping timeout: 240 seconds) 17:29:27 good evening 17:40:46 hi, docl 17:43:50 hi sixforty 18:04:54 : to ` @ ' compiler @ if literal, then ` ! ; immediate 18:04:54 10 variable: a 18:04:54 variable b 18:04:54 : foo a to b ; 18:04:55 foo b @ . 18:09:29 * docl ponders using =: or some such 18:10:35 of course, infix is forth blasphemy :) 18:13:18 but it might be a good demo of state-smartness 18:13:38 : into ` @ ' compiler @ if literal, then ` ! ; immediate 18:13:38 : from ' compiler @ if literal, then ` @ ` swap ` ! ; immediate 18:13:38 10 variable: a 18:13:38 variable b 18:13:38 : foo a into b ; 18:13:40 : bar b from a ; 18:14:53 docl, that's the best idea I've heard since Bob and the Church of the SubGenius 18:15:41 :) 18:16:04 Who wouldn't want to at least look at the "blasphemy programming language"? (and google gives zip when searched for, so ... ) 18:16:13 actually both of those words turn waaay simpler if we use state smart version of ['] 18:16:18 : ['] ' compiler @ if literal, then ; 18:17:50 hmm, that doesn't quite work. 18:18:11 : ['] ` ' ` compiler ` @ ` if ` literal, ` then ; immediate 18:18:23 : into ` @ ['] ` ! ; immediate 18:18:23 : from ['] ` @ ` swap ` ! ; immediate 18:20:21 or 18:20:22 : ['] ' compiler @ if literal, then ; immediate 18:20:22 : into ` @ ` ['] ` ! ; immediate 18:20:23 : from ` ['] ` @ ` swap ` ! ; immediate 18:20:47 *much* cleaner 18:27:14 blasforth! 18:41:57 --- join: erider (~erider@unaffiliated/erider) joined #retro 18:42:22 hi 18:43:48 hi, erider 18:48:47 whats up sixforty 18:48:58 whats new 18:49:06 not much and not much 18:49:32 switched to vectorlinux 'cause I gave up on netbsd config 18:49:51 now entering third month of configuring veclinux 18:49:57 no chance to learn forth 18:50:10 good evening 18:50:54 evenin crc. 18:51:14 "stable" is still 1.4, or are you ready to say 1.5 for that? 18:51:19 hi crc 18:52:20 I'm trying to make t-' state smart but when I run make the ' word is unchanged 18:52:40 as of the current repo it's two parts: 18:52:43 cd image 18:52:45 make initial 18:52:45 make 18:53:29 hmm 18:53:36 still not seeing the change 18:53:55 do a diff for me please 18:54:51 sixforty, vertorlinux? 18:55:38 I removed scareware from a friend's computer today 18:55:44 erider: a slack-based distro 18:55:53 docl: I'd do: 18:55:55 That old security tool malware 18:55:58 : into ` @ ' .data ` ! ; immediate 18:55:58 : from ' .data ` @ ` swap ` ! ; immediate 18:56:29 sixforty, ah cool 18:56:40 is it little wieght? 18:57:40 erider: I'm gonna sit here and watch the real forth go by :P #vectorlinux if you're interested 18:58:08 trying to figure out how to do the diff 18:59:19 git diff 18:59:31 if you're following the git repo 18:59:58 it's not giving me anything when I try that 19:00:18 what files did you modify? 19:00:34 you can email or pastebin them, and I'll take a look 19:00:44 sixforty, nah I have two distros well three to play with 19:01:14 * sixforty nods 19:01:30 docl: try this: make initial 19:01:33 tail build.log 19:01:40 and pastebin the results 19:05:43 sixforty, are you learning retro or another flavor of forth 19:07:16 erider: I'm interested in internals and building forth, and that's also the way I think I'll learn the language best, so I'm looking at jonesforth. 19:07:16 http://retroforth.com/paste/?id=2058 19:07:36 maybe then I'll be ready for retro 19:08:09 that's after running make 19:08:14 ok 19:08:21 how about after "make initial" 19:08:56 * crc is guessing that something is not working in the initial stage, and that the 'pristine' image isn't being saved 19:09:33 sixforty, so you are set on jonesforth 19:09:48 http://retroforth.com/paste/?id=2059 19:09:56 probably 19:10:25 interesting... the logs look ok 19:11:06 you changed the ' t-' word: ' to be a macro? 19:11:47 erider: Given the chance to look at it for more than 10 minutes, I may decide otherwise, but yes, for starters. Even its author doesn't advise it for actual use, except in specific cases. 19:13:48 I see 19:14:41 I re-entered the changes and git diff worked this time... 19:14:56 http://retroforth.com/paste/?id=2060 19:16:14 oh yeah, it does need to be a macro for that to work doesn't it? 19:16:24 that patch doesn't change the class 19:16:30 so it's still acting as a normal word 19:17:05 (you *will* need to change the various .retro files other than core.retro to account for the new behaviour as well...) 19:19:17 hmm. I changed it to a macro, but it still looks the same when I type "see '" 19:20:29 look at the build.log output after "make initial" again 19:22:37 seems to be stopping in the middle of the primitives. 19:26:26 ['] will need to be altered, along with other words 19:26:43 anything that called ' will have to account for the new behavior 19:26:48 ahh 19:27:11 ['] seems to be easier to change 19:27:35 ['] could easily be made into a macro 19:28:17 t: t-['] ( R: -a C: "- ) 19:28:17 - t-' literal, ; 19:28:17 + t-' .data ; 19:28:54 and remove the c: ['] from stage2.retro 19:31:16 seems to work 19:35:50 what do you want this for? 19:39:33 mainly I'm just playing around. I wanted to try some infix style words that parse for the tos. 19:39:53 I'm starting to realize why infix is such a pain to deal with in forth 19:49:24 infix isn't necessary :) 19:58:20 I have to leave guys talk to you later 19:58:25 ok, ttyl 19:58:29 --- quit: erider (Quit: Leaving) 19:58:30 cya, erider 20:06:55 t: t-['] ( R: -a C: "- ) 20:06:55 - t-' literal, ; 20:06:55 + t-' .data ; 20:07:01 oops 20:07:28 http://retroforth.com/paste/?id=2063 20:10:00 parses for a .vocab word, stores the old links in variables, changes them to match the vocab, runs "words", then changes them back. 20:15:01 nice 20:16:38 I'm kind of wondering if there might be other cases where you would want to block the rest of the dictionary and only have the contents of a vocab showing 20:17:15 yes 20:17:22 for deploying apps it could be useful 21:41:34 --- quit: sixforty (Quit: Leaving.) 23:59:59 --- log: ended retro/10.03.25