00:00:55 -!- sebbu2 has quit ("@+"). 00:02:52 hmmm.... egobot could use a Thue interpreter. 00:02:55 * SevenInchBread makes one. 00:02:59 !help 00:24:47 -!- ShadowHntr has quit (Client Quit). 00:40:56 -!- pikhq has quit (Read error: 110 (Connection timed out)). 01:01:53 *Writing* a Thue interpreter? 01:01:58 Surely there already is one. 01:02:03 And besides, Thubi's better :-p 01:02:10 s/p/P/ 01:17:51 yes well... Thue interpreters take all of ten minutes. :) 01:18:04 but I've already been diverted to a fungeoid of my own. 01:18:30 I feel dirty though... because I'm using C-style arrays in Python to represent the program. 01:18:35 Gasp! 01:18:38 Is that a bad thing? 01:18:46 Not really. 01:19:07 It fits the task... fairly well... and I'm assuming it's faster (being a direct wrapper over C stuff) 01:21:23 I wonder if there's a straightforward way to compile lambda calculus into C 01:22:05 or SKI 01:22:11 This is a pretty neat language so far... I'll reveal it once I'm done with the interpreter. 01:22:53 bsmntbombdood: 'course there is. 01:22:56 I mean, well. 01:23:04 Uh... 01:23:16 like... 01:23:18 Well, you need closures. 01:23:26 You need a way to represent trees in C. 01:23:42 Find me one of those, then we'll talk. 01:24:22 tree as in sexp? 01:25:46 that's easy, struct { void* right, left} 01:26:35 yup. 01:30:02 ihope_: ... 01:30:43 That's a tree with either S or K at each leaf? 01:31:01 sure 01:31:17 no 01:31:38 struct leaf {leaf *right, left; int func; } 01:31:59 that's a tree with either S or K at each leaf 01:33:46 so.... 01:34:10 I don't need an actual implementation, just how to do it... 01:36:43 Well, lemme think. 01:36:58 C doesn't have first-class functions, does it? 01:37:11 yeah it does 01:37:18 It does? 01:37:22 yeah 01:37:51 Well, I guess you still have the issue of closures. 01:38:04 Unless C supports currying more nicely. 01:38:33 assume it does have closures 01:38:52 Assume what has closures? 01:38:55 C 01:38:58 Assume C has currying, you mean? 01:39:08 sure 01:39:28 Should we go so far as to assume C is lazy? 01:39:32 no 01:39:45 Okay, lemme think... 01:40:29 * ihope_ ponders thunks 01:41:34 ~exec s = lambda x: lambda y: lambda z: lambda: x(z)(y(z))(); k = lambda x: lambda y: lambda: x(); sys.stdout(s(k)(3)(4)) 01:41:34 at 0xb7cabbfc> 01:42:28 ~exec s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); sys.stdout(s(k)()(3)()(4)()) 01:42:37 Not callable? 01:42:41 ~exec s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); sys.stdout(s(k)()(k)()(4)()) 01:42:48 Mmh. 01:42:57 ~exec s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); sys.stdout(s(k)()(k)()(self.raw)()) 01:43:09 Um. 01:43:15 ~exec s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); sys.stdout(s(k)()(k)()(lambda: 3)()) 01:43:16 3 01:43:19 There we go. 01:43:31 ~exec s = lambda x: lambda y: lambda z: lambda: x(z)(y(z))(); k = lambda x: lambda y: lambda: x(); sys.stdout(s(k)(3)(lambda: 4)) 01:43:31 at 0xb7cabbfc> 01:43:35 Yeah. 01:43:53 So take the one that worked and translate that into C. 01:44:03 those extra lambdas are for lazyness? 01:44:07 Yep. 01:44:33 I think I managed to do it better once before, but oh well... 01:44:42 ...actually, lemme see here. 01:44:50 ~exec s = lambda x: lambda y: lambda z: lambda: x(z)(y(z))(); k = lambda x: lambda y: lambda: x(); sys.stdout(s(k)(3)(lambda: 4)()) 01:44:59 ~exec s = lambda x: lambda y: lambda z: lambda: x(z)(y(z))(); k = lambda x: lambda y: lambda: x(); sys.stdout(s(k)(lambda: 3)(lambda: 4)()) 01:45:09 Yeah. 01:45:16 Go with the one that worked. 01:45:26 s = lambda x: lambda y: lambda z: lambda: x(z)(y(z))(); k = lambda x: lambda y: lambda: x(); 01:45:29 that? 01:49:03 Yep. 01:49:12 No, not that. 01:49:18 The one that returned 3. 01:49:50 Actually... 01:49:54 s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); 01:49:57 ? 01:50:06 Yes, that ridiculity. 01:51:24 damnit 01:51:26 error: ‘func_t’ declared as function returning a function 01:53:21 Darn different notations for all this stuff. 01:54:16 -!- oklopol has quit (Success). 01:54:21 ok, i'm lost 01:54:27 I'm confusing myself. 01:54:46 Then again, I've been doing it all wrong, surely. 01:55:31 -!- oklopol has joined. 01:55:40 ~exec s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); sys.stdout(s(s(k)()(k)())()(s(k)()(k)())()(lambda x: lambda: 3)) 01:55:40 at 0xb7cabcdc> 01:55:46 ~exec s = lambda x: lambda: lambda y: lambda: lambda z: lambda: x(z)()(y(z)())(); k = lambda x: lambda: lambda y: lambda: x(); sys.stdout(s(s(k)()(k)())()(s(k)()(k)())()(lambda x: lambda: 3)()) 01:56:04 * ihope_ makes a funny face 01:56:15 See? I'm confused. 01:57:19 C is not what I'd call the best programming language in the world. 01:57:33 I have not yet seen anything I can call the best programming language in the world. 01:58:00 Well, okay, *maybe* Z-notation. 01:58:06 what's that 01:58:33 A program description language, I think. 01:58:44 Catch you later. It's suddenly bedtime, as they say. 02:00:35 -!- ihope_ has quit (Read error: 131 (Connection reset by peer)). 02:06:50 ok...i've got delays working 02:07:50 only...27 lines of code 02:12:01 -!- calamari has quit ("Leaving"). 02:14:32 actually...i don't think i need ti 02:18:25 Heh, my lecturer has mucked up "respectively" in the homework. 02:19:02 He askes us to give a refutation if the clause is satisfiable and a satisfying assignment if it isn't. 02:41:24 ... 02:49:57 -!- oklopol has quit (Read error: 110 (Connection timed out)). 02:53:49 bsmntbombdood: it should be the other way round. 03:16:36 -!- oklopol has joined. 03:32:21 -!- ShadowHntr has joined. 04:09:40 -!- SevenInchBread has quit (Read error: 113 (No route to host)). 05:11:42 -!- GreaseMonkey has joined. 05:30:29 -!- Arrogant has joined. 05:43:39 -!- Sgeo has quit ("Leaving"). 06:42:26 -!- oklofok has joined. 06:42:34 -!- oklopol has quit (Read error: 104 (Connection reset by peer)). 06:57:14 -!- ShadowHntr has quit ("End of line."). 07:01:43 -!- oklopol has joined. 07:02:40 -!- oklofok has quit (Read error: 104 (Connection reset by peer)). 07:03:32 -!- sebbu has joined. 07:24:31 -!- oklofok has joined. 07:25:19 -!- oklopol has quit (Read error: 110 (Connection timed out)). 07:25:20 :-S 07:28:07 #esosleeping 07:33:24 you shoulda joined that and saw who came on :D 07:34:31 :-S 07:38:21 Nah. 07:40:19 you don't live up to your name then 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:16:48 gonna go, cya 08:18:05 -!- GreaseMonkey has quit ("buy viagra buy xanax buy... [VIRUS REMOVED]"). 08:28:54 * SimonRC goes 08:32:59 -!- RodgerTheGreat has quit. 08:33:32 -!- RodgerTheGreat has joined. 08:41:27 -!- oklofok has quit (Read error: 110 (Connection timed out)). 08:47:30 -!- oklopol has joined. 09:22:33 -!- wooby has joined. 09:32:51 -!- oerjan has joined. 10:13:54 -!- wooby has quit. 10:37:13 -!- Arrogant has quit ("Leaving"). 11:08:59 -!- jix has joined. 11:42:18 -!- oerjan has quit ("leaving"). 11:57:56 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 12:33:44 -!- helios24 has quit (Read error: 110 (Connection timed out)). 12:45:48 -!- jix has joined. 13:03:23 -!- sebbu2 has joined. 13:07:34 -!- kxspxr has joined. 13:10:48 -!- sebbu has quit (Read error: 60 (Operation timed out)). 13:12:09 -!- kxspxr has quit (Client Quit). 13:16:20 -!- kxspxr has joined. 13:22:10 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 13:32:25 -!- kxspxr has left (?). 13:53:36 -!- helios24 has joined. 13:58:35 -!- kxspxr has joined. 16:09:27 -!- sebbu2 has changed nick to sebbu. 16:16:44 -!- helios24 has quit ("Leaving"). 16:19:38 -!- FabioNET has joined. 17:06:02 -!- tgwizard has joined. 17:58:00 that's easy, struct { void* right, left} 17:58:20 you probably mean struct { void *right, *left} 18:04:40 -!- nazgjunk has joined. 18:14:22 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)). 18:14:42 -!- nazgjunk has joined. 19:07:42 -!- sebbu2 has joined. 19:08:41 -!- FabioNET has quit ("A domani..."). 19:15:39 -!- digital_me has joined. 19:16:53 -!- FabioNET has joined. 19:26:47 -!- sebbu has quit (Read error: 110 (Connection timed out)). 19:31:39 oklopol: yeah, that's what i mean 19:40:06 You are lying. struct { void *right, *left; }; is what you meant 19:41:29 ug 19:42:13 rar 19:44:14 graf 19:53:52 -!- oerjan has joined. 20:26:35 hi 20:26:45 ho 20:30:27 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)). 20:30:47 -!- fush has joined. 20:31:03 -!- fush has changed nick to nazgjunk. 21:07:44 -!- Arrogant has joined. 21:34:11 -!- Sgeo has joined. 21:38:55 -!- GregorR has quit (Nick collision from services.). 21:59:44 -!- FabioNET has quit ("A domani..."). 22:17:51 -!- sebbu has joined. 22:26:22 -!- coredmp has joined. 22:28:11 -!- Arrogant has quit (Read error: 54 (Connection reset by peer)). 22:28:37 -!- coredmp has left (?). 22:29:23 -!- tgwizard has quit (Remote closed the connection). 22:34:09 -!- sebbu2 has quit (Read error: 110 (Connection timed out)). 22:39:50 -!- sebbu has quit (Client Quit). 22:48:14 -!- fruitbag has joined. 22:49:18 hm? 22:50:06 yes! hm! 22:50:34 foo 22:51:36 ~exec sys.stdout("bar") 22:51:36 bar 22:52:42 baz 22:53:17 qux 22:57:11 I have two great names if I am ever to do my own programming languages. 22:57:24 Either the Baggage programming language, or Turing. 22:57:30 lame 22:57:47 I believe Turing is already taken, don't know about Baggage 22:57:52 -!- ShadowHntr has joined. 22:58:14 BTW don't you mean Babbage? 22:58:18 Turing would be ridiculously confusing 22:58:29 yeah 22:58:40 since you have to call the language used to programs turing machines something... 22:59:12 Ooops 22:59:14 Yes, oerjan. 22:59:16 Babbage 22:59:19 What a stupid mistake... 22:59:28 I knew the spelling, but that was a slip. 22:59:57 bsmntbombdood: why lame? 23:00:41 bwxcauce 23:03:55 Hey, the Babbage language almost exists and is esoteric :) 23:04:06 It does, oerjan? 23:04:07 How so? 23:04:30 http://www.tlc-systems.com/babbage.htm 23:05:57 of course, once again, babbage is a confusing name 23:06:11 since you have to call the language used to program the analytic engine somehow 23:06:28 No, that is Ada. 23:06:30 it doesn't have a name 23:06:55 Man... esoteric. 23:07:15 What's the most interesting esoteric programming language you pople have used? 23:08:02 i'm not a pople :( 23:08:56 People * ;w 23:09:10 hard to say what's the most interesting 23:09:13 Unlambda looks interesting. 23:09:26 i wrote quicksort in english yesterday 23:09:32 that was quite esoteric 23:09:34 well, i like Unlambda, obviously 23:09:35 different langs are interesting for very different reasons 23:11:00 eg smetana is interesting because it seems so completely pointless; and wireworld is interesting because there's a pretty computer implemented it in; and unlambda is interesting because it eats your brain; and jot is interesting because every number is a valid program..... 23:11:36 i think wireworld was more interesting before the computer to be honest 23:11:43 i used to play with it before that :< 23:11:48 ```s``s``sii`ki : `k.*``s``s`ks : ``s`k`s`ks``s`ks``s`k`s`kr``s`k`sikk : `k``a`ksk 23:12:00 ^ print Fib numbers 23:12:15 !fds ```s``s``sii`ki : `k.*``s``s`ks : ``s`k`s`ks``s`ks``s`k`s`kr``s`k`sikk : `k``a`ksk 23:12:17 Unlambda is great. 23:12:19 make it! :P 23:12:54 what has been done with unlambda? 23:12:57 everything? 23:13:12 that's the most complex i've seen or heard about :\ 23:13:13 and fugue is interesting because it's in music notation, and irp is interesting because it's so silly, and befunge is interesting because it's so pretty yet fairly easy to use, and kayak is interesting because it's so... quantum :) 23:13:39 What, you haven't seen any of the Unlambda self-interpreters? 23:13:41 and thue is interesting because it eats your brain very gently 23:13:52 oerjan nope 23:14:15 For the mathematician, Unlambda may be interesting. 23:14:51 for a mathematician, lazy-k would probably be preferrable to unlambda. 23:14:52 the mathematician on ork? 23:14:56 *in 23:15:10 Mine is at http://oerjan.nvg.org/esoteric/interpreter.unl 23:15:43 i find unlambda UNinteresting because it's too difficult. 23:15:45 oerjan: lol 23:16:10 I don't understand unlambda 23:16:19 you should put the functions in place or? 23:16:25 is it just like that? 23:16:35 Huh? 23:16:40 hmm 23:16:43 nm :=) 23:17:18 lament: difficult is interesting. 23:17:20 whitespace makes no difference there right? 23:17:21 I disagree. 23:17:26 Whatever is difficult is more interesting.... 23:17:32 That's what I've found out. 23:17:43 oerjan: wow, you actually wrote that by hand? 23:18:00 oh, forgot to say, oerjan, that's fucking sick :\ 23:18:12 You people should code in Intercal 23:18:18 Intercal! 23:18:18 fruitbag: why? 23:18:31 lament: great stuff. 23:18:48 ookay 23:18:49 Yep :) 23:19:07 I have coded in Intercal. An Unlambda interpreter :D 23:19:14 oerjan: not bad, i don't think many people do taht 23:20:19 I have an interesting on an esoteric programming language... 23:20:22 http://oerjan.nvg.org/esoteric/intercal/ 23:20:32 What about a programming language based on electronic circuits? 23:20:49 it's called VHDL 23:20:52 :P 23:21:39 oerjan: oh, heh, i remember looking at one, years ago 23:21:45 oerjan: *at that one 23:22:23 nice use of PLEASE statements 23:22:35 Why thank you. 23:23:18 If I were ever to do a programming language, I'd call it `Ramanujan'. 23:23:57 If I were ever to do a programming language, I'd call it "Your pants". 23:24:30 "I'm an expert in your pants" 23:24:45 "Now take this code and re-write it in your pants" 23:26:15 Heh, a search for "Ramanujan programming language" instead leads to the Unlambda page 23:30:19 Well, good tlaking here. 23:30:22 Later for now... 23:31:31 -!- digital_me_ has joined. 23:31:41 oh no! it's me, but digital! 23:32:13 * lament examines how few bits they digitized me to 23:33:17 jesus christ, no wonder audiophiles prefer vinyl. 23:34:59 oh please tell us 23:41:44 -!- fruitbag has left (?).