00:00:00 --- log: started retro/10.11.24 00:13:54 --- quit: erider (Ping timeout: 245 seconds) 00:19:03 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 00:33:54 --- quit: erider (Ping timeout: 245 seconds) 00:39:14 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 01:03:54 --- quit: erider (Ping timeout: 245 seconds) 01:09:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 01:33:54 --- quit: erider (Ping timeout: 245 seconds) 01:39:11 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 02:03:54 --- quit: erider (Ping timeout: 245 seconds) 02:09:06 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 02:24:00 --- quit: erider (Ping timeout: 252 seconds) 02:29:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 03:03:54 --- quit: erider (Ping timeout: 245 seconds) 03:09:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 03:23:54 --- quit: erider (Ping timeout: 245 seconds) 03:29:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 04:03:54 --- quit: erider (Ping timeout: 245 seconds) 04:09:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 05:23:54 --- quit: erider (Ping timeout: 245 seconds) 05:29:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 05:53:54 --- quit: erider (Ping timeout: 245 seconds) 05:59:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 06:13:54 --- quit: erider (Ping timeout: 245 seconds) 06:19:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 06:33:44 --- join: docl (~luke@71-36-112-46.ptld.qwest.net) joined #retro 06:33:54 --- quit: erider (Ping timeout: 245 seconds) 06:39:11 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 07:03:54 --- quit: erider (Ping timeout: 245 seconds) 07:09:07 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 07:20:48 --- quit: probonono (*.net *.split) 07:20:52 --- quit: crc (*.net *.split) 07:20:54 --- quit: SimonRC (*.net *.split) 07:20:55 --- quit: docl (*.net *.split) 07:20:58 --- quit: erider (*.net *.split) 07:20:58 --- quit: oPless (*.net *.split) 07:20:59 --- quit: ChanServ (*.net *.split) 07:21:02 --- quit: yiyus__ (*.net *.split) 07:21:03 --- quit: yiyus (*.net *.split) 07:24:57 --- join: probonono (~User@unaffiliated/probonono) joined #retro 07:24:57 --- join: oPless (~oPless@cpc14-cmbg15-2-0-cust142.5-4.cable.virginmedia.com) joined #retro 07:24:57 --- join: SimonRC (~sc@fof.durge.org) joined #retro 07:24:57 --- join: crc (~quassel@li125-93.members.linode.com) joined #retro 07:24:57 --- join: yiyus__ (1242712427@je.je.je) joined #retro 07:24:57 --- join: yiyus (~124271242@67.202.106.57) joined #retro 07:24:57 --- join: ChanServ (ChanServ@services.) joined #retro 07:24:57 --- mode: lindbohm.freenode.net set +oo crc ChanServ 07:29:06 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 07:47:00 --- quit: erider (Changing host) 07:47:00 --- join: erider (~chatzilla@unaffiliated/erider) joined #retro 08:53:54 --- quit: erider (Ping timeout: 245 seconds) 08:59:05 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 09:13:54 --- quit: erider (Ping timeout: 245 seconds) 09:27:23 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 09:53:54 --- quit: erider (Ping timeout: 245 seconds) 09:57:14 --- quit: oPless (Ping timeout: 245 seconds) 09:59:04 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 10:12:25 * crc has begun a ruby implementation 10:13:54 --- quit: erider (Ping timeout: 245 seconds) 10:14:04 --- join: docl (~luke@75-175-113-207.ptld.qwest.net) joined #retro 10:19:05 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 11:06:52 --- join: oPless (~oPless@customer43387.110.kt.cust.t-mobile.co.uk) joined #retro 11:07:04 --- quit: docl (Ping timeout: 265 seconds) 11:12:53 --- quit: oPless (Quit: Leaving.) 11:49:15 --- join: docl (~luke@75-175-113-207.ptld.qwest.net) joined #retro 12:24:42 --- join: oPless (~oPless@cpc3-cmbg10-0-0-cust867.5-4.cable.virginmedia.com) joined #retro 12:31:04 --- quit: docl (Ping timeout: 264 seconds) 13:08:07 ruby implementation is now working 13:08:17 foucist should be happy 13:35:59 :) 13:45:31 opless: I used your c# implementation as a starting point for both the lua and ruby implementations 13:47:31 to be fair my c# impl was a quick port of the java one :D 13:47:42 looks like you tidied it up a fair bit too 14:03:54 --- quit: erider (Ping timeout: 245 seconds) 14:09:13 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 14:14:06 opless: just a bit. c# is nicer for console purposes than java was. And much faster. 14:22:56 still, I was glad to help :) just wish the side effects of this gluten reaction would bugger off. I can barely concentrate :\ 14:23:57 --- quit: erider (Ping timeout: 252 seconds) 14:37:43 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 14:53:06 --- quit: erider (Ping timeout: 252 seconds) 14:58:18 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 15:23:21 --- quit: erider (Ping timeout: 252 seconds) 15:28:12 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 15:37:37 hi all 15:37:48 hi erider 15:38:09 hey crc how are you doing today? 15:38:23 very well 15:38:32 very cool :) 15:39:19 the one thing I don't like about lua is the comment delimiter :( "-" 15:40:00 so use ruby; it's similar, and has bit operations built in :) 15:40:06 (ruby is slower) 15:40:16 crc: hey to set up a wiki page do you need something on the server side 15:40:45 yes; you need a server-side script to actually save the pages 15:43:21 I am playing with js, but yeah ruby is nice and it is a lot heavier than lua 15:45:02 lua would be ok if it had bitwise operations. No bitwise ops = bad idea IMO. 15:45:32 crc: why do you say that 15:45:41 >150 lines of retro.lua is a library to add bitwise and, or, xor, and shifts 15:45:48 crc: you what to do some bit crunching 15:46:33 retro's vm requires bitwise operations: and, or, xor, shift left, shift right 15:46:49 well at least you and implement it :) 15:47:04 s/and/can/ 15:47:16 retro.rb is 202 lines; retro.lua is 402. The difference? the need to implement bitwise operators in lua. 15:47:28 it's just a hassle :( 15:49:40 yeah it was easier for you in js right? 15:50:24 no. the js was harder because I had to build all the I/O to emulate a simple terminal window myself 15:50:57 really :( 15:52:04 the ruby and lua versions were built using the c# version as a reference (which was based on a now abandoned java version) 15:59:34 crc: version of what 15:59:44 the vm 16:07:47 oh 16:07:59 basic workflow was: 16:07:59 1) create variables and arrays 16:07:59 2) write code to initialize the variables and arrays 16:07:59 3) write code to load the image file 16:08:22 crc: in that order ;) 16:08:25 4) write a loop to walk through the simulated memory, displaying ip, value at ip, sp, and rp 16:08:26 yes 16:08:32 5) implement instructions 16:08:39 6) implement I/O devices 16:08:49 7) look for bugs once the image is running 16:09:32 it was pretty easy; a couple hours of sporadic work 16:14:17 crc: and that is the prior of work for lua implementation? 16:14:52 that's the process I followed in implementing the lua and ruby implementations 16:15:20 crc: there is a ruby version? hmm 16:15:58 crc: hey do you know of a DOM that can access the file system 16:16:07 http://bit.ly/i6n8Og for the ruby version 16:16:14 in firefox 16:16:32 DOM != filesystem access; it's only for access to the document itself 16:17:57 I seen something like this in firefox's extensions File.isDirectory(fToDelete) 16:18:04 generally you have to go through something like a java applet to get to the file system 16:18:46 ah ok because you can package extension into a jar 16:19:46 crc but this is js var fd = new File("/tmp/blah"); 16:19:50 File. is for elements IIRC 16:20:05 extensions may have different rules 16:20:58 http://wiki.freeswitch.org/wiki/Javascript_File_isFile 16:22:27 crc: ruby is definitely sexier than lua :) 16:23:12 that's part of spidermonkey; it's not necessarily something you can use if coding in a browser 16:23:43 crc: its gets ugly when you start using all the OOP stuff. 16:23:58 example? 16:24:02 crc: ok 16:24:18 metaprogramming ruby take a look 16:25:59 some of the coding syntax gets alittle hairy 16:27:28 anything extending syntax can get hairy 16:29:13 yeah that is true 16:33:58 : splitAtChar: ( $"-$$ ) 16:33:58 32 accept tib @ .data ` splitAtChar ; immediate 16:34:14 this is extending retro's syntax 16:34:23 so we can do: 16:34:34 "hello,world" splitAtChar: , 16:34:44 and get two strings: "hello" and "world" 16:35:24 err, "hello," and "world" 16:36:00 crc: did retro move close to standard forth words? 16:36:16 closer* 16:36:18 retro is not a standard forth 16:36:37 if anything, I'm moving further away from ANS over time 16:36:47 yeah I know but I can understand that example :) 16:37:51 the only standard things there are: 16:37:52 ( 32 tib @ ; 16:38:16 : accept immediate 16:38:17 are non-standard 16:38:46 ` .data splitAtChar 16:38:46 are not in standard forth at all 16:39:03 I have seen accept 16:39:14 mine is not the same as the one in ANS 16:39:23 oh 16:40:28 in ANS, accept takes: ( c-addr +n1 -- +n2 ) 16:40:35 mine takes: ( char -- ) 16:42:47 mine always reads into tib, and stores a zero terminated string there 16:42:56 I see 16:43:05 the ans one does not zero terminate. 16:53:51 --- quit: probonono (Ping timeout: 245 seconds) 16:59:17 crc: I like the the ruby a lot 17:03:31 there's really almost no difference between the ruby and the lua 17:40:37 crc: really? I thought everything in, well almost everything is a hash 17:52:10 look at the code: large portions are identical, outside of minor syntax alterations 18:10:03 crc: yeah you are right 20:47:25 --- join: probonono (~User@ppp103-111.static.internode.on.net) joined #retro 20:47:26 --- quit: probonono (Changing host) 20:47:26 --- join: probonono (~User@unaffiliated/probonono) joined #retro 21:32:57 --- quit: erider (Ping timeout: 252 seconds) 21:37:36 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 22:24:06 --- quit: erider (Ping timeout: 252 seconds) 22:29:02 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 22:53:57 --- quit: erider (Ping timeout: 240 seconds) 22:59:08 --- join: erider (~chatzilla@pool-108-3-149-46.bltmmd.fios.verizon.net) joined #retro 23:59:59 --- log: ended retro/10.11.24