16:11:53 -!- clog has joined. 16:11:53 -!- clog has joined. 16:13:27 -!- Eidolos has quit (Read error: 104 (Connection reset by peer)). 16:25:43 -!- CakeProphet has joined. 16:53:14 oh deary me: http://www.poetictech.com/ 17:33:15 -!- ihope has joined. 17:33:37 Yeah, that's it. 17:39:08 -!- calamari has joined. 17:44:18 This event brings the number of people named after food in this channel up to, um... one! 17:45:17 d/me sees none. . . 17:45:46 Ah. 17:45:53 -!- IronGland has joined. 17:46:04 -!- IronGland has quit ("Chatzilla 0.9.75 [Firefox 1.5.0.7/2006090918]"). 17:47:07 hi 17:47:29 btw.. I'm named after Star Wars.. sorry! 17:48:34 calamari==squid. 17:49:45 calamari is squid used as food 17:50:24 Best. Name. Evar. http://en.wikipedia.org/wiki/Ub_Iwerks 17:50:30 but it is also the calamari cruiser (ship), and mon calamari (race) in star wars.. as seen in return of the jedi 17:50:56 < SimonRC> oh deary me: http://www.poetictech.com/ 18:01:12 -!- oerjan has joined. 18:05:15 oerjan: hi 18:06:59 hi 19:03:49 -!- oerjan_ has joined. 19:05:11 -!- oerjan has quit ("Leaving"). 19:05:27 -!- oerjan_ has changed nick to oerjan. 19:10:52 -!- Sgeo has joined. 19:18:56 hi, Sgeo 19:19:01 Hi 19:20:35 -!- CakeProphet has quit (Nick collision from services.). 19:20:50 -!- CakeProphet has joined. 19:30:30 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 19:32:32 You don't have permission to access /w/index.php on this server. 19:32:43 Noes, the wiki is broken... 19:32:47 I mean borken. 19:34:02 GGGRAH!!! 19:36:05 works for me, but i had problems earlier. it is just a bit unstable 20:13:21 -!- GregorR has quit (Read error: 110 (Connection timed out)). 20:13:37 -!- GregorR has joined. 20:13:46 yo 20:15:31 nes 20:15:45 NES? 20:16:20 the opposite of yo 20:16:23 ihope: Nintendo Entertainmen Syste, 20:17:35 * ihope nods 20:17:52 * oerjan yesds 20:19:28 wow, even wikipedia is borken today 20:20:37 http://pikhq.nonlogic.org/ Thoughts? 20:21:49 thoughts? on nonlogic? 20:22:07 * oerjan is feeling extremely punny today 20:22:26 :p 20:30:05 hm, am i right if i guess that a BFM program can only access the named variables, and no other locations? 20:31:21 so no turing completeness if cell size is bounded, even if the tape is unbounded 20:33:11 it seems a bit strange to call it a macro package for BF if BF is not actually a sub-language. it is more like a language compiled into (a subset of) BF. 20:34:01 oerjan: Well, the version I have in ~ has a special variable called "current" which is the current location on the array. . . And left number, right number to move in the array, and at variable to tell the parser where we're at in the code once down using "current". 20:34:43 oerjan: Also, you could just abuse comments to do the same thing (comments are output verbatim into the resulting BF code). 20:35:38 oerjan: I should *probably* get that tarball up to date and update that page. 20:36:26 but will arbitrary inline code not wreak havoc with variable positioning? 20:36:56 oerjan: Thus why I added the "right", "left", and "at" commands. 20:37:25 Allows us to go back to standard variable positioning. 20:37:31 -!- jix has joined. 20:40:09 i see. i'll have to wait for your uploading 20:40:49 Let me clean up some code. . . 20:42:17 oerjan: http://pikhq.nonlogic.org/bfm.tar.bz2 20:42:51 * pikhq should fix his BFM -> C compiler sometime. . . 20:45:23 woohoo! *bounce* *bounce* *bounce* http://video.google.com/videoplay?docid=4526819805867391097 20:45:30 ;-D 20:46:17 -!- ihope_ has joined. 20:56:08 i see .. now i'll just have to wait for an updated spec, so i can understand what the new commands actually do... 20:56:56 or, left, right and at just tell the macro processor the effect of inlined code, right? 20:57:54 left 5 = "<<<<<" 20:58:01 right 5 = ">>>>>" 20:58:24 at foo tells the macro processor that the pointer is at foo (once you're done using left and right). 20:59:05 And "current" just corresponds to the current location at the pointer (no moving around to another variable). 20:59:33 while current {subtract current 1} 20:59:36 [-] 20:59:46 @ foo 0 20:59:50 @ bar 5 20:59:59 while bar {subtract bar 1} 21:00:04 >>>>>[-] 21:00:08 See the difference? 21:00:56 aha. 21:01:32 BTW, to prove that I've made it Turing complete, there's a script in that tarball which compiles from BF to BFM. 21:02:57 hm, there is a problem here, what about left and right inside while? 21:03:15 while current { left 5 } 21:03:16 -!- ihope has quit (Connection timed out). 21:03:21 [<<<<<] 21:03:23 Your point? 21:03:30 Or do you mean: 21:03:32 @ foo 0 21:03:38 while foo { left 5 } 21:03:40 ? 21:04:00 the latter would show the problem, yes 21:05:26 I think it would compile the same as while current { left 5 }. 21:05:57 Keep in mind, though, that using a variable after left or right without at is undefined behavior. 21:06:13 that's what i wondered 21:11:50 except outside while, then left and right seem to keep track of location 21:13:00 Uh. . . Don't think so. . . 21:13:03 @ foo 0 21:13:06 @ bar 5 21:13:11 right 5 21:13:23 add current 5 21:13:33 add bar 5 21:14:16 While it's obvious the pointer is at 5, (and therefore >>>>>++++++++++), the actual result is >>>>>+++++>>>>>+++++. 21:15:36 The parser doesn't know that the pointer is at 5; all it knows is that it needs to output >>>>>+++++, and (since the pointer, according to its simpleton parsing, is at 0) >>>>>+++++. 21:17:08 have you tested it? 21:17:11 Thus, the point of the at command: telling the parser where the pointer is. 21:17:14 Yeah. 21:18:00 how can it be, when proc right clearly contains incr ::location? 21:18:53 . . . Gah. 21:19:01 I need to test it again. 21:19:11 May have changed some stuff to make it work. 21:21:37 . . . You're right. 21:21:56 Somehow, the code works more cleverly than I thought it did. 21:22:05 :) 21:22:15 it will only work outside while, however 21:22:48 Yeah. 21:23:19 if you wanted to be more clever you could check whether ::location was the same at the beginning and end of a while, and if not set ::location to some "undefined" value 21:23:50 Yeah. . . 21:24:06 I take it you're a Tcler? 21:24:25 no, surprisingly not i am just guessing how it works 21:24:38 Ah. 21:24:51 Because you seem to be getting a very good feel for how it works. . . 21:25:03 Fortunately, large amounts of it are fairly simple. 21:25:57 yes.but why do some procs have _ at the begining of their name? 21:26:31 If I didn't have _, then it would conflict with a Tcl command. 21:27:31 Since those commands are just bound into the blanked slave interpreter, it doesn't matter, anyways. 21:28:13 Spot the difference: http://www.timecube.com/ http://www.wrightforcongress.net/ 21:28:51 Different bullshit. 21:29:56 Oooh! And he knows the marquee tag, too! 21:31:46 lolol 21:32:08 what does the array command do? 21:32:37 oerjan: As of now, nothing. 21:33:01 Ideally, it will be used for defining an array to be manipulated by getarray and setarray (which aren't in stdlib/ yet). 21:33:46 And it will define the array in such a way that one can either call cells in the array as a variable or via getarray and setarry. 21:34:05 Calls via a variable being hardcoded, calls via getarray/setarray using a pointer. 22:00:39 oerjan: Playing around with it, or just trying to understand it? 22:03:59 Oh for Gods' sakes! 22:04:02 Slashdot just put up a front-page article which is a dupe of a dupe of a dupe. 22:04:31 A what? 22:05:41 just trying to understand it 22:05:45 I think it's up to quadup. 22:06:07 a dupe is an article that is redundant because it has already been posted about. 22:12:22 -!- Eidolos has joined. 22:18:29 hi 22:21:16 hm... dupe, tripe, quadrupe... 22:22:59 ugh tripe 22:23:42 you look abbreviated today... 22:24:57 ah, you're a different person 22:26:06 yeah 22:26:11 I haven't been in here in a while 22:35:26 well, good night 22:35:32 -!- oerjan has quit ("Leaving"). 22:38:35 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 23:17:02 * SimonRC goes to bed 23:46:13 -!- jix has joined.