00:05:43 -!- githogori [~githogori@191.sub-69-99-134.myvzw.com] has quit [Remote host closed the connection] 00:08:49 copumpkin [~pumpkin@17.101.89.204] has joined #scheme 00:08:49 -!- copumpkin [~pumpkin@17.101.89.204] has quit [Changing host] 00:08:49 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 00:08:53 -!- pumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 00:09:33 -!- LN^^ is now known as LN^off 00:13:01 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 00:13:36 -!- lbc [~quassel@0909ds1-sdb.0.fullrate.dk] has quit [Remote host closed the connection] 00:29:50 tauntaun [~icarus@64.134.66.60] has joined #scheme 00:32:07 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 252 seconds] 00:42:52 -!- Harrold [~quassel@70.50.217.222] has quit [Ping timeout: 250 seconds] 00:45:10 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 00:46:34 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 00:50:20 -!- samth is now known as samth_away 00:58:14 -!- ckrailo [~ckrailo@208.86.167.249] has quit [Quit: Computer has gone to sleep.] 01:04:33 *osoleve* has plenty of stuff he needs help with tonight 01:05:30 can anyone help me understand why if I call (%postfix-eval '(#\3 #\5 #\+) '()), i get told that the (car stack) on line 11 is receiving an empty list? 01:05:34 http://codepad.org/gHJ7P5XU 01:05:34 *offby1* has plenty of sandwiches he needs to eat tonight 01:05:45 i'll help you if you help me 01:05:48 rudybot: (%postfix-eval '(#\3 #\5 #\+) '()) 01:05:48 *offby1: your racket sandbox is ready 01:05:49 *offby1: error: reference to an identifier before its definition: %postfix-eval in module: 'program 01:05:53 what language is that? 01:06:01 guile 01:06:03 oh 01:07:30 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 01:08:22 lemme fire up guile 01:08:43 lemme repost the code including the definition of char->operator 01:09:02 I have guile 2.0, but it too complains that it doesn't know %postfix-eval 01:09:18 err, isn't that being defined? 01:09:33 *bremner* looks again 01:10:07 oops, I failed to notice the URL 01:11:07 http://codepad.org/kUFw3oXN 01:13:13 my internets are frustratingly slow at the moment 01:13:23 mine too :/ 01:14:13 Mine too; let's restart the Internet and see if it gets better. 01:14:23 ignis_ [~quassel@cpe-66-74-76-152.socal.res.rr.com] has joined #scheme 01:14:45 good idea 01:14:46 hold on to your asses 01:14:51 *osoleve* hits the big red button 01:15:07 maybe it's just codepad 01:15:25 too late 01:15:36 I didn't get a chance to grab my ass. 01:15:42 I was busy sitting on it 01:15:43 i did it for you 01:15:47 *osoleve* winks 01:15:47 oh, that was _you_ 01:15:54 *offby1* blushes furiousl 01:15:55 y 01:17:32 http://ideone.com/N6oM3 01:17:37 ^ faster than codepad atm 01:18:24 The canonical choice here is . It has a handy-dandy XML-RPC interface so that you can even just type `M-x lisppaste RET' in Edwin, and probably also GNU Emacs. 01:19:22 hey wait 01:19:27 osoleve, consider printing a trace of the program and stack as you execute each step. 01:19:28 i changed something and it works 01:19:45 *osoleve* dances 01:22:00 I should try that. 01:22:09 dancing? 01:22:17 *offby1* sticks some electrodes into his brain at random, and places his hand on the knob 01:22:18 reday? 01:22:29 *osoleve* throws the switch 01:22:33 hope so. 01:22:44 ¡¡zof 01:22:52 no f  u o o 01:22:58 success! 01:23:07 DrDuck [~duck@216.186.151.63] has joined #scheme 01:23:08 garoovy 01:23:59 I hate to sound like a pedant, but I'd split %postfix-eval into subfunctions -- one for each arm of the "cond" -- and I'd write unit tests for each 01:24:07 _and_ a test or two for %postfix-eval itself 01:24:31 it sounds tedious, but doing that sort of thing at the outset would have almost certainly prevented you from making whatever error you made. 01:25:18 hmm, i'll have to look into how to do so 01:25:20 thanks for the tip 01:25:48 there might be some unit-testing stuff built in to guile. If not, just some (assert this)and (assert that) should be fine 01:26:14 (assert 'osoleve-knows-what-he-is-doing) 01:26:22 Backtrace: 1: No he doesn't 01:35:38 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 01:36:35 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 01:40:23 AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has joined #scheme 01:49:43 xwl_ [~user@nat/nokia/x-nalvcgqadcnewtwf] has joined #scheme 01:58:41 hokay 01:59:00 so, if i do (shunting-yard (string->list "3+(3-4)")) 01:59:14 the #\+ disappears, and the #\- is encased in parens 01:59:17 halp? 01:59:20 http://ideone.com/syka5 01:59:33 i've been at this since last night trying to figure it out 01:59:44 it just... eats operators before parens 02:00:20 -!- tauntaun [~icarus@64.134.66.60] has quit [Quit: Ex-Chat] 02:02:39 -!- Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has quit [Ping timeout: 276 seconds] 02:05:17 -!- tupi [~david@189.60.162.71] has quit [Quit: Leaving] 02:05:52 -!- pygospa [~TheRealPy@kiel-5f768008.pool.mediaWays.net] has quit [Disconnected by services] 02:06:01 pygospa [~TheRealPy@kiel-5f76841b.pool.mediaWays.net] has joined #scheme 02:06:20 Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has joined #scheme 02:08:58 -!- xwl_ [~user@nat/nokia/x-nalvcgqadcnewtwf] has quit [Remote host closed the connection] 02:09:12 sounds monstrous 02:09:30 it is. just look at the huge function! :O 02:09:36 *offby1* considers boycotting any paste site that doesn't have a nice, big button labeled RAW 02:09:57 there's no effing way I'm reading all that. 02:10:11 I bet you don't understand it a lot better than I do. 02:10:36 This is another argument for breaking stuff up into reasonably-small functions, and writing unit tests: it makes it easier for someone else to understand what's going on. 02:10:44 understand it? i wrote it! 02:10:47 heh 02:10:48 of course i don't understand it. 02:10:53 oh OK :) 02:10:59 I thought you were being naïve for a second there. 02:12:41 osoleve: this won't solve your problem, but it'll make the Baby Jesus stop sobbing: PLEASE change that lone 48 into (char->integer #\0) 02:13:11 omg it works now! 02:13:14 just kidding 02:13:17 but that's a good point 02:13:25 *offby1* shudders 02:13:39 it's mostly a style thing; and it's clear to me what the 48 is for, but ... yow. 02:15:30 now, some patronizing words of advice: 02:15:40 from our sponsors 02:15:41 if you'd written shunting-yard like this http://ix.io/1yh 02:16:09 then it'd be _easy_ to test (assuming you had a way to "mock" the "empty-statement-stuff" etc functions, which is actually not necessarily easy) 02:16:18 and easy to eyeball and perhaps notice problems. 02:16:37 also, each of those little functions would be a lot less overwhelming to test and understand. 02:16:52 githogori [~githogori@adsl-66-123-22-146.dsl.snfc21.pacbell.net] has joined #scheme 02:16:58 but... that's less beastly and intimidating 02:17:03 sorry to sound like a broken record, but if that were my code, the _first_ thing I'd do is break it apart like that, and the second thing I'd do is put together at least a few tests. 02:17:04 ( started as a Perl hacker) 02:17:13 geez, in Perl, testing is SUPER EASY 02:17:20 you got that test-anywhere protocol thingy 02:17:32 Larry makes it easy for you to test 02:17:55 but the code is always intimidating, as a rule. 02:18:09 anyways, i'll work on modifying my code to make it more modular 02:18:42 xwl_ [~user@nat/nokia/x-oepcvuvcjbwfwmoy] has joined #scheme 02:22:41 tauntaun [~icarus@ool-457c37c3.dyn.optonline.net] has joined #scheme 02:22:45 osoleve: If you already have intimidating code, it might be more rewarding moving on the contrary, to make it more klingon-like. 02:25:25 i like to think of my code less as Klingon, and more like the Borg 02:25:37 it just assimilates more code into it and grows more powerful 02:25:55 Yes, but it also needs to borgify assimilated code! 02:30:30 say i open an input file port and read some data, if i then use (port->fileno) to pass the descriptor to something expecting a file descriptor, will it begin reading from the (port-position), or will it try to start from the beginning? 02:30:54 What Scheme system are you using, ysph? 02:30:59 chicken 02:31:58 I don't know, but there is a good chance it will start reading from slightly earlier than what Chicken reports as the port's position: the port is likely to have a buffer. 02:33:43 that would make sense, i'm trying to use the z3 extension to read compressed data, but i need to it to start inflating after first reading an uncompressed header 02:35:16 ideally, i'd like to have z3:open-compressed-input-port 02:37:27 i might be able to use z3:decode-buffer to construct a make-input-port 02:39:06 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 02:43:53 Well, first, try it and find out. Write a trivial wrapper around lseek to find out what the file descriptor's position actually is. 02:44:15 Or, UTSL. 02:51:16 lingrush [~klol@av104117.reshsg.uci.edu] has joined #scheme 02:52:35 -!- MrFahrenheit [~RageOfTho@users-149-156.vinet.ba] has quit [Ping timeout: 276 seconds] 02:58:56 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 250 seconds] 02:59:45 -!- masm [~masm@bl15-135-214.dsl.telepac.pt] has quit [Read error: Operation timed out] 03:05:26 teurastaja [~Samuel@modemcable182.177-200-24.mc.videotron.ca] has joined #scheme 03:07:49 ikarus doesnt have a trace procedure. what could i do? just switch implementations? 03:09:26 common_tragedian [~common_tr@h69-129-202-204.mdsnwi.broadband.dynamic.tds.net] has joined #scheme 03:09:26 I guess the only other option is implementing one. :-P 03:09:48 im too noob for that 03:10:44 i wanted to use it for studying an expression 03:11:05 so i guess thatll make ikarus out 03:11:14 teurastaja: if the expression is reasonably portable, you might be able to use DrRacket's "stepper" 03:11:55 whats that? 03:12:05 -!- ebzzry [~aoeu@203.213.202.186] has quit [Ping timeout: 276 seconds] 03:12:31 DrRacket is the GUI component of "racket". "racket" is a nice scheme implementation. 03:12:39 the "stepper" is a sort of debugging tool. 03:12:53 i was asking about stepper 03:13:05 Frankly it rarely works for me, but it's _supposed_ to let you step through your code, just as you'd use Visual Studio to "step through" C back in 1988 03:13:26 im not that old 03:13:31 i wasnt born 03:13:58 OK, then, gdb in 1998 :) 03:14:10 good 03:14:18 better relates to me 03:14:26 or at least my generation 03:14:38 ebzzry [~aoeu@203.213.202.186] has joined #scheme 03:14:38 why don't you all f-f-fade away 03:14:39 *offby1* glances around nervously. 03:15:12 *teurastaja* is confused 03:15:13 -!- lingrush [~klol@av104117.reshsg.uci.edu] has quit [Quit: computer is acting funny] 03:15:15 of course you are 03:15:33 i think i'm too young to get that reference. 03:15:45 or too hip. but probably the former. 03:16:09 too not-old-enough, more like. 03:16:16 subtly different from "too young" 03:16:17 i was born in 89 03:16:32 http://goo.gl/LpomZ for the obsessive 03:16:49 is that young? 03:16:52 89, same. i'm a young'n. 03:16:55 Racket has other debugging tools besides its Stepper 03:17:09 "young" is anyone born more than ten years after I was. 03:17:27 the Stepper is a decent pedagogical tool for its teaching languages, but they have a variety of other introspection tools available 03:17:35 young needs a recursive definition 03:17:53 "young": Canadian rocker, known since 1966 03:18:08 by bizarre coincidence, he's playing right now on my Pandora feed 03:18:31 hail black metal 03:18:36 ... 03:18:52 young: being ten years younger than offby1 03:18:59 bam! recursive-ish 03:20:54 the definition depends on you thus is crap 03:21:03 teurastaja: Do you want the trace procedure for the call/cc puzzle you asked about earlier? Or is this for something else? 03:21:14 yup 03:21:55 *pnkfelix1* fires up a fresh download of DrRacket to see how the current version's doing 03:21:55 i understand it but still need to think about it 03:22:36 i should think about something else 03:27:53 saccade [~saccade@74-95-7-186-SFBA.hfc.comcastbusiness.net] has joined #scheme 03:34:47 Here's how I would do the puzzle in Larceny: http://paste.lisp.org/display/120551 03:35:13 masm [~masm@bl15-135-214.dsl.telepac.pt] has joined #scheme 03:36:06 (I defined a wrapper around call/cc so that the output would be less confusing; tracing call/cc directly means that you get to see the calls to call/cc that Twobit makes as its JIT compiling at the REPL) 03:41:55 Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has joined #scheme 03:41:55 -!- Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has quit [Changing host] 03:41:55 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 03:43:52 -!- common_tragedian [~common_tr@h69-129-202-204.mdsnwi.broadband.dynamic.tds.net] has quit [Remote host closed the connection] 03:47:05 pnkfelix1: Fancy. 03:52:33 -!- pnkfelix1 [~Adium@c-68-82-87-23.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 03:54:26 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 04:02:32 -!- ebzzry [~aoeu@203.213.202.186] has quit [Read error: Connection reset by peer] 04:02:49 ebzzry [~aoeu@203.213.202.186] has joined #scheme 04:11:28 ladies and gentlemen, your pythonism of the day: http://paste.pocoo.org/show/354291/ 04:12:04 elly: that actually makes sense, given the definition of tuple. 04:12:12 you're trying to modify a tuple, which isn't allwoed. 04:12:14 allowed. 04:12:51 offby1: then why does it write to the tuple anyway? 04:12:53 Actually, no, you're trying to modify a list, which is allowed, and the modification succeeds, except that Python yells at you nevertheless. Look at the last line. 04:13:08 yes 04:13:17 the combination of 'error message + success' is the part that I am baffled by 04:13:37 hmm 04:13:54 ok, you got me. I'm all confused now. 04:14:09 I suspect you've reached a "corner Guido never thought about" 04:14:40 anyway, aren't you glad you use Scheme instead? :-| 04:15:28 Well, gee, I dunno, Scheme gives me even more confusing errors when I try to run that code... 04:16:17 But, surely it only errors, and doesn't succeed too? 04:16:27 undefined variable t, #{Procedure 117 =}, illegal character read #\[... 04:16:58 'unquote: not in quasiquote in: (unquote (2 (unquote 3)))' 04:17:00 Heh 04:18:09 just a simple matter of edumication 04:20:14 `I am not able rightly to apprehend the kind of confusion of ideas that could provoke such [behaviour].' 04:20:28 :P 04:33:07 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 04:41:17 -!- tauntaun [~icarus@ool-457c37c3.dyn.optonline.net] has quit [Quit: Ex-Chat] 04:49:50 dnolen [~davidnole@184.152.69.75] has joined #scheme 04:52:22 -!- metasyntax [~taylor@72.86.89.174] has quit [Ping timeout: 246 seconds] 05:03:42 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 05:04:14 bharath_g [~bharath10@117.211.88.150] has joined #scheme 05:09:10 -!- bharath_g [~bharath10@117.211.88.150] has quit [Remote host closed the connection] 05:09:34 bharath_g [~bharath10@117.211.88.150] has joined #scheme 05:10:37 -!- bharath_g [~bharath10@117.211.88.150] has quit [Remote host closed the connection] 05:16:14 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 05:37:27 Adamant_ [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has joined #scheme 05:37:27 -!- Adamant_ [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has quit [Changing host] 05:37:27 Adamant_ [~Adamant@unaffiliated/adamant] has joined #scheme 05:37:52 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 246 seconds] 05:37:53 -!- Adamant_ is now known as Adamant 05:38:23 -!- paulh_ [~paulh@3-12-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 05:48:37 `Jaka [Mango-chan@deu-77-231.ResHall.Berkeley.EDU] has joined #scheme 05:48:52 -!- `Jaka [Mango-chan@deu-77-231.ResHall.Berkeley.EDU] has quit [Client Quit] 05:49:19 `Jaka [Mango-chan@ucbvpn-209-230.VPN.Berkeley.EDU] has joined #scheme 05:51:02 -!- christopher_ [~christoph@c-98-201-58-105.hsd1.tx.comcast.net] has quit [Ping timeout: 255 seconds] 05:52:08 -!- Mango-chan [Mango-chan@unaffiliated/mango-chan] has quit [Ping timeout: 240 seconds] 06:02:22 metasyntax [~taylor@184.18.7.169] has joined #scheme 06:04:44 -!- nteon [~nteon@c-98-210-195-105.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 06:08:48 -!- xwl_ [~user@nat/nokia/x-oepcvuvcjbwfwmoy] has quit [Remote host closed the connection] 06:09:15 xwl_ [~user@nat/nokia/x-prvdgxnphgxjvvyg] has joined #scheme 06:10:26 -!- teurastaja [~Samuel@modemcable182.177-200-24.mc.videotron.ca] has quit [] 06:22:46 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 240 seconds] 06:29:50 -!- masm [~masm@bl15-135-214.dsl.telepac.pt] has quit [Quit: Leaving.] 06:36:56 -!- metasyntax [~taylor@184.18.7.169] has quit [Ping timeout: 250 seconds] 06:38:51 -!- saccade [~saccade@74-95-7-186-SFBA.hfc.comcastbusiness.net] has quit [Quit: This computer has gone to sleep] 06:39:28 saccade [~saccade@74-95-7-186-SFBA.hfc.comcastbusiness.net] has joined #scheme 06:39:36 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 260 seconds] 06:40:31 Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has joined #scheme 06:40:31 -!- Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has quit [Changing host] 06:40:32 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 06:41:54 jewel [~jewel@196-210-187-123.dynamic.isadsl.co.za] has joined #scheme 06:42:29 metasyntax [~taylor@184.18.7.169] has joined #scheme 06:46:33 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 06:52:19 -!- ignis_ [~quassel@cpe-66-74-76-152.socal.res.rr.com] has quit [Remote host closed the connection] 06:54:49 homie` [~levgue@xdsl-78-35-152-248.netcologne.de] has joined #scheme 06:55:08 wbooze` [~levgue@xdsl-78-35-152-248.netcologne.de] has joined #scheme 06:56:39 tupi [~david@189.60.162.71] has joined #scheme 06:56:45 -!- wbooze [~levgue@xdsl-84-44-152-180.netcologne.de] has quit [Ping timeout: 252 seconds] 06:57:11 -!- jewel [~jewel@196-210-187-123.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 06:57:11 -!- homie [~levgue@xdsl-84-44-152-180.netcologne.de] has quit [Ping timeout: 255 seconds] 07:01:05 Senjai [Senjai@host7-178.resnet.ubc.ca] has joined #scheme 07:03:01 -!- `Jaka is now known as Mango-chnan 07:03:47 -!- Senjai [Senjai@host7-178.resnet.ubc.ca] has quit [Client Quit] 07:04:02 -!- Mango-chnan is now known as Mango-chan 07:04:04 -!- Mango-chan [Mango-chan@ucbvpn-209-230.VPN.Berkeley.EDU] has quit [Changing host] 07:04:04 Mango-chan [Mango-chan@unaffiliated/mango-chan] has joined #scheme 07:13:31 nilg [~user@77.70.2.229] has joined #scheme 07:16:36 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 07:16:49 -!- saccade [~saccade@74-95-7-186-SFBA.hfc.comcastbusiness.net] has quit [Quit: This computer has gone to sleep] 07:18:08 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 246 seconds] 07:19:56 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 07:37:36 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 250 seconds] 07:49:53 bharath_g [~bharath10@117.211.88.150] has joined #scheme 07:55:46 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 08:00:33 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 252 seconds] 08:02:36 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 08:03:39 hkBst [~quassel@gentoo/developer/hkbst] has joined #scheme 08:08:26 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 240 seconds] 08:13:00 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 08:20:38 homie`` [~levgue@xdsl-78-35-152-248.netcologne.de] has joined #scheme 08:21:07 -!- homie` [~levgue@xdsl-78-35-152-248.netcologne.de] has quit [Read error: Operation timed out] 08:26:06 -!- AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has quit [Ping timeout: 250 seconds] 08:30:41 AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has joined #scheme 08:57:15 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 09:00:20 -!- ebzzry [~aoeu@203.213.202.186] has quit [Read error: Connection reset by peer] 09:05:04 ebzzry [~aoeu@203.213.202.186] has joined #scheme 09:05:17 gravicappa [~gravicapp@ppp91-77-161-179.pppoe.mtu-net.ru] has joined #scheme 09:10:55 nilg` [~user@77.70.2.229] has joined #scheme 09:14:04 -!- wbooze` [~levgue@xdsl-78-35-152-248.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:14:14 -!- homie`` [~levgue@xdsl-78-35-152-248.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:18:35 homie [~levgue@xdsl-78-35-152-248.netcologne.de] has joined #scheme 09:20:23 -!- emporas [~emporas@athedsl-167153.home.otenet.gr] has quit [Remote host closed the connection] 09:23:19 -!- ebzzry [~aoeu@203.213.202.186] has quit [Read error: Connection reset by peer] 09:23:37 ebzzry [~aoeu@203.213.202.186] has joined #scheme 09:24:18 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 09:42:54 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 09:48:49 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 246 seconds] 09:49:38 -!- xwl_ [~user@nat/nokia/x-prvdgxnphgxjvvyg] has quit [Ping timeout: 252 seconds] 09:51:00 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 09:54:35 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Ping timeout: 248 seconds] 09:57:09 emporas [~emporas@athedsl-167153.home.otenet.gr] has joined #scheme 10:10:03 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 248 seconds] 10:11:09 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 10:11:35 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #scheme 10:46:34 -!- emporas [~emporas@athedsl-167153.home.otenet.gr] has quit [Ping timeout: 246 seconds] 10:55:02 tr3x [~tr3x@46.188.173.29] has joined #scheme 10:56:34 -!- LN^off is now known as LN^^ 11:04:59 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 252 seconds] 11:20:31 xwl [~user@114.241.246.28] has joined #scheme 11:33:35 -!- xwl [~user@114.241.246.28] has quit [Remote host closed the connection] 11:38:26 -!- drdo [~user@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 11:51:34 Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has joined #scheme 11:51:34 -!- Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has quit [Changing host] 11:51:34 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 11:55:32 emporas [~emporas@athedsl-167153.home.otenet.gr] has joined #scheme 12:14:22 masm [~masm@bl15-135-214.dsl.telepac.pt] has joined #scheme 12:26:15 _p4bl0` [~user@berthold.shebang.ws] has joined #scheme 12:27:50 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 276 seconds] 12:28:38 bremner_ [~bremner@yantan.tethera.net] has joined #scheme 12:28:46 Koven [~kovensky@abraxo.bluebottle.net.au] has joined #scheme 12:28:47 rmrfchik_ [~rmrfchik@linuxhacker.ru] has joined #scheme 12:28:49 tizoc` [~user@li25-112.members.linode.com] has joined #scheme 12:29:04 pnkfelix [~Adium@c-71-225-63-148.hsd1.pa.comcast.net] has joined #scheme 12:29:22 elly_ [~elly@atheme/member/elly] has joined #scheme 12:29:31 docgnome` [~docgnome@web169.webfaction.com] has joined #scheme 12:29:39 -!- tizoc [~user@unaffiliated/tizoc] has quit [Ping timeout: 240 seconds] 12:29:39 -!- incandenza [~incandenz@ip68-231-109-244.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 12:29:39 -!- docgnome [~docgnome@75.125.121.216] has quit [Ping timeout: 240 seconds] 12:29:39 -!- bremner [~bremner@yantan.tethera.net] has quit [Ping timeout: 240 seconds] 12:29:39 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 240 seconds] 12:29:39 -!- rmrfchik [~rmrfchik@linuxhacker.ru] has quit [Ping timeout: 240 seconds] 12:29:39 -!- gabot [~eli@winooski.ccs.neu.edu] has quit [Ping timeout: 240 seconds] 12:29:40 -!- klutometis [klutometis@pdpc/supporter/professional/klutometis] has quit [Ping timeout: 240 seconds] 12:29:40 -!- Kovensky [~kovensky@abraxo.bluebottle.net.au] has quit [Ping timeout: 240 seconds] 12:29:40 -!- _p4bl0 [~user@berthold.shebang.ws] has quit [Ping timeout: 240 seconds] 12:29:40 klutomet1s [klutometis@klutometis.wikitex.org] has joined #scheme 12:29:55 incandenza [~incandenz@ip68-231-109-244.ph.ph.cox.net] has joined #scheme 12:30:25 -!- tizoc` is now known as tizoc 12:30:29 -!- tizoc [~user@li25-112.members.linode.com] has quit [Changing host] 12:30:29 tizoc [~user@unaffiliated/tizoc] has joined #scheme 12:31:06 Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has joined #scheme 12:31:06 -!- Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has quit [Changing host] 12:31:06 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 12:35:08 -!- pnkfelix [~Adium@c-71-225-63-148.hsd1.pa.comcast.net] has quit [Quit: Leaving.] 12:41:38 -!- _p4bl0` is now known as _p4bl0 12:43:33 ijp` [~user@host109-154-210-22.range109-154.btcentralplus.com] has joined #scheme 12:45:56 -!- ijp [~user@host86-150-73-241.range86-150.btcentralplus.com] has quit [Ping timeout: 255 seconds] 12:46:31 -!- yorick [~yorick@unaffiliated/yorick] has quit [Ping timeout: 260 seconds] 12:51:07 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 252 seconds] 12:51:32 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 13:03:31 -!- elly_ is now known as elly 13:07:46 pnkfelix [~Adium@c-71-225-63-148.hsd1.pa.comcast.net] has joined #scheme 13:08:27 -!- ijp` [~user@host109-154-210-22.range109-154.btcentralplus.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:08:44 -!- yosafbridge [~yosafbrid@li125-242.members.linode.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:09:05 yosafbridge [~yosafbrid@li125-242.members.linode.com] has joined #scheme 13:11:04 -!- tr3x [~tr3x@46.188.173.29] has quit [Read error: Connection reset by peer] 13:11:08 dnolen [~davidnole@184.152.69.75] has joined #scheme 13:11:14 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Quit: Adamant] 13:12:35 Harrold [~quassel@70.50.219.38] has joined #scheme 13:18:11 -!- bharath_g [~bharath10@117.211.88.150] has quit [Remote host closed the connection] 13:22:14 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 13:33:53 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Quit: Leaving] 13:39:33 xwl [~user@114.241.246.28] has joined #scheme 13:47:45 bharath_g [~bharath10@117.211.88.150] has joined #scheme 13:50:24 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 13:50:30 -!- AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has quit [Ping timeout: 276 seconds] 13:59:42 AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has joined #scheme 14:07:30 -!- tupi [~david@189.60.162.71] has quit [Quit: Leaving] 14:14:52 tauntaun [~icarus@64.134.66.60] has joined #scheme 14:17:29 carleastlund [~cce@gotham.ccs.neu.edu] has joined #scheme 14:17:46 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 14:19:15 tr3x [~tr3x@178.160.62.75] has joined #scheme 14:26:51 -!- xwl [~user@114.241.246.28] has quit [Remote host closed the connection] 14:38:21 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 14:38:29 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Ping timeout: 276 seconds] 14:42:42 -!- leppie [~lolcow@196-210-170-60.dynamic.isadsl.co.za] has quit [Ping timeout: 241 seconds] 14:42:45 -!- DrDuck [~duck@216.186.151.63] has quit [Ping timeout: 250 seconds] 14:50:52 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 14:53:22 tronador_ [~guille@190.145.89.146] has joined #scheme 14:57:32 -!- ysph [~user@75-143-92-146.dhcp.aubn.al.charter.com] has quit [Read error: Operation timed out] 14:57:34 vu3rdd [~vu3rdd@122.172.225.23] has joined #scheme 14:57:34 -!- vu3rdd [~vu3rdd@122.172.225.23] has quit [Changing host] 14:57:34 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 14:59:49 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 15:13:03 -!- Koven is now known as Kovensky 15:15:48 tupi [~david@139.82.89.24] has joined #scheme 15:20:11 -!- samth_away is now known as samth 15:20:20 pdlogan [~patrick@75-175-21-183.ptld.qwest.net] has joined #scheme 15:26:47 -!- AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has quit [Ping timeout: 252 seconds] 15:28:44 -!- tr3x [~tr3x@178.160.62.75] has quit [Quit: bye] 15:28:48 -!- Harrold [~quassel@70.50.219.38] has quit [Read error: Operation timed out] 15:28:59 AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has joined #scheme 15:33:23 -!- AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has quit [Ping timeout: 252 seconds] 15:34:08 AtnNn [~welcome@modemcable060.239-177-173.mc.videotron.ca] has joined #scheme 15:40:55 ckrailo [~ckrailo@208.86.167.249] has joined #scheme 15:46:45 ysph [~user@75-143-85-15.dhcp.aubn.al.charter.com] has joined #scheme 15:57:46 -!- tauntaun [~icarus@64.134.66.60] has quit [Quit: Ex-Chat] 15:58:49 leppie [~lolcow@196-210-170-60.dynamic.isadsl.co.za] has joined #scheme 16:00:46 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 16:05:28 erjiang [~erjiang@c-67-167-96-135.hsd1.in.comcast.net] has joined #scheme 16:15:11 -!- hkBst [~quassel@gentoo/developer/hkbst] has quit [Remote host closed the connection] 16:16:59 -!- docgnome` [~docgnome@web169.webfaction.com] has quit [Quit: Coyote finally caught me] 16:18:22 docgnome [~docgnome@web169.webfaction.com] has joined #scheme 16:26:37 tauntaun [~icarus@ool-457c37c3.dyn.optonline.net] has joined #scheme 16:30:42 Harrold [~quassel@dhcp-101-103.hpsc-staff.carleton.ca] has joined #scheme 16:33:41 -!- docgnome [~docgnome@web169.webfaction.com] has quit [Quit: Coyote finally caught me] 16:33:47 docgnome [~docgnome@web169.webfaction.com] has joined #scheme 16:40:22 -!- Harrold [~quassel@dhcp-101-103.hpsc-staff.carleton.ca] has quit [Read error: Operation timed out] 16:41:56 Harrold [~quassel@dhcp-143-27.hpsc-students.carleton.ca] has joined #scheme 16:42:08 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 16:43:07 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Ping timeout: 248 seconds] 16:50:51 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 17:04:27 -!- rononovski_ [~rononovsk@bzq-79-182-184-227.red.bezeqint.net] has quit [Quit: Leaving] 17:04:59 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Remote host closed the connection] 17:07:29 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 17:09:36 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Ping timeout: 260 seconds] 17:17:44 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 17:20:23 jewel [~jewel@196-210-187-123.dynamic.isadsl.co.za] has joined #scheme 17:23:24 -!- klutomet1s [klutometis@klutometis.wikitex.org] has quit [Changing host] 17:23:24 klutomet1s [klutometis@pdpc/supporter/professional/klutometis] has joined #scheme 17:23:28 -!- klutomet1s is now known as klutometis 17:28:33 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 17:40:40 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Remote host closed the connection] 17:42:54 -!- tronador_ [~guille@190.145.89.146] has quit [Quit: tronador_] 17:49:56 Harrold_ [~quassel@134.117.254.250] has joined #scheme 17:50:08 -!- Harrold [~quassel@dhcp-143-27.hpsc-students.carleton.ca] has quit [Ping timeout: 255 seconds] 17:51:35 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 18:00:46 If any have a couple minutes to spare, could you take a look at my Scheme interpreter and see if the semantics are right? 18:00:55 http://bit.ly/gL9Tiy 18:01:36 erjiang: why not write some unit tests? That way you can find out without having to rely upon the kindness of strangers. 18:01:52 I do, but my test suite is somewhat small right now 18:02:10 ooh, it's all in javascript, eh? 18:02:12 and I don't have many tests for continuations yet 18:02:36 Two main dialects? You forgot Emacs Lisp. 18:02:53 Riastradh: that's just copypasta from Wikipedia, I think 18:04:23 Is the uncondensed source available somewhere? 18:04:37 https://github.com/erjiang/foxscheme 18:04:45 although that might be a bit out of date 18:14:18 -!- Harrold_ [~quassel@134.117.254.250] has quit [Ping timeout: 252 seconds] 18:17:59 -!- erjiang is now known as erjiang_away 18:18:03 -!- nilg [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 18:18:53 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Read error: Operation timed out] 18:30:29 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [Ping timeout: 252 seconds] 18:36:09 Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has joined #scheme 18:36:09 -!- Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has quit [Changing host] 18:36:10 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 18:36:20 tronador_ [~guille@190.145.89.146] has joined #scheme 18:38:17 -!- erjiang_away [~erjiang@c-67-167-96-135.hsd1.in.comcast.net] has quit [Ping timeout: 255 seconds] 18:39:47 you're gone but I did not see what symbol is used for call/cc... oh well... 18:40:38 femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #scheme 18:43:02 -!- emporas [~emporas@athedsl-167153.home.otenet.gr] has quit [Read error: Connection reset by peer] 18:50:47 offby1: i sort of modularized my code, now i'm stuck again :( 18:50:55 vilsonvieira [~vilson@h08100.ifsc.usp.br] has joined #scheme 18:52:08 HG` [~HG@dslb-188-109-205-107.pools.arcor-ip.net] has joined #scheme 18:52:08 osoleve: perhaps I'll be able to comprehend it now 18:52:55 http://ideone.com/MpjeV 18:52:59 codepad is still slow :( 18:54:33 Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has joined #scheme 18:54:33 -!- Adamant [~Adamant@97-83-97-117.dhcp.trcy.mi.charter.com] has quit [Changing host] 18:54:33 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 18:55:07 and, sorry i never got around to helping you with your sandwiches yesterday 18:56:16 well, I like the direction you took it. 18:57:01 but it's still far too complicated for me to look at and simply understand. If I can get the code to do something in my repl, perhaps I'll have an insight ... 18:57:20 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Remote host closed the connection] 18:57:22 let me post the rest of the code (the helper functions) 18:57:53 http://ideone.com/HYuls 18:58:23 osoleve: this is complex enough that you might consider setting up a github account for it. 18:59:27 if you were to do that, you _might_ be able to talk me into writing one or two unit tests, to show you how it's done (it'd require me to read up on Guile 2, but that's OK, I've been looking for an excuse to do that anyway). 18:59:43 (i'm using guile 1.8.8 :-/ 19:00:19 hmm 19:00:31 is that required by your class? 19:00:39 (I suspect your code is reasonably portable anyway) 19:00:56 no, it's required by my "my machine doesn't want to compileGuile 2.0.0" 19:00:57 :/ 19:01:29 I _used_ to have a terrible time building it, but I think it somehow got easier. 19:01:35 Lemme see if I can figure out how I built it. 19:02:42 can't tell. I may have installed a bunch of weirdo libraries on which it depends. 19:02:51 Anyway, that's irrelevant; I can certainly run guild 1.8.8 if I need to. 19:03:25 osoleve: I guess what I'm saying is: if you need help from someone (like, e.g., me), and your code is reasonably complex (and it is), then using a decent collaboration tool like github is a good idea. 19:03:34 working on it now 19:03:40 forgot to reset my public key 19:03:51 I guarantee you, I am pretty lazy and will be way less inclined to help if I have to keep scraping code from a paste site. 19:06:20 https://github.com/osoleve/Scheme-Infix-Calculator/blob/master/shunting-yard.scm 19:06:20 http://tinyurl.com/48n6ogr 19:06:38 thank you, rudybot 19:09:06 excellent! gimme a few minutes 19:09:52 or actually longer than that. 19:11:38 *osoleve* hugs offby1 19:14:48 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has left #scheme 19:16:43 ijp [~user@host109-154-210-22.range109-154.btcentralplus.com] has joined #scheme 19:20:39 tr3x [~tr3x@93-138-106-167.adsl.net.t-com.hr] has joined #scheme 19:21:20 man, the guile 1.8 docs are useless 19:21:27 at least, the ubuntu package is 19:23:18 gaah, burned by the stupid "non-DFSG-free" thing 19:23:39 put ice on it, that helps 19:23:44 or a pack of frozen peas 19:23:50 or my ex girlfriend 19:23:52 oooooh 19:24:25 nilg [~user@77.70.2.229] has joined #scheme 19:31:08 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 19:33:33 She's so cold, like an Arctic zone. 19:34:23 osoleve: a patch for you: http://dl.dropbox.com/u/203667/0001-Unit-test-ideas.patch 19:35:14 I've already found one bug. 19:36:27 homie` [~levgue@xdsl-78-35-184-234.netcologne.de] has joined #scheme 19:36:42 sorry to sound dumb, but... how do i use .patch files? 19:36:51 i opened it in emacs and it made me confused. 19:37:09 You use the patch command, of course. 19:37:35 ...oh. 19:37:37 haha, thanks 19:39:01 (This instruction generalizes: to use .c files, you use the c command; to use .scm files, you use the scm command; to use .txt files, you use the txt command; to use .tgz files, you use the tgz command...) 19:39:02 -!- homie [~levgue@xdsl-78-35-152-248.netcologne.de] has quit [Ping timeout: 255 seconds] 19:39:12 (Hmm, something doesn't seem quite right, though.) 19:39:29 -!- jewel [~jewel@196-210-187-123.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 19:43:28 erjiang_away [~erjiang@c-67-167-96-135.hsd1.in.comcast.net] has joined #scheme 19:44:08 Riastradh, with .c files you use cc. 19:44:08 thanks, offby1 19:44:20 fixed last, now i'm working on the rest 19:44:28 should we use .cc for C files? 19:46:01 DT``: Riastradh was being sarcastic. 19:46:14 cky, me too. 19:46:20 :-P 19:46:55 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 20:02:25 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 20:08:09 -!- tr3x [~tr3x@93-138-106-167.adsl.net.t-com.hr] has quit [Ping timeout: 276 seconds] 20:09:23 -!- bharath_g [~bharath10@117.211.88.150] has quit [Remote host closed the connection] 20:12:02 -!- homie` [~levgue@xdsl-78-35-184-234.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:15:42 homie [~levgue@xdsl-78-35-184-234.netcologne.de] has joined #scheme 20:23:38 MrFahrenheit [~RageOfTho@users-144-148.vinet.ba] has joined #scheme 20:36:51 -!- HG` [~HG@dslb-188-109-205-107.pools.arcor-ip.net] has quit [Quit: Leaving.] 20:57:31 -!- cmatei [~cmatei@95.76.17.75] has quit [Ping timeout: 252 seconds] 20:57:59 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 21:00:48 -!- leppie [~lolcow@196-210-170-60.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 21:05:37 leppie [~lolcow@196-210-170-60.dynamic.isadsl.co.za] has joined #scheme 21:10:34 nilg [~user@77.70.2.229] has joined #scheme 21:15:46 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 260 seconds] 21:17:25 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 21:27:32 erjiang_away: I did not see the a binding for call-with-current-yadda-yadd or call/cc, cwcc, etc. in your foxscheme - says it works? 21:32:36 pdlogan call/cc is implemented as syntax right now 21:32:49 so call/cc won't return #, but (call/cc ...) should run 21:32:55 -!- LN^^ is now known as LN^off 21:33:02 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 252 seconds] 21:33:26 pdlogan: and call-with-current-continuation isn't in there at the moment 21:33:51 -!- C-Keen [ckeen@pestilenz.org] has quit [Ping timeout: 260 seconds] 21:34:30 C-Keen [ckeen@pestilenz.org] has joined #scheme 21:36:02 Why not rename your syntax CATCH, and (define (call-with-current-continuation receiver) (catch c (receiver c)))? 21:37:01 -!- erjiang_away is now known as erjiang 21:37:41 Riastradh: why like that? 21:37:51 Riastradh, why not let/cc? 21:38:02 letcc is already in there 21:38:31 oh. 21:38:41 erjiang, CALL-WITH-CURRENT-CONTINUATION is supposed to be a procedure, but for some reason you have chosen to make it not be one -- I'm wondering why. 21:38:44 but call/cc and letcc are not defined in terms of each other 21:38:50 Riastradh: just convenience at the moment 21:39:32 it will probably change once I get around to adding dynamic-wind 21:39:49 DT``, *shrug*. CATCH is the traditional name. LET/CC reads `LET with current continuation', which is a little silly; the vanilla LET uses the current continuation already. 21:40:15 letcc here is "let the current continuation be" 21:40:28 erjiang: ok - got it. thx 21:40:30 so (letcc k (begin (k 2) 3)) => 2 21:40:44 anyways, thanks everybody for checking it out 21:40:47 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 21:40:48 i'll be back in a bit 21:40:57 -!- erjiang is now known as erjiang___ 21:43:10 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 21:47:18 cmatei [~cmatei@95.76.17.75] has joined #scheme 21:47:51 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 260 seconds] 21:49:22 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 22:06:58 tupi [~david@189.60.162.71] has joined #scheme 22:07:20 -!- LN^off is now known as LN^^ 22:08:31 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 22:10:26 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Ping timeout: 252 seconds] 22:26:30 erjiang___: I have a scheme in javascript as well, so we can compare notes... https://github.com/patrickdlogan/nconc 22:26:47 -!- erjiang___ is now known as erjiang 22:27:22 I've only put a few (partial) days into it... so folks can be kind... esp. Riastradh... it doesn't have much (no printer!) except for a trampoline and call/cc. 22:27:56 pdlogan: looking at it now 22:28:19 it's a CPS interpreter that trampolines, mostly exists so far just to show people how a *basic* trampoline style interpreter works. 22:28:59 erjiang: it has dozen or so tests that might be a useful starting point for you. 22:30:08 pdlogan: I'll definitely try out the unit tests 22:31:30 pdlogan: Right now, I've just hijacked Javascript's own printer to print out expressions, rather than write my own pretty-printer 22:31:53 pdlogan: It works fine until you have a circular structure 22:31:58 yes 22:32:39 I'd looked at a couple shells too use for a repl but just haven't had a need yet. 22:32:52 pdlogan: also, have you seen biwascheme? 22:33:22 no I'd not seen that 22:33:25 it's a compiler/runtime for scheme in javascript, and while there are some really questionable design decisions, they've done some interesting things with it 22:33:50 pdlogan: what other JS scheme's have you looked at? 22:34:10 great - I'll look. I don't know when I'll have a chunk of time to put into it again - thinking when I do I'll try compiling to js instead. 22:34:35 I don't even recall - there's one that compiles to java, js, and CL??? 22:35:05 then a couple (maybe ^that one) that don't have call/cc etc. which doesn't interest me. 22:36:18 nconc has a (v.simple) tick count and timer to let the runtime handle events - I'm interested in a programming model that'll timeslice and let everything on the page continue running. 22:37:37 pdlogan: that's probably what i'll do as well, except that it complicates communication between the repl and the interpreter 22:38:26 right now I'm using "pagebus" to pub/sub requests/replies to the evaluator so I thought the repl would just do that too. 22:39:00 (see the "long-tests.js" file) 22:39:03 pdlogan: oh, I was just going to make a callback for the repl 22:39:40 I'm just using pagebus for components generally so it was easy to toss in here. 22:39:43 does pagebus depend on the browser? 22:39:49 no 22:40:39 I was actually looking into browser background workers recently, but never got around to testing it 22:41:25 if a compiler to js can work OK then I thought that would be useful - webworkers. 22:42:07 otherwise at some point I'd like to try simple scheme scripts on the page itself and talk to, say, gambit scheme in a chrome native client (NaCl) thing. 22:42:24 tr3x [~tr3x@93-138-106-167.adsl.net.t-com.hr] has joined #scheme 22:46:38 -!- peterhil` [~peterhil@a91-153-112-241.elisa-laajakaista.fi] has quit [Ping timeout: 276 seconds] 22:47:52 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 22:52:32 -!- ysph [~user@75-143-85-15.dhcp.aubn.al.charter.com] has quit [Ping timeout: 255 seconds] 22:53:11 -!- tronador_ [~guille@190.145.89.146] has quit [Quit: tronador_] 23:04:48 -!- gravicappa [~gravicapp@ppp91-77-161-179.pppoe.mtu-net.ru] has quit [Read error: Operation timed out] 23:05:40 fantazo [~fantazo@178-191-162-118.adsl.highway.telekom.at] has joined #scheme 23:07:12 gravicappa [~gravicapp@ppp91-77-161-179.pppoe.mtu-net.ru] has joined #scheme 23:12:53 -!- tauntaun [~icarus@ool-457c37c3.dyn.optonline.net] has quit [Quit: Ex-Chat] 23:13:43 pytho [181888ef@gateway/web/freenode/ip.24.24.136.239] has joined #scheme 23:14:08 foocraft [~dsc@86.36.42.29] has joined #scheme 23:18:58 lbc [~quassel@0909ds1-sdb.0.fullrate.dk] has joined #scheme 23:21:48 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 23:23:07 -!- pytho [181888ef@gateway/web/freenode/ip.24.24.136.239] has quit [Quit: Page closed] 23:30:39 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 23:31:46 -!- fantazo [~fantazo@178-191-162-118.adsl.highway.telekom.at] has quit [Ping timeout: 250 seconds] 23:32:56 -!- pdlogan [~patrick@75-175-21-183.ptld.qwest.net] has left #scheme 23:35:27 -!- carleastlund [~cce@gotham.ccs.neu.edu] has quit [Quit: carleastlund] 23:43:53 fantazo [~fantazo@178-190-232-4.adsl.highway.telekom.at] has joined #scheme 23:45:41 tauntaun [~icarus@64.134.66.60] has joined #scheme 23:47:21 -!- gravicappa [~gravicapp@ppp91-77-161-179.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 23:47:46 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 23:47:46 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 23:47:46 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme