00:09:48 -!- ShadowHntr has quit (Read error: 104 (Connection reset by peer)).
00:41:06 -!- anonfunc has quit.
01:13:45 -!- Sgeo has quit (Read error: 104 (Connection reset by peer)).
02:04:42 <bsmntbombdood> not quite turing complete yet, because there's no way to recurse
02:11:21 <SevenInchBread> http://i83.photobucket.com/albums/j316/adamadamadamamiadam/harharhar.jpg
02:30:56 -!- digital_me has joined.
02:31:15 <SevenInchBread> I forgot how you define macros... but I'm guessing the first parameter (the argument list) is evaluated as a list of symbols, with the second value being quoted and stored.
02:33:00 <SevenInchBread> you could always make a "macroless" Lisp that sticks to the purity of Lisp syntax.
02:33:40 <SevenInchBread> (define) would just be a function that accepts a list of symbols and an arbitrary number of quored expressions.
02:34:05 <SevenInchBread> actually... for pure lisp, I would just implement a lambda and a set function.
02:34:32 <SevenInchBread> lambda following the rules above... but without a name.
02:37:06 <SevenInchBread> or... you can make lambda special syntax... since traditionally lambda isn't a "real" function.
02:37:38 -!- digital_me has quit ("Lost terminal").
02:38:34 <SevenInchBread> I can read it, I'm just not familiar with all the function names and such.
02:41:11 <SevenInchBread> lambda can be special syntax... why should it be a function anyways?
02:42:43 <SevenInchBread> " is syntax... what's the harm in simply having a ' for symbols and a \ for lambda?
02:45:24 <SevenInchBread> you can do anything Lisp can do as long as you have symbols and lambda
02:47:26 <bsmntbombdood> define as (set! env (cons (cons (cadr exp) (eval (caddr exp) env)) env)) doesn't work
02:50:18 <SevenInchBread> or is setl prettified macro version... like setq in common lisp?
02:51:58 <bsmntbombdood> so I say the begin is (last (map (lambda (e) (eval e env)) (cdr exp))))
02:52:01 <SevenInchBread> but basically, cond can be replaced with a function that accepts an arbitrary number of quoted expressions.
02:52:23 <bsmntbombdood> the thing that gets defined in the first arg of BEGIN is lost in the second arg
02:52:55 <SevenInchBread> macros are (kinda sorta) syntax sugar for a function that takes quotes... in most cases.
02:54:05 <SevenInchBread> well, I never said you can emulate Common Lisp without macros... you can however, emulate Lisp with quotes and lambda. :D
02:57:03 <SevenInchBread> and strictly symbol-to-value assignment... no function.
02:58:07 <bsmntbombdood> or just use the Y combinator for recursion like i did
02:59:39 <SevenInchBread> looks cooler, and it's a lot easier to press without messing up for me.
03:00:59 <SevenInchBread> I kinda wish keyboards used a separate key for begin quotes and end quotes.
03:03:02 -!- ShadowHntr has joined.
03:04:40 <SevenInchBread> A list of cons isn't really a fast symbol table though... not that you're striving for optimization at the moment.
03:13:43 <bsmntbombdood> there's no way for symbols to be defined, except for in a lambda, so i doubt it would have much effect right now
03:14:37 <SevenInchBread> basically... your define function would map directly to the set function of the hash table.
03:24:27 <bsmntbombdood> but one eval shouldn't be effected by the previous
03:24:31 <SevenInchBread> for evaluating a symbol, the thunk for the get hash value function cab be the symbol itself
03:25:21 <SevenInchBread> the default value returned if the hash table doesn't contain what you're looking for.
03:26:18 <SevenInchBread> I kinda think errors are messy... but so far its the best solution I've found.
03:26:36 <SevenInchBread> I like the idea of a system that can still run smoothly without the concept of an error.
03:27:57 -!- GregorR has quit ("leaving").
03:29:46 <SevenInchBread> Humans have a very nice system for balancing out faults...a homeostatic system is definetely possible.
03:30:03 <SevenInchBread> depends on where they mistype... of course you can't stop syntax errors...
03:31:45 <SevenInchBread> the lamma evaluates to a symbol... and you have a semantics rule that says any list that doesn't begin with a function is returned as a list
03:32:18 <bsmntbombdood> so now the users ends up with a list instead of what he wanted and has no ide what went wrong
03:33:33 -!- GregorR has joined.
03:34:03 <SevenInchBread> it's possible that lisp simply isn't cut out for being homeostatic however.
03:35:15 <SevenInchBread> Aside from syntax errors (mismatched brackets), a brainfuck program can never go wrong.
03:57:03 -!- SevenInchBread has quit (Read error: 110 (Connection timed out)).
04:15:38 -!- KyussWren has joined.
04:16:05 <KyussWren> http://i50.photobucket.com/albums/f325/ozewa/rules.jpg
04:16:28 <KyussWren> I am attempting to find an algorithum that works for resolving that conflict for two players.
04:19:53 <KyussWren> I had it on paper months ago, but I lost it =(
04:21:56 -!- GreaseMonkey has joined.
05:34:40 <GreaseMonkey> http://greasemonkey.nonlogic.org/miniscr-ra001.tar.gz
05:51:55 <oklopol> where A and B increase when going clockwise
05:56:58 <oklopol> OR you can just as easily make the names of those hand symbols map to their coordinates in that ring, you know that if angle A-origo-B==0, it's a draw, if it's less than 180, B wins, otherwise A wins, the angle must of course have A as it's left hand
06:00:32 <oklopol> you could always make give the necessary semantical data to all the signs for the program to be able to decide itself what defeats what, at least some RPS system like that had explaints for the results of various battle, like "ice beats fire cuz it's cold and fire can't stand that", so you give fire status "cold kills" and ice "/me cold", then you can easily change the signs and rules and the program can still always explain
06:00:37 <oklopol> all the victories automatically
06:01:30 <oklopol> i'm not even gonna start to correct my tautologies and typos :P
06:11:27 <oklopol> or, if you choose IRP for the language, make the program say "Please help me with my enormous problem! I have (A) and (B) in a conflict, which one beats the other? (RPS link)"
07:53:03 -!- ShadowHntr has quit ("End of line.").
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:43:15 -!- GreaseMonkey has quit ("Police, Don't Feature Euroipods").
11:15:50 <SimonRC> lol: http://newsbiscuit.com/article/dyslexic-child-was-stupid-as-well
12:53:16 -!- ihope_ has joined.
13:02:18 -!- ihope_ has quit ("http://tunes.org/~nef/logs/esoteric/06.08.09").
13:11:39 -!- ihope has quit (Read error: 110 (Connection timed out)).
13:44:59 -!- SevenInchBread has joined.
14:00:34 -!- SevenInchBread has changed nick to notCakeProphet.
14:25:39 -!- calamari has joined.
14:46:00 -!- notCakeProphet has changed nick to SevenInchBread.
14:56:37 -!- calamari has quit ("Leaving").
15:03:35 -!- tgwizard has joined.
16:12:35 -!- pgimeno has quit ("You're lucky as you can read this message but I can't").
16:12:44 -!- pgimeno has joined.
16:45:12 -!- sebbu has joined.
16:50:21 -!- ais523 has joined.
17:18:47 -!- ais523 has quit.
17:27:26 -!- oerjan has joined.
18:04:22 -!- oerjan has quit ("leaving").
18:36:01 -!- digital_me has joined.
18:59:44 -!- digital_me_ has joined.
19:06:52 -!- sebbu2 has joined.
19:14:18 -!- sebbu has quit (Read error: 60 (Operation timed out)).
19:26:11 -!- digital_me has quit (Nick collision from services.).
19:26:13 -!- digital_me_ has changed nick to digital_me.
19:26:27 -!- digital_me_ has joined.
21:39:55 -!- jix__ has joined.
21:56:47 -!- puzzlet has quit (Connection timed out).
22:27:58 -!- tgwizard has quit (Remote closed the connection).
22:57:13 -!- sebbu2 has quit ("@+").
23:09:27 -!- GreaseMonkey has joined.
23:17:24 -!- jix__ has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
23:23:20 <GreaseMonkey> listen: http://uncyclopedia.org/wiki/UnTunes:I_Like_Cats_%28The_Other_White_Meat%29
23:27:30 <bsmntbombdood> `(define ,(caadr exp) (lambda ,(cdadr exp) ,(caddr exp)))
23:28:49 <bsmntbombdood> that's the code to convert (define (f x) ...) to (define f (lambda (x) ...))
23:36:13 -!- nazgjunk has joined.
23:59:12 -!- lament has quit (Remote closed the connection).
23:59:15 -!- lament has joined.