00:00:00 --- log: started retro/10.09.08 02:49:04 --- quit: roarde (Quit: Leaving.) 04:15:22 foucist: what's wrong with camel case? 04:19:18 roarde: the only significant break is due to the change in the vocabulary implementation 04:54:57 i guess camel case or not is only a personal preference. fwiw, i really hate names_with_underscores 05:45:30 so far I've avoided underscores, except for prefix names 07:02:44 --- join: docl (~luke@97-120-241-117.ptld.qwest.net) joined #retro 07:39:53 --- quit: crcx (Ping timeout: 276 seconds) 08:00:29 --- join: zachk (~cozach@pool-71-182-97-88.syrcny.east.verizon.net) joined #retro 08:02:12 --- quit: docl (Ping timeout: 245 seconds) 10:18:30 --- join: crcx (~crc@li125-93.members.linode.com) joined #retro 10:18:57 I removed ['] 11:20:53 also, renamed >number (now toNumber) 11:48:21 hey how do i do xt/function pointers in : ; definitions? 11:48:36 func ' doesnt seem to work in gforth 11:49:21 ['] functionname 11:49:25 for gforth 11:51:59 ty 11:52:03 i just figured that out too 11:52:04 no problem 11:52:21 i cant stand using languages without firstclass functions / function pointers 11:52:27 like java 11:52:30 you can hack them in 11:52:34 but its not pretty 12:15:14 pointers are easy in recent versions of retro; just use the & prefix 12:43:14 can i draw a single pixel on the screen with retro and clear the screen and use double buffers? 12:43:30 and what about floating point 12:46:05 :) 12:59:18 drawing is possible if the sdl-backed vm or javascript vm are used 12:59:36 floating point is not supported, but there is a library for fixed point 13:00:22 what about cos and sin? 13:00:29 not defined at this time 13:03:11 (typically I add things as I need them; sine and cosine haven't been needed yet) 13:04:01 well i know mathematically they are defined as the sum of infinite series 13:04:15 and i did some calculations the other day usings doubles 13:04:31 and 8 terms was about 99% accurate to haskells built in cos and sin functions 13:18:52 how big are the ints/fixed point in retro forth? 13:19:38 32 bits 13:20:33 is the precision of fixed point variable? 13:20:41 yes 13:23:19 http://rx-core.org/dev/playground.fossil/artifact?name=ef91e5e4cf6cfb9e83420ecec40e7d80ffb0c32b would be the code 13:33:33 uhhh so i need the image file in the directory of retro? 13:33:37 anything else i need 13:33:42 and can i include files 13:33:45 or is it all images 13:36:12 retro is two parts: a portable vm ("retro") and an image file ("retroImage"); the image contains the actual forth system 13:36:37 the vm is basically an emulator for a misc architecture 13:36:52 minimal instruction set computer? 13:36:56 yes 13:37:14 can i load in text files ? 13:41:30 yes 13:41:38 include filename 13:41:44 or: 13:41:50 " filename" :include 13:48:34 crcx: since prefix are supported, is there any way to avoid the space after the quotes? 13:49:20 yiyus: yes. they'll be gone tonight 13:49:34 great :) 13:49:48 that space always looked weird to me 13:51:07 docl actually wrote some code for that; just needs a bit of cleanup before commit 13:52:16 (fwiw, the 10.7 image and such is done; I just need to finish packing it up. what I'm doing in the repo now will eventually become 10.8) 13:54:18 nice, if i find some time this weekend i may update gonga to catch up with the last changes (to retro and to go) 13:54:37 cool ;) 14:04:36 --- quit: foucist (Ping timeout: 276 seconds) 14:04:36 how do i do >r r> and recurse 14:04:36 en retro 14:04:36 --- join: foucist_ (~foucist@ps14150.dreamhost.com) joined #retro 14:07:27 ok push and pop instead of >r and r> 14:07:31 what about recurse? ;) 14:08:54 sweet 14:08:55 i got it 14:09:04 i dont need recurse i can just use the function name 15:44:17 yup 15:45:14 (sorry for delayed answers, was headed home; just arrived back now) 15:47:00 my latest work of art 15:47:05 the fibonacci numbers 15:47:06 http://pastebin.com/UJXdsDhs 15:47:10 took me forever 15:47:13 but its fun 15:47:18 and challenging 17:45:27 --- join: docl (~luke@97-120-241-117.ptld.qwest.net) joined #retro 18:17:31 crc: i'd much rather type underscore than capitalize something, it's much easier for me to type and more readable imo 18:18:27 so define aliases :) 18:20:28 crc: ? 18:20:31 what aliases? 18:20:41 e.g., : to_number toNumber ; 18:20:43 and so on 18:21:26 probably would do to_n 18:21:46 to_ 18:21:55 to_a, to_h, etc ftw 18:23:05 bah, who needs either? you can just do 2num or >num, etc. :P 18:24:04 docl: that's why it's great to be able to easily rename/add aliases :) 18:24:32 docl: to_n is easier to type than 2num or >num, more readable/humane also 18:24:49 * docl is kidding ;) 18:25:36 unfortunately, 2num or >num seem like very typical forth words 18:27:07 I've been moving away from that a bit 18:27:32 crc: what do you think the minimum size of vocabulary for a pure forth language would it take to obscure stack based operations completely while still having that done within all those words 18:28:00 foucist_: not to mention num< ... >num ;) 18:28:13 i.e. to extend the natural forth vocab into a larger forth vocab that eventually gets to the point that a forth coder would never need to think about the stack again.. no tucks dups etc 18:28:36 I don't know that you can completely obscure the stack in a pure forth language; access to it is one of the attributes of a forth 18:29:05 crc: i'm saying the access will be there 18:29:16 with stuff like parable, I'm hoping to develop a higher-level wordset, but that's all experimental at this point 18:29:39 but that the dictionary would have sufficient high level words that allows a forth coder to not think too much about the stack 18:30:39 docl: yeah that's not acceptable naming :( 18:32:14 crc: so your current 10.7 forth, how small is it 18:32:28 how big of a dictionary, is it entirely coded in forth? 18:32:47 guess it has an assembler in it? how's it cross platform 18:33:31 ~268 words, including the various vocabularies 18:34:36 foucist_: there's an assembler in the metacompiler 18:34:57 foucist_: the cross platform support comes from the vm, not retro itself 18:35:53 vm's coded in c? 18:36:05 what vm is this? 18:36:07 forth vm? 18:36:48 ngaro. 18:36:57 ngaro has implementations in c, go, javascript, java, and emacs lisp 18:38:59 crc: MISC but not forthchip? 18:39:05 correct 18:40:09 see http://rx-core.org/pages/?NgaroVm and http://rx-core.org/pages/?NgaroInstructionSet and http://rx-core.org/pages/?NgaroHardwareDevices 18:40:41 those don't come up when i google 'ngaro' or 'ngaro forth' heh 18:41:29 I get a full page of results when I search for 'ngaro forth' 18:41:59 none of which is rx-core.org 18:42:33 it's only been on rx-core.org for a fairly short time 18:43:25 make sure all your shit links to rx-core and that rx-core links to ngaro etc properly and google iwll figure it out in a couple weeks 18:56:47 docl: I checked in your code to allow strings without space following the initial ", along with a bunch of renamings 18:57:10 :) 19:15:05 --- nick: foucist_ -> foucist 19:15:13 --- mode: ChanServ set +v foucist 21:08:42 --- quit: crc (Ping timeout: 240 seconds) 21:10:35 --- join: crc (~charlesch@184.77.185.20) joined #retro 21:35:49 --- quit: crc (Ping timeout: 246 seconds) 21:36:50 --- join: crc (~charlesch@184.77.185.20) joined #retro 22:55:57 --- quit: docl (Ping timeout: 245 seconds) 23:59:59 --- log: ended retro/10.09.08