00:06:34 jengle [n=jengle@64.252.88.235] has joined #scheme 00:06:51 -!- soupdragon [n=f@amcant.demon.co.uk] has quit ["Leaving"] 00:06:51 hi 00:08:04 i'm trying to initialize a vector within a procedure, but i don't think i can do this without writing a whole seperate procedure to do this 00:08:27 -!- blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has quit [] 00:09:15 fnord123 [n=fnord123@94-195-126-216.zone9.bethere.co.uk] has joined #scheme 00:09:42 Hi all. Is anyone here a redditor interested in the very low maintenance "job" of moderating the scheme subreddit? 00:10:59 jengle pasted "sieve" at http://paste.lisp.org/display/84871 00:11:31 the two commented lines in the paste are causing trouble 00:12:15 fnord123: I'm a redditor, yes. 00:13:10 -> pm 00:13:33 blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has joined #scheme 00:15:29 jengle: The use of inner defines here is confusing you. If you rewrite those to a single `letrec' form, it may become more clear what you need to do. 00:15:39 You don't need a separate procedure. 00:17:29 chandler, rewrite which defines? 00:17:49 All of the inner defines. 00:18:12 That is, the defines inside the definition of the procedure `sift'. 00:19:31 -!- lde [n=nuser@62.121.65.184] has quit [Excess Flood] 00:19:57 lde [n=nnuser@184-dzi-2.acn.waw.pl] has joined #scheme 00:20:58 hmm 00:21:38 i haven't learned how to use letrec 00:21:45 i've been learning scheme from SICP 00:21:57 *jengle* digs into the documentation 00:22:05 sphex_ [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 00:22:59 -!- jengle [n=jengle@64.252.88.235] has quit ["Leaving"] 00:23:14 (lambda (args ...) (define p1 ...) (define p2 ...) (define p3 ...) body ...) -> (lambda (args ...) (letrec ((p1 ...) (p2 ...) (p3 ...)) body ...)) 00:23:24 http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-8.html#%_sec_5.2.2 00:23:26 -rudybot:#scheme- http://tinyurl.com/ns5yum 00:24:28 -!- sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 60 (Operation timed out)] 00:31:32 -!- mrsolo [n=mrsolo@nat/yahoo/x-156dae53b2c20b15] has quit ["Leaving"] 00:32:40 -!- araujo [n=araujo@gentoo/developer/araujo] has quit [Read error: 113 (No route to host)] 00:36:40 bytecolor [n=user@32.158.161.27] has joined #scheme 00:40:53 -!- stepnem [n=stepnem@topol.nat.praha12.net] has quit [Operation timed out] 00:41:41 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 00:41:43 Can I create a module named point.scm, that contains (define-module (apt360 point) ... AND (define-syntax point ... ? 00:42:46 I think the names are colliding, but I havent been using scheme long enough to decipher the guile error output ;) 00:42:50 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 00:44:03 blackened`_ [n=blackene@ip-89-102-28-224.karneval.cz] has joined #scheme 00:44:19 It may be just a simple typo, been catching quite a few of those in my scheme-quest 00:46:12 stepnem [n=stepnem@topol.nat.praha12.net] has joined #scheme 00:47:42 -!- stepnem [n=stepnem@topol.nat.praha12.net] has quit [Excess Flood] 00:48:44 -!- Fade [i=fade@outrider.deepsky.com] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- XTL [i=t6haha00@rhea.oamk.fi] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- ray [i=ray@drong.notacat.org] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- fnord123 [n=fnord123@94-195-126-216.zone9.bethere.co.uk] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- ventonegro [n=alex@li17-123.members.linode.com] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- thesnowdog [i=thesnowd@114.73.16.145] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- sad0ur [n=sad0ur@psi.cz] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- refusenik [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- pantsd__ [n=hkarau@nat/uwaterloo/x-451113afec86aca2] has quit [simmons.freenode.net irc.freenode.net] 00:49:17 -!- rotty [n=rotty@nncmain.nicenamecrew.com] has quit [simmons.freenode.net irc.freenode.net] 00:49:36 QinGW [n=wangqing@203.86.81.2] has joined #scheme 00:49:41 Faed [i=fade@outrider.deepsky.com] has joined #scheme 00:51:09 stepnem [n=stepnem@topol.nat.praha12.net] has joined #scheme 00:52:33 fnord123 [n=fnord123@94-195-126-216.zone9.bethere.co.uk] has joined #scheme 00:52:33 ventonegro [n=alex@li17-123.members.linode.com] has joined #scheme 00:52:33 thesnowdog [i=thesnowd@114.73.16.145] has joined #scheme 00:52:33 sad0ur [n=sad0ur@psi.cz] has joined #scheme 00:52:33 refusenik [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has joined #scheme 00:52:33 ray [i=ray@drong.notacat.org] has joined #scheme 00:52:33 pantsd__ [n=hkarau@nat/uwaterloo/x-451113afec86aca2] has joined #scheme 00:52:33 rotty [n=rotty@nncmain.nicenamecrew.com] has joined #scheme 00:52:33 XTL [i=t6haha00@rhea.oamk.fi] has joined #scheme 00:52:35 -!- stepnem [n=stepnem@topol.nat.praha12.net] has quit [Excess Flood] 00:59:49 -!- blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has quit [Read error: 110 (Connection timed out)] 01:00:14 stepnem [n=stepnem@topol.nat.praha12.net] has joined #scheme 01:00:32 -!- stepnem [n=stepnem@topol.nat.praha12.net] has quit [Excess Flood] 01:00:51 chylli [n=lchangyi@119.181.15.104] has joined #scheme 01:01:08 -!- Faed is now known as Fade 01:06:43 where can I read a good guide to define-syntax? 01:07:05 sleepydog: What aspects of it? 01:07:07 stepnem [n=stepnem@topol.nat.praha12.net] has joined #scheme 01:07:34 Umm, syntax-case I suppose 01:09:10 sleepydog: I've had pretty good luck just reading the specs. 01:09:58 www.cs.indiana.edu/~dyb/pubs/bc-syntax-case.pdf 01:09:59 Hmm, though that was with syntax-rules, which is a lot simpler. 01:13:19 You might want to read Chapter 8 of TSPL, which covers both syntax-rules and syntax-case. 01:13:27 thanks 01:18:12 karlw [n=user@adsl-99-157-202-134.dsl.pltn13.sbcglobal.net] has joined #scheme 01:18:54 *karlw* ponders writing GTK bindings for Gambit. 01:21:36 I've been reading R5S? I think it's called 01:21:38 karlw: http://live.gnome.org/GObjectIntrospection 01:21:45 that and a bit of TSPL 01:23:26 oh yea, and the guile manual 01:24:28 dudleyf [n=dudleyf@ip70-178-212-238.ks.ks.cox.net] has joined #scheme 01:25:07 karlw: it's not an official "goal" project, but it looks like a promising direction for gnome/gtk bindings 01:26:24 Well, it's better to have bindings and some higher level interface where users needn't worry 01:26:33 -!- mfredrickson [n=mfredric@98.212.171.158] has quit [] 01:26:47 about the event loop. 01:27:24 bytecolor: R5RS, yes. 01:27:25 usually you would have an ffi call to gtk_main 01:28:23 the haskell gtk2hs bindings are really good and do what you suggest, but they've got pretty advanced scanners and so on. 01:28:30 TimMc: ah 01:29:08 (I'm not a hard-core GUI type at all) 01:29:40 im not either since all the APIs are based on procedural languages. they all suck 01:30:28 Uh, what's not based on procedural languages? You mean like Haskell? 01:31:43 fnord123: Well, procedural APIs are not a big issue but most GUI toolkits are rather low-level. 01:33:07 Or, rather, unnecessarily complex when you just want a simple interface. 01:33:12 How low-level? 01:34:15 You need to think in terms of pointers. 01:36:06 it's a big issue because GUIs are basically FSMs. coding FSMs procedurally is an awful experience 01:36:28 g0thmog [n=gothmog@190.165.153.123] has joined #scheme 01:36:30 really we need a grammar of GUIs 01:36:37 fnord123: amen 01:36:39 like display postscript 01:36:44 but more abstract 01:37:04 (FSM?) 01:37:10 finite state machine 01:37:14 Ah, OK> 01:37:30 All I could think of was, well, Flying Spaghetti Monster. >_< 01:37:43 TimMc: in an event handler you often end up with a shedload of code that goes 'these fields are now enabled. and these fields are now disabled' 01:38:24 like 'you have no changes, so undo is disabled. ok now you made a change in the document. enable undo menu, save menu, etc' 01:38:34 hello guys... i have a really newbie question... need to program scheme on Windows Vista, i installed MIT/GNU Scheme Realease 7.7.90, but the interpreter window doesnt seem to work... how to get it working or what Scheme is appropiate for Windows Vista ? 01:38:58 anyway im not sure if karlw wants to make a simple wrapper or make a great great library for UI work :D 01:39:19 fnord123: Yeah, in my JS I often end up setting a state variable and immediately reflecting that to the DOM, or reading an event from the DOM and reflecting it to internal state. 01:39:23 g0thmog: drscheme should be straight forward to get started 01:39:38 !drscheme 01:39:58 fnord123, i like MIT/GNU Scheme, i used it on XP, what happens on this Vista? 01:40:00 *TimMc* pokes rudybot 01:40:03 http://www.plt-scheme.org/ 01:40:15 karlw: are you aware of sbank? (http://live.gnome.org/sbank) 01:40:43 g0thmog: I don't use xp or vista. If you prefer mit/gnu scheme then I'm not able to help further. Sorry. 01:41:37 i need/want to run it on Vista, but it is openning some MIT/GNU Scheme window and a Edwin window .. 01:42:18 g0thmog: You could try setting up MinGW or OpenWatcom on Vista and compiling MIT Scheme 01:42:54 Does it say you need a DLL file? 01:43:09 karlw, nop... 01:43:29 i just execute a .exe self-contained installation file 01:43:34 Which error message do you get? 01:44:07 i have MIT/GNU Scheme on XP, and when i run it, a interpreter window appear with a propmpt: 1]=> 01:44:53 but in Vista, there are two interpreter like windows, but they dont have any prompt .. 01:46:01 You mean that two MS-DOS batch windows open? 01:47:14 you sure it's release 7.7.90? The website I see says latest release is 20090107 01:47:14 karlw, no, i click a shorcut and then two gui windows open.. but they dont have intepreter like my old XP installation: 1]=> 01:48:10 fnord123, look this: http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-user/Basics-of-Starting-Scheme.html#Basics-of-Starting-Scheme 01:48:12 -rudybot:#scheme- http://tinyurl.com/lf4u6y 01:48:38 Are you using the latest version? 01:48:39 i have on those windows opened Release 7.7.90.+ 01:48:51 karlw, yes, i think.. 01:49:14 ok :) 01:50:20 is there anyone using scheme on Vista? 01:50:26 well, I got my paranoid email restrictor running as a monitored background task, so I guess I could sign up for mailing lists again. 01:50:34 specifically MIT/GNU Scheme ?.. 01:51:04 must i do some configuration or how to get running with a prompt 01:51:49 g0thmog: What are you using Scheme for? If you have a course with it, your instructor should help you if you have problems. 01:52:07 g0thmog: Are you sure you didn't open an Edwin Window? 01:52:25 dsmith [n=dsmith@cpe-173-88-196-177.neo.res.rr.com] has joined #scheme 01:52:33 g0thmog: MIT Scheme has an Emacs like editor that is written in Scheme. It serves as an IDE. 01:52:55 g0thmog: Does Edwin work? 01:52:59 g0thmog: When it is installed, if I recall, it will install a shortcut to Edwin and two windows will display. 01:53:21 g0thmog: Moreover, 7.7.90+ for a great many snapshots that have been going around. 01:53:32 You should make sure that you have the latest snapshot from the web site. 01:54:12 g0thmog: If you want to make sure that MIT Scheme isn't working, you should open up a terminal and try to run mit scheme from there as appropriate, without any windowing environment involved. 01:54:49 g0thmog: If that works, then you can get to making sure the shortcuts work. It might help if you show us what the shortcut properties are, that way we can determine whether it is starting edwin or not. 01:54:55 *arcfide* goes for Supper. 01:55:08 -!- bytecolor [n=user@32.158.161.27] has quit [Remote closed the connection] 01:55:55 arcfide, ok, youre right.. the shorcut is openning 2 windows, one of them Edwin .. 01:57:04 arcfide, this is the destination on the shorcut: "C:\Program Files\MIT-GNU Scheme\bin\scheme.exe" --library "C:\Program Files\MIT-GNU Scheme\lib" --edit 01:57:12 -!- Axioplase_ is now known as Axioplase 01:57:42 g0thmog: The manual should have instructions about getting a prompt in Edwin, though you're supposed to use C-x C-e to evaluate an expression. 01:59:37 If you just want a DOS scheme prompt, make a new shortcut without `--edit' 02:00:23 sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 02:00:41 synx: I'm impressed. 02:01:54 I just don't want to get bombarded by spam. Afraid my new ISP will ban me too then. 02:02:19 karlw, arcfide, thanx 02:02:37 synx: I still don't know why you refuse to use something like gmail + forwarding. 02:02:43 (But please don't try to explain.) 02:03:19 karlw, i think this solution, making a shorcut without --edit would be fine to me, now it opens a interpreter window much like the interpreter window known by me on my previous installation on XP 02:03:33 g0thmog: However, it's a much better idea to get comfortable with using Edwin or else download Emacs for Windows. PLT Scheme is good if you want a simpler Windows-friendly IDE. 02:04:00 hey you try fitting multiple emails into one email with only IMAP access. Everything was getting parsed to "To: stranger@localhost" 02:04:35 karlw, will try this Edwin, also will try PLT Scheme if is simpler.. 02:04:37 synx: A simple solution is to have a hosted domain. 02:05:14 synx: Join a hosting collective like hcoop. 02:05:24 sphex__ [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 02:05:32 Not so simple if you don't have money. 02:05:37 $5 a month? 02:06:25 -!- fnord123 [n=fnord123@94-195-126-216.zone9.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 02:06:42 copumpkin [n=pumpkin@dhcp-212-203.cs.dartmouth.edu] has joined #scheme 02:06:42 I'd be suspicious of anything like that that's free. I just want to run a little mail spool on my own computer, no need for hosting. 02:07:00 no, unemployed doesn't mean I make $5 a month. 02:07:43 g0thmog: Why are you using Scheme? I may be able to help you get set up with the right implementation. 02:08:46 g0thmog: PLT is *definitely* simple to get started with. It provides DrScheme, which is a lovely GUI. 02:08:50 -!- sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 60 (Operation timed out)] 02:09:02 karlw, im taking a course, so im trying to learn and remember some previous usage (like readinf scheme scripts/files/programs from the HD), but mainly will start translating this C program: http://users.powernet.co.uk/eton/kandr2/krx603.html 02:09:44 -!- jonrafkind [n=jon@204.99.164.53] has quit [Read error: 110 (Connection timed out)] 02:10:17 g0thmog: Which course are you taking? 02:10:24 sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 02:10:52 need to learn, im taking some IA course, need to start with scheme, later ProLog.. 02:13:22 karlw, do you know lisp or prolog? 02:13:23 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 02:14:31 I know Common Lisp and have some exposure to logic programming, but not Prolog specifically. 02:16:51 -!- sphex_ [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 02:18:02 sphex_ [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has joined #scheme 02:18:16 -!- MrFahrenheit [n=RageOfTh@users-42-126.vinet.ba] has quit [Read error: 104 (Connection reset by peer)] 02:18:18 RageOfThou [n=RageOfTh@users-42-126.vinet.ba] has joined #scheme 02:18:57 -!- blackened`_ [n=blackene@ip-89-102-28-224.karneval.cz] has quit [] 02:19:43 Scheme needs something like a CLIM-style standard. 02:20:11 Gosh, maybe it will be as widely used as CLIM is on CL. 02:23:21 -!- sphex__ [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 02:26:06 chandler: Getting Scheme programmers to agree on a high level interface is like convincing Microsoft to write an OS in Scheme. 02:27:47 My comment was sarcastic. CLIM is not very widely used. 02:28:44 *chandler* vanishes 02:29:08 I know. 02:30:03 Well, there is PS-Tk. 02:32:29 TimMc pasted "Sieve, modified from jengle's code" at http://paste.lisp.org/display/84878 02:33:31 rudybot: later tell jengle: Here's my way over-documented version of your sieve code: http://paste.lisp.org/display/84878 02:33:31 minion: memo for jengle:: TimMc told me to tell you: Here's my way over-documented version of your sieve code: http://paste.lisp.org/display/84878 02:33:32 Remembered. I'll tell jengle: when he/she/it next speaks. 02:33:40 jonrafkind [n=jon@98.202.86.149] has joined #scheme 02:33:56 Ack. 02:34:45 minion: memo for jengle: TimMc sez: Here's my way over-documented version of your sieve code: http://paste.lisp.org/display/84878 02:34:46 Remembered. I'll tell jengle when he/she/it next speaks. 02:35:22 offby1: Why does your bot not read my mind? 02:35:25 -!- sphex [n=nobody@modemcable185.138-56-74.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 02:36:14 -!- felipe [n=felipe@my.nada.kth.se] has quit [Client Quit] 02:36:30 lol primal 02:36:36 :-) 02:37:51 I have a weakness for cute variable names. 02:39:01 From what I can tell, MrEd is about as portable as a display manager written in CRAY assembly. 02:41:49 synx: Also, documentation. o.O 02:42:44 "Each index corresponds to the primality of that natural number." 02:42:50 Yep, I'm still clueless. 02:43:16 synx: That bit was a bit dense. 02:43:49 "...you broke the TV." xD 02:43:56 meaning if index i of the vector is #t, the number is prime? 02:45:12 copumpkin: Yup. 02:46:07 ; primal? : Posint -> Boolean :o 02:46:29 copumpkin: What of it? 02:46:45 never heard of primal used that way 02:46:46 :) 02:47:17 copumpkin: I don't know if it's *supposed* to be used that way. 02:47:49 But hey, if there is a primality test, something that passes must be primal. :-P 02:48:27 (The linguistics-geek part of me begs to differ.) 02:48:39 lol 02:49:41 -!- sleepydog [n=user@64-252-139-167.adsl.snet.net] has quit [Remote closed the connection] 02:53:15 tjafk1 [n=timj@e176210186.adsl.alicedsl.de] has joined #scheme 02:53:38 tychosix [n=jmorton@c-76-111-76-99.hsd1.va.comcast.net] has joined #scheme 02:54:36 klutometis, if bash turns 'cat\'s' into the string cat's, then it has a bug. 02:55:09 klutometis, but if you want to admit backslashes, then you just need a different escaping mechanism. Actually, the '"'"' monstrosity is a rather tame form of escaping quotation. 02:55:17 bash *is* a bug 02:55:35 -!- RageOfThou [n=RageOfTh@users-42-126.vinet.ba] has quit [Read error: 110 (Connection timed out)] 02:55:59 klutometis, also, if you're going to use something non-standard such as bash, why are you wasting your time with a shell to begin with? 02:56:37 dysinger [n=dysinger@200.25.197.105] has joined #scheme 02:57:16 I've actually used PHP as a shell scripting language just to avoid bash/sh. 02:57:32 It worked disturbingly well. 02:58:44 *arcfide* makes like offby1 and backs away, slowly. 03:02:06 arcfide: Don't worry, it's probably not infectious. 03:06:09 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 03:07:39 -!- tychosix [n=jmorton@c-76-111-76-99.hsd1.va.comcast.net] has quit [] 03:07:44 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 03:08:28 -!- tjafk2 [n=timj@e176200137.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 03:12:57 TimMc: Scheme makes a good shell scripting language. 03:15:04 arcfide: I tried to use scsh, but I have a 64-bit machine. :-/ 03:15:13 nuscsh works, though 03:17:23 TimMc: I find that for most shell programming tasks I have, any Scheme will do just fine. 03:17:44 Well, most of the common ones. No need to have a Scheme implementation specifically made for the shell. 03:17:53 I find it nicer to just use the Scheme you already have installed. 03:20:54 -!- kniu [n=kniu@pool-71-106-16-199.lsanca.dsl-w.verizon.net] has quit [Read error: 110 (Connection timed out)] 03:24:17 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 03:24:18 -!- karlw [n=user@adsl-99-157-202-134.dsl.pltn13.sbcglobal.net] has quit [Read error: 104 (Connection reset by peer)] 03:24:58 -!- QinGW [n=wangqing@203.86.81.2] has quit [Read error: 104 (Connection reset by peer)] 03:25:05 karlw [n=user@adsl-99-157-202-134.dsl.pltn13.sbcglobal.net] has joined #scheme 03:25:31 QinGW [n=wangqing@203.86.81.2] has joined #scheme 03:27:16 TimMc: Look at section 16 of the Gambit manual. 03:27:16 kniu [n=kniu@pool-71-106-16-199.lsanca.dsl-w.verizon.net] has joined #scheme 03:28:32 Gambit should compile on almost anything. 03:29:03 karlw: Thanks, this looks pretty decent. 03:30:53 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 03:31:16 *TimMc* grumbles about lack of *any* current Ubuntu scheme packages 03:31:18 -!- dysinger [n=dysinger@200.25.197.105] has quit [Read error: 110 (Connection timed out)] 03:31:50 Having a decent package management system has really spoiled me. :-P 03:33:04 Try Chicken if you want fancier POSIX stuff. 03:33:33 karlw: I hardly do any system scripting. That's part of the problem, you see. 03:35:17 QinGW1 [n=wangqing@203.86.81.2] has joined #scheme 03:36:59 TimMc: I don't either, so a procedure to call shell commands is all I really need. I don't need any sort of complex process management. 03:37:49 -!- arcfide [n=arcfide@adsl-99-14-210-197.dsl.bltnin.sbcglobal.net] has left #scheme 03:38:05 Try using JavaScript for shell scripting... 03:38:43 -!- QinGW [n=wangqing@203.86.81.2] has quit [Read error: 60 (Operation timed out)] 03:54:01 ofthelesser [n=Administ@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 03:54:17 karlw: I just might! 03:54:42 I have jsext installed, and that provides shell scripting capability. 03:55:03 Change your login shell to the perl debugger. 03:57:28 ;.; 03:57:56 -!- copumpkin [n=pumpkin@dhcp-212-203.cs.dartmouth.edu] has quit [Client Quit] 04:07:15 Riastradh: you forgot the $: $'cat\'s', not 'cat\'s' 04:08:27 *TimMc* realizes he actually didn't know that 04:08:39 as for, "why bash?" i don't do serious bash anymore; but i was spontaneously on the spot in front of my boss and peers last night 04:08:53 expected to work ex tempore magic, and bash was the tool at hand 04:10:09 I prefer a ``scripting language'' to bash. 04:10:49 For interactive shells, I'm a zsh cultist. 04:11:15 karlw: interesting; i really, really wanted to use scsh as an interactive shell 04:11:25 but it's apparently not ready for "primetime" 04:12:27 maybe i should just bite the bullet and submit to a little verbosity; or try out "commander S" 04:13:38 klutometis: I don't know why it's "not ready for primetime". 04:14:06 What's the difference between a REPL and an interactive shell? 04:14:57 TimMc: good question; i'll have to submit it to the empirical test 04:15:10 Someone needs to write a Scheme REPL with completion. 04:15:12 comment complaints were that the process piping isn't as intuitive as bash 04:15:30 karlw: filesystem completion? 04:15:32 karlw: Good point. 04:16:42 karlw: seems like your environment could do the completion, be it readline, say, or emacs 04:17:18 *TimMc* sleeps 04:17:25 TimMc: 'nacht 04:17:42 karlw: hippie-expand, for instance, seems to do wondrous things 04:17:57 You just need some convenient macros. 04:19:01 copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 04:20:24 -!- karlw [n=user@adsl-99-157-202-134.dsl.pltn13.sbcglobal.net] has left #scheme 04:23:35 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 04:24:34 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit] 04:25:26 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 04:28:03 TimMc: Unlike a REPL, an interactive shell has readline support. 04:31:15 *synx* dodges 04:39:45 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Remote closed the connection] 04:43:38 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 04:44:30 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 04:46:01 fnord123 [n=fnord123@host86-146-160-57.range86-146.btcentralplus.com] has joined #scheme 04:46:30 synx: oh, that's right; i forgot you don't use chicken 04:51:00 -!- Kusanagi [n=Lernaean@unaffiliated/kusanagi] has quit [] 04:53:39 I do use chicken. 04:54:14 Adding readline support is easy enough for most REPLs, using that nifty "rlwrap" program. 04:55:00 synx: exactly; but the why would you dodge after the readline assertion? 04:55:12 then* 04:59:13 choas [n=lars@p5B0DD7C4.dip.t-dialin.net] has joined #scheme 05:00:30 Because some REPL readers do implement readline support, or some other form of line history thing, and it's a silly thing to complain about really. I might as well say it's not a real shell if it doesn't have tab completion! 05:05:04 -!- fnord123 [n=fnord123@host86-146-160-57.range86-146.btcentralplus.com] has quit [Read error: 104 (Connection reset by peer)] 05:05:20 fnord123 [n=fnord123@host86-146-160-57.range86-146.btcentralplus.com] has joined #scheme 05:39:56 TimMc: mind-reading will be in version VI 05:55:10 athos [n=philipp@92.250.250.68] has joined #scheme 05:56:22 -!- fnord123 [n=fnord123@host86-146-160-57.range86-146.btcentralplus.com] has quit [Read error: 110 (Connection timed out)] 05:57:20 bytecolor [n=user@32.158.57.59] has joined #scheme 06:11:19 -!- copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has quit [Client Quit] 06:19:43 -!- chylli [n=lchangyi@119.181.15.104] has quit [Remote closed the connection] 06:20:33 chylli [n=lchangyi@119.181.15.104] has joined #scheme 06:26:03 fnord123 [n=fnord123@host86-146-160-57.range86-146.btcentralplus.com] has joined #scheme 06:34:19 -!- jonrafkind [n=jon@98.202.86.149] has quit [Read error: 110 (Connection timed out)] 06:34:25 -!- bytecolor [n=user@32.158.57.59] has quit [Read error: 110 (Connection timed out)] 06:34:58 -!- fnord123 [n=fnord123@host86-146-160-57.range86-146.btcentralplus.com] has quit [Read error: 104 (Connection reset by peer)] 06:36:06 mmc [n=mima@192.100.124.218] has joined #scheme 06:37:52 felipe [n=felipe@my.nada.kth.se] has joined #scheme 06:38:55 -!- choas [n=lars@p5B0DD7C4.dip.t-dialin.net] has quit [Read error: 113 (No route to host)] 06:45:22 -!- g0thmog [n=gothmog@190.165.153.123] has quit [] 06:49:27 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [Remote closed the connection] 06:51:58 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 06:52:03 HG` [n=wells@xdslec197.osnanet.de] has joined #scheme 06:57:50 -!- bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Remote closed the connection] 06:57:53 bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 07:00:39 -!- delopart [n=sfv@88.235.230.1] has quit [Remote closed the connection] 07:01:33 klutometis: don't bother with commander S--it's even more "not ready for primetime" 07:02:08 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 07:03:31 zbigniew: no shit? that sucks 07:04:08 klutometis: http://3e8.org/zb/commander-s.html 07:04:53 the review is a bit harsh, perhaps unnecessarily so 07:05:03 and yet, it feels so good 07:09:55 zbigniew: nice review; i've never tried to fire it up 07:10:02 incubot: I'm having a STROKE--of GOOD LUCK! 07:10:05 Things like U+0180 SMALL LETTER B WITH STROKE simply don't *have* capital equivalents. 07:10:23 capital, i say 07:10:27 "tumescence" is classic, though; but where's the "flaccid" corrolary? 07:10:58 i rhymed it instead 07:11:38 corollary*; damn: i always reverse the doubling 07:12:35 it could use another section header thrown in there; i'll think of a good word along those lines 07:15:56 sounds good; looking forward to it, actually 07:16:11 putrescence would be overplaying my hand... 07:16:30 ah, i've got it 07:17:04 -!- bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit [Read error: 110 (Connection timed out)] 07:18:26 klutometis: reload 07:19:29 zbigniew: hilarious; i might have said, "hypo-psychotropes" 07:20:30 well, we need to keep the convoluted A-A-A rhyming scheme 07:21:07 ... but the internal rhyme was nice 07:21:34 ah, good point 07:21:53 you have a triplet, too; which is generally anointed 07:26:08 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 07:26:33 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 07:28:38 Judofyr [n=Judofyr@77.40.165.3] has joined #scheme 07:34:40 -!- Nshag [i=user@Mix-Orleans-106-4-77.w193-248.abo.wanadoo.fr] has quit [Read error: 60 (Operation timed out)] 07:35:03 -!- athos [n=philipp@92.250.250.68] has quit ["leaving"] 07:36:01 Judofyr_ [n=Judofyr@77.40.165.3] has joined #scheme 07:36:11 dzhus [n=sphinx@93-81-185-94.broadband.corbina.ru] has joined #scheme 07:36:17 -!- Judofyr [n=Judofyr@77.40.165.3] has quit [Read error: 104 (Connection reset by peer)] 07:36:35 -!- Judofyr_ is now known as Judofyr 07:43:24 refusenik1 [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has joined #scheme 07:44:15 -!- refusenik [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has quit [Read error: 104 (Connection reset by peer)] 07:45:09 jewel [n=jewel@dsl-242-128-103.telkomadsl.co.za] has joined #scheme 07:52:14 kib2 [n=kib@bd137-1-82-228-159-28.fbx.proxad.net] has joined #scheme 07:56:15 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 07:56:40 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 08:10:04 -!- qebab [i=finnrobi@caracal.stud.ntnu.no] has quit [Remote closed the connection] 08:21:31 -!- QinGW1 [n=wangqing@203.86.81.2] has quit [Read error: 54 (Connection reset by peer)] 08:22:02 QinGW [n=wangqing@203.86.81.2] has joined #scheme 08:23:13 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 08:26:26 qebab [i=finnrobi@caracal.stud.ntnu.no] has joined #scheme 08:29:35 -!- kilimanjaro [n=kilimanj@70.116.95.163] has quit [Remote closed the connection] 08:32:58 grettke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has joined #scheme 08:33:09 hey grettke :p 08:33:32 Hi Leppie! :) 08:52:25 athos [n=philipp@92.250.250.68] has joined #scheme 08:58:20 -!- tltstc [n=tltstc@cpe-76-90-92-154.socal.res.rr.com] has quit [] 08:58:23 Thren_ [n=Thren@c-75-67-111-180.hsd1.nh.comcast.net] has joined #scheme 09:01:56 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 09:02:41 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 09:06:30 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 09:06:55 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 09:07:48 `Peter [n=pk@188-23-111-78.adsl.highway.telekom.at] has joined #scheme 09:12:06 tltstc [n=tltstc@cpe-76-90-92-154.socal.res.rr.com] has joined #scheme 09:14:12 -!- grettke [n=grettke@CPE-69-23-38-57.wi.res.rr.com] has left #scheme 09:15:06 -!- Thren [n=Thren@c-75-67-111-180.hsd1.nh.comcast.net] has quit [Read error: 110 (Connection timed out)] 09:15:19 Kusanagi [n=Lernaean@unaffiliated/kusanagi] has joined #scheme 09:22:45 -!- mmc [n=mima@192.100.124.218] has quit ["Leaving."] 09:24:15 mmc [n=mima@esprx01x.nokia.com] has joined #scheme 09:26:14 -!- `Peter [n=pk@188-23-111-78.adsl.highway.telekom.at] has quit [] 09:29:03 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 09:29:28 MichaelRaskin [n=MichaelR@213.171.48.239] has joined #scheme 09:37:32 -!- ponzao__1 [n=vesam@a243-120.24online.fi] has quit [Remote closed the connection] 09:42:53 -!- Axioplase is now known as Axioplase_ 09:55:04 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit ["If technology is distinguishable from magic, it is insufficiently advanced."] 09:59:09 nirly [i=nirly@bzq-79-180-62-25.red.bezeqint.net] has joined #scheme 10:00:16 is there a skip command in scheme? for example: (if (display 1) ) 10:03:16 -!- QinGW [n=wangqing@203.86.81.2] has quit [Read error: 104 (Connection reset by peer)] 10:03:55 -!- rdd [n=user@c83-250-157-93.bredband.comhem.se] has quit [Read error: 104 (Connection reset by peer)] 10:32:39 -!- dzhus [n=sphinx@93-81-185-94.broadband.corbina.ru] has quit [Read error: 110 (Connection timed out)] 10:37:20 fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 10:44:32 -!- dsmith [n=dsmith@cpe-173-88-196-177.neo.res.rr.com] has quit [Read error: 110 (Connection timed out)] 10:44:52 dsmith [n=dsmith@66.178.229.162] has joined #scheme 10:46:35 cracki [n=cracki@44-116.eduroam.RWTH-Aachen.DE] has joined #scheme 10:48:15 -!- Adrinael [n=adrinael@barrel.rolli.org] has quit [simmons.freenode.net irc.freenode.net] 10:48:53 nirly: nirly: what'd skip do? 10:49:38 Adrinael [n=adrinael@barrel.rolli.org] has joined #scheme 10:50:06 dzhus [n=sphinx@93-80-246-182.broadband.corbina.ru] has joined #scheme 10:52:24 fnord123_ [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 10:54:05 -!- fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 60 (Operation timed out)] 10:54:37 rotty, nothing 10:55:12 doesn't do anything and doesn't return a value 10:55:43 (when (display 1) (display 2)) 10:57:14 nirly: there's the one-armed if as well: (if (do-something)) 10:57:38 Edico [n=Edico@unaffiliated/edico] has joined #scheme 10:57:50 ok 10:58:27 most scheme implementations provide a procedure that returns an "unspecified" value, e.g. in Scheme 48, there's (unspecific) 10:58:48 (but you seldom need to use that) 10:59:04 nirly: `if' will always return something, even if you leave off the else branch 10:59:05 (if #f #t) should work 10:59:30 ecraven, and what would be the return value of that? 10:59:40 that is unspecified ;) 10:59:45 nirly: what are you trying to do 11:02:12 hkBst, set! the a certain function if some variable = #t 11:02:46 nirly: (if (set! var val)) 11:03:01 yeah :) 11:03:31 nirly: using set! can be a sign of bad style though 11:03:52 fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 11:05:33 saccade__ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 11:08:08 delopart [n=sfv@212.174.74.11] has joined #scheme 11:08:10 hey 11:09:09 i read plai chapter 4 can i ask a question.I have a problem i cant find the suitable answer.The question is like that " Why is the argument expression of an application of type F1WAE rather than of type WAE? 11:09:09 Provide sample programs permitted by the former and rejected by the latter, and argue that these programs 11:09:09 are reasonable. 11:09:09 " 11:09:26 fnord1231 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 11:09:56 jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 11:10:11 -!- saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 60 (Operation timed out)] 11:15:21 ct2rips [n=ct2rips@p54869045.dip0.t-ipconnect.de] has joined #scheme 11:15:58 -!- fnord123_ [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 11:16:02 saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 11:19:00 hi 11:21:27 what is the difference between mit-scheme compiled for i386 arch and hello compiled on i386? mit-scheme doesn't work on my linux-64bit but hello still works (prints hello world) 11:23:57 fnord123_ [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 11:23:57 delopart: what's F1WAE and what's WAE? 11:24:18 -!- saccade__ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Read error: 113 (No route to host)] 11:24:32 -!- dzhus [n=sphinx@93-80-246-182.broadband.corbina.ru] has quit [Remote closed the connection] 11:25:23 F1WAE and WAE is in plai book.This is something that defines a interpreter rule 11:26:49 -!- fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 11:27:26 what plai acronym stands for? 11:29:43 -!- nirly [i=nirly@bzq-79-180-62-25.red.bezeqint.net] has quit ["Leaving"] 11:31:23 dzhus [n=sphinx@93-80-228-38.broadband.corbina.ru] has joined #scheme 11:33:43 http://en.wikipedia.org/wiki/PLAI 11:33:57 -!- HG` [n=wells@xdslec197.osnanet.de] has quit [Client Quit] 11:36:17 -!- fnord1231 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 11:36:31 fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 11:38:16 -!- dsmith [n=dsmith@66.178.229.162] has quit ["Leaving"] 11:41:32 fnord1231 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 11:49:59 fnord1232 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 11:53:29 -!- fnord123_ [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 11:55:34 -!- fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 12:02:22 fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 12:02:48 -!- fnord1231 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 12:04:37 mario-goulart [n=user@201-40-162-47.cable.viacabocom.com.br] has joined #scheme 12:07:43 fnord123_ [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 12:12:51 `Peter [n=pk@188-23-4-221.adsl.highway.telekom.at] has joined #scheme 12:14:55 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 12:17:41 fnord1231 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has joined #scheme 12:17:55 ~/quit 12:19:41 -!- fnord1232 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 12:20:09 -!- fnord123 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 12:24:41 soupdragon [n=f@amcant.demon.co.uk] has joined #scheme 12:31:21 -!- saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 12:35:04 -!- fnord123_ [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 12:35:57 -!- fnord1231 [n=fnord123@78-105-27-133.zone3.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 12:41:09 -!- stepnem [n=stepnem@topol.nat.praha12.net] has quit [SendQ exceeded] 12:41:28 blackened` [n=blackene@ip-89-102-28-224.karneval.cz] has joined #scheme 12:45:29 stepnem [n=stepnem@topol.nat.praha12.net] has joined #scheme 12:53:32 -!- jewel [n=jewel@dsl-242-128-103.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 12:56:50 -!- jeapostrophe [n=jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [] 13:00:26 nunb [n=user@static-217-133-104-225.clienti.tiscali.it] has joined #scheme 13:00:37 borism [n=boris@195-50-199-204-dsl.krw.estpak.ee] has joined #scheme 13:00:56 -!- nunb [n=user@static-217-133-104-225.clienti.tiscali.it] has quit [Remote closed the connection] 13:01:39 nun` [n=user@static-217-133-104-225.clienti.tiscali.it] has joined #scheme 13:02:20 -!- nun` is now known as nunb 13:06:08 ineiros_ [n=ineiros@pc217.ics.hut.fi] has joined #scheme 13:06:55 jmorton [n=jmorton@c-76-111-76-99.hsd1.va.comcast.net] has joined #scheme 13:07:01 -!- `Peter [n=pk@188-23-4-221.adsl.highway.telekom.at] has quit [] 13:29:15 bombshelter13_ [n=bombshel@206.80.252.37] has joined #scheme 13:30:18 -!- cracki [n=cracki@44-116.eduroam.RWTH-Aachen.DE] has quit ["If technology is distinguishable from magic, it is insufficiently advanced."] 13:31:02 bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has joined #scheme 13:36:18 langmartin [n=user@exeuntcha.tva.gov] has joined #scheme 13:36:51 -!- borism [n=boris@195-50-199-204-dsl.krw.estpak.ee] has quit [Client Quit] 13:40:51 -!- dzhus [n=sphinx@93-80-228-38.broadband.corbina.ru] has quit ["Yow! Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!"] 13:41:05 -!- bombshelter13_ [n=bombshel@206.80.252.37] has quit [] 13:41:06 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 13:44:12 ankou [n=quassel@p57A6D216.dip.t-dialin.net] has joined #scheme 13:45:21 bombshelter13_ [n=bombshel@206.80.252.37] has joined #scheme 13:45:50 `Peter [n=pk@188-23-110-175.adsl.highway.telekom.at] has joined #scheme 13:53:59 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 13:54:36 -!- delopart [n=sfv@212.174.74.11] has quit [Remote closed the connection] 14:00:29 Plugh [n=kcozens@CPE000f9f67c5c3-CM000f9f500b9c.cpe.net.cable.rogers.com] has joined #scheme 14:05:21 copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 14:05:28 I am seeing something that doesn't fully make sense to me in SRFI-6. They give the example usage of (open-input-string "(a . (b . c . ())) 34")) followed by (read p) yielding (a b c). This implies that the string passed to open-input-string isn't treated as an ordinary string. 14:05:45 I don't see anything in the SRFI that would explain this behaviour. Am I missing something? 14:07:15 jeapostrophe [n=jay@204.99.164.34] has joined #scheme 14:07:21 what? 14:07:40 did you miss out an '('? 14:07:56 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 14:09:59 I just cut and pasted from the document. Forgetting any missing ( or ) in there, I'm wondering why a string isn't being treated as an ordinary string. 14:11:14 that doesn't make any sensear 14:11:16 Is it some behaviour of the read call that is altering what I would have expected to see as output from read? 14:11:41 nobody knows what you expect 14:11:44 -!- Thren_ [n=Thren@c-75-67-111-180.hsd1.nh.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 14:11:46 Cytrick [n=Thren@c-75-67-111-180.hsd1.nh.comcast.net] has joined #scheme 14:12:04 -!- ineiros [n=ineiros@james.ics.hut.fi] has quit [Read error: 104 (Connection reset by peer)] 14:12:46 I expect parts of the string to be returned as written. The example shows the string was being interpreted as a scheme expression and converted from what was written to the (a b c) result. 14:13:49 it's READing from the input port p, that input ports content is: 14:13:54 (a . (b . c . ())) 34 14:14:19 which (it seems to have an extra . or something but other than that) looks like a list 14:14:45 it's the same as whta would happen if you use (READ) then type in: (a . (b . c . ())) 14:15:01 try (open-input-string "\"(a . (b . c . ()))\" 34") 14:15:09 and see what READing from that does 14:16:08 Probably just a typo in the doc. ok, so read is handling the string as a standard scheme statement input. That would explain things. 14:16:13 Plugh: `read' reads a datum value from a port. 14:16:46 Thanks. I better have another look at my copy of the R5RS. 14:17:36 Try using `read-char' in sequence until the returned value satisfies `eof-object?'. 14:17:40 what you are still confused about something? 14:17:48 That will read the characters from the string one by one. 14:18:07 rudybot: init r5rs 14:18:07 chandler: your r5rs sandbox is ready 14:18:20 rudybot: eval open-input-string 14:18:20 chandler: error: reference to an identifier before its definition: open-input-string in module: 'program 14:18:48 offby1: Is it possible to load SRFIs into a r5rs rudybot sandbox? 14:19:11 incubot: eval open-input-string 14:19:14 your hypothetical example of unwind-protect is not entirely the correct idiom, the opening of file belongs inside of it, and then in the protection form, you test to see if the input-port is set before trying to close it. 14:19:21 er, OK. 14:20:01 -!- `Peter [n=pk@188-23-110-175.adsl.highway.telekom.at] has quit [] 14:20:26 chandler: (#%require srfi/6) for rudybot 14:20:35 it's kind of a hack 14:20:42 rudybot: eval (#%require srfi/6) 14:21:07 rudybot: eval open-input-string 14:21:08 chandler: ; Value: # 14:22:57 incubot: (values open-input-string) 14:22:58 # 14:23:13 Oh. 14:24:31 ok, My confusion was the result of a typo in the SRFI document. Once I included the missing ( in the input string, the example works as shown. 14:25:23 I'll send a note to the editor of the SRFI. 14:31:54 -!- ankou [n=quassel@p57A6D216.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 14:34:55 chandler: incubot needs parens 14:35:13 incubot: Have some parens: () 14:35:14 Error: unbound variable: Have 14:37:23 -!- Plugh [n=kcozens@CPE000f9f67c5c3-CM000f9f500b9c.cpe.net.cable.rogers.com] has left #scheme 14:40:14 `Peter [n=pk@188-23-110-175.adsl.highway.telekom.at] has joined #scheme 14:41:45 MrFahrenheit [n=RageOfTh@users-42-209.vinet.ba] has joined #scheme 14:45:31 jonrafkind [n=jon@eng-4-55.hotspot.utah.edu] has joined #scheme 14:48:35 -!- makmanalp [n=legato@80.76.201.55] has quit [Remote closed the connection] 14:48:39 makmanalp [n=legato@80.76.201.55] has joined #scheme 14:57:09 jao [n=jao@21.Red-83-43-33.dynamicIP.rima-tde.net] has joined #scheme 15:00:25 -!- `Peter [n=pk@188-23-110-175.adsl.highway.telekom.at] has quit [] 15:13:52 -!- Fufie [n=poff@Gatekeeper.vizrt.com] has quit ["Leaving"] 15:14:37 -!- Judofyr [n=Judofyr@77.40.165.3] has quit [Remote closed the connection] 15:17:04 jewel [n=jewel@dsl-242-128-103.telkomadsl.co.za] has joined #scheme 15:22:55 -!- refusenik1 [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has quit [Read error: 104 (Connection reset by peer)] 15:23:56 dzhus [n=sphinx@95-24-216-154.broadband.corbina.ru] has joined #scheme 15:29:31 refusenik [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has joined #scheme 15:32:17 HG` [n=wells@xdsler125.osnanet.de] has joined #scheme 15:33:20 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 15:42:57 Nshag [i=user@Mix-Orleans-106-3-19.w193-248.abo.wanadoo.fr] has joined #scheme 15:46:50 bombshelter13__ [n=bombshel@206.80.252.37] has joined #scheme 15:48:36 -!- bombshelter13_ [n=bombshel@206.80.252.37] has quit [Read error: 104 (Connection reset by peer)] 15:48:46 jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has joined #scheme 15:57:32 dysinger [n=dysinger@200.25.197.105] has joined #scheme 16:13:57 -!- copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has quit [Client Quit] 16:30:03 a-s [n=user@92.81.62.159] has joined #scheme 16:36:09 sepult [n=buggarag@xdsl-87-78-121-77.netcologne.de] has joined #scheme 16:40:12 delopart [n=sfv@212.174.74.11] has joined #scheme 16:40:16 hey 16:41:26 hey 16:41:58 -!- dysinger [n=dysinger@200.25.197.105] has quit [Remote closed the connection] 16:43:26 i read plai chapter 6 {with {x 3} {wih {f {fun {y} {+ x y} {with {x 5} {f 4}}} book said this xpression result in 9 and we introduce dynamic scope.And i dont understand 100 percentage . we call function f in second with and every with creates its environment and environment has 5 as x because of that the result of that is 9 16:43:32 thats true ? 16:43:49 -!- mmc [n=mima@esprx01x.nokia.com] has quit [Remote closed the connection] 16:43:49 i mean it takes the value when function calls in dynamic scope 16:46:26 delopart: with dynamic scope, the answer is 9; with static it is 7 16:46:43 delopart: dynamic scope means that you use the env from the call; static means that you use the env from the definition 16:47:08 delopart: the env at call has x = 5 whereas at defn has x = 3 16:47:34 every with creates its environment ? 16:47:53 an environment is defined by the bindings established by withs and function calls 16:48:01 so x=5 y=4 in evironment off third with 16:48:10 hmm 16:48:14 no 16:48:22 initial = empty 16:48:27 with 1 = [x -> 3] 16:48:34 yeah initial evironment is empty 16:48:36 with 2 = [f -> ...] [x -> 3] 16:48:45 -!- MichaelRaskin [n=MichaelR@213.171.48.239] has quit [Remote closed the connection] 16:48:47 with 3 = [x -> 5] [f -> ...] [x -> 3] 16:49:03 f call = [y -> 4] + 16:49:10 where + is either with 3 for dynamic or with 1 for static 16:49:30 because of function calls 16:49:33 right ? 16:49:44 yes, function calls establish environments 16:49:56 hmm i understand 16:50:13 but in the static scope we take the value in defining 16:50:18 they extend some environment with bindings for arguments 16:50:26 with static scope they extend the env of definition 16:50:32 with dynamic scope they extend the env of the call 16:50:50 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 16:52:18 jeapostrophe, 16:52:51 -!- ct2rips [n=ct2rips@p54869045.dip0.t-ipconnect.de] has quit ["Noch da, noch da ... Uuuuund weg."] 16:52:56 actually (f 4) parameter of f is y we define y as 4 in (f 4). Can i think in that way ? 16:53:13 yes 16:53:31 yes 16:53:56 hmm thanks 16:54:53 poe_ [n=poe@adsl-ull-165-125.48-151.net24.it] has joined #scheme 16:55:24 so we can write like that {with {y 4} {f y}} 16:55:30 yup 16:55:38 thats super 16:55:56 sorry for detailed question i want to understand %100 16:56:35 no problem. I'm Jay McCarthy... the maintainer of the language level and Shriram's student; so I am happy to help 16:57:12 offby1` [n=user@q-static-138-125.avvanta.com] has joined #scheme 16:57:44 so we have {with {x 3} {with {f {fun {y} {+ x y} {with {x 5} {with {y 4} {f y}}} 16:58:12 thank you Jay Mccarthy 16:58:20 i have one more question 16:58:25 okay 16:58:51 rudybot_ [n=luser@q-static-138-125.avvanta.com] has joined #scheme 16:59:13 i read chapter 5 and book said we finish app in interp function ds or mtsub whis provides dynamic and static scope.But i dont understand neatly what the difference is ? 16:59:17 rudybot_: you've got a good case of underscore going on again 16:59:18 chandler: eh? Try "rudybot_: help". 16:59:20 Narrenschiff [n=ritchie@mo-rsmitha21.op.umist.ac.uk] has joined #scheme 16:59:50 what is the differnce beetwen two of them 17:00:00 ds is LinkedList and it has mtsub 17:00:43 but if we write mysub instead of ds.It provides static scope. But i cannot figure out why 17:01:30 jeapostrophe, are you there ? I hope i understand my question because i am not good in english 17:01:43 -!- poe [n=poe@unaffiliated/xerox] has quit [Success] 17:02:10 -!- synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has quit [Remote closed the connection] 17:02:22 delopart: one is from the closure record and the other is from the current evaluation context 17:02:57 can you tell me more clearly ? 17:03:03 delopart: yes, let me get that page up 17:03:21 okey 17:03:40 synx [i=synx@gateway/gpg-tor/key-0xA71B0C6A] has joined #scheme 17:04:00 i will look the page 17:04:33 so you are comparing pages 36 and 37 (52 and 53 on the pdf) right? 17:04:45 Judofyr [n=Judofyr@c249DBF51.dhcp.bluecom.no] has joined #scheme 17:05:17 The difference between using ds and (mtSub) in the position of the box 17:05:17 succintly captures the implementation distinction between dynamic and static scope, respectively 17:05:31 yes 17:05:32 yes 17:05:41 i look at 36 337 righht now 17:05:46 ds is the environment for this call to interp 17:06:03 hmm 17:06:10 however, the function definition was not defined in any environment; so its environment of definition is (mtSub) 17:06:39 but we can have lots of thing in ds 17:06:54 so we have to do lots of subst 17:07:05 Let say we have n amount with 17:07:22 so we have to subst bind-id in the body 17:07:22 that's irrelevant 17:07:27 sorry 17:07:32 i realized 17:07:42 we only need to substitute the single argument to the function 17:07:48 yes 17:07:55 everything else is ds in not germane to the evaluation of the function 17:08:05 because the function was not defined with those bindings (static scope) 17:08:18 so, we don't need ds any longer as we evaluate the-fun-def 17:09:23 hmm 17:10:02 i guess i understand you said we make subst one time and we neednt hold something in ds when it is necessary in static scope 17:10:12 thats true ? 17:10:39 -!- offby1 [n=user@pdpc/supporter/monthlybyte/offby1] has quit [Connection timed out] 17:10:57 i hope i tell :D 17:11:50 yes 17:11:54 that sounds right 17:12:07 -!- rudybot [n=luser@q-static-138-125.avvanta.com] has quit [Read error: 110 (Connection timed out)] 17:13:32 if you are not busy can i ask one mor e question 17:13:42 yup 17:14:35 actually i solved the exercise but i cannot be sure 17:14:51 exercise 5.3.1 17:15:24 what is your answer? 17:16:46 for example we have this (define (f) (with (x 5) x)) (+ (f) x) 17:17:21 f doesnt take any parameter and x doesnot belong f.So x is unbound.But x blongs to with x is bound on f.When you write a function if x doesnt belong f and you undo,,x cannot be overriden and function returns error 17:17:45 if aSub modified ds we have to undo it becfore returning 17:17:53 i think you are misunderstanding the question 17:17:59 hmm 17:18:05 it is not so much about programs as it is about the code of the interpreter 17:18:26 i readl plai 1 months 17:18:33 3 weeks 17:18:48 hmm 17:19:17 -!- athos [n=philipp@92.250.250.68] has left #scheme 17:19:19 how can i think about that 17:20:11 -!- Toast [n=Toast@69.9.120.58] has quit [] 17:20:11 look at the code for the interpreter and think about why there is no "undo" for environment extension 17:20:20 (i must go now, but i'll be around in the future) 17:20:45 okey thanks 17:21:01 may be i ask one more question to you :) thanks for answering 17:25:14 -!- delopart [n=sfv@212.174.74.11] has quit [Remote closed the connection] 17:26:01 Toast [n=Toast@69.9.120.58] has joined #scheme 17:34:15 -!- Toast [n=Toast@69.9.120.58] has quit [] 17:34:55 -!- chylli [n=lchangyi@119.181.15.104] has quit [Remote closed the connection] 17:42:29 -!- nunb [n=user@static-217-133-104-225.clienti.tiscali.it] has quit [Connection timed out] 17:49:20 mrsolo_ [n=mrsolo@nat/yahoo/x-hcqsagrmnprkiaxt] has joined #scheme 17:55:25 flyfish [n=flyfish@pixout.appriss.com] has joined #scheme 17:57:12 Poeir_ [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has joined #scheme 17:58:56 -!- jeapostrophe [n=jay@204.99.164.34] has quit [] 18:03:15 gnomon_ [n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 18:03:31 m811_ [n=user@84-50-207-42-dsl.est.estpak.ee] has joined #scheme 18:03:32 -!- m811 [n=user@84-50-207-42-dsl.est.estpak.ee] has quit [Read error: 104 (Connection reset by peer)] 18:05:56 -!- gnomon [n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: 104 (Connection reset by peer)] 18:12:58 -!- Poeir [n=Poeir@c-98-222-133-165.hsd1.il.comcast.net] has quit [Read error: 110 (Connection timed out)] 18:23:48 ineiros [n=ineiros@james.ics.hut.fi] has joined #scheme 18:28:10 -!- dzhus [n=sphinx@95-24-216-154.broadband.corbina.ru] has quit [Remote closed the connection] 18:32:06 -!- Narrenschiff [n=ritchie@mo-rsmitha21.op.umist.ac.uk] has quit [] 18:33:54 saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 18:37:43 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 18:40:06 copumpkin [n=pumpkin@dhcp-212-203.cs.dartmouth.edu] has joined #scheme 18:45:27 jeapostrophe [n=jay@eng-4-34.hotspot.utah.edu] has joined #scheme 18:52:03 Judofyr_ [n=Judofyr@c249DBF51.dhcp.bluecom.no] has joined #scheme 18:52:05 -!- Judofyr [n=Judofyr@c249DBF51.dhcp.bluecom.no] has quit [Read error: 104 (Connection reset by peer)] 19:07:57 Narrenschiff [n=ritchie@xolotl.plus.com] has joined #scheme 19:09:05 -!- Judofyr_ is now known as Judofyr 19:12:18 mmc [n=mima@cs162149.pp.htv.fi] has joined #scheme 19:13:02 hotblack23 [n=jh@p5B056841.dip.t-dialin.net] has joined #scheme 19:19:25 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 19:23:59 -!- Judofyr [n=Judofyr@c249DBF51.dhcp.bluecom.no] has quit ["raise Hand, 'wave'"] 19:24:47 -!- gnomon_ is now known as gnomon 19:24:57 arcfide [n=arcfide@99.14.210.197] has joined #scheme 19:36:20 -!- Narrenschiff [n=ritchie@xolotl.plus.com] has quit [] 19:36:41 Narrenschiff [n=ritchie@xolotl.plus.com] has joined #scheme 19:43:29 -!- HG` [n=wells@xdsler125.osnanet.de] has quit [Client Quit] 19:43:39 -!- copumpkin [n=pumpkin@dhcp-212-203.cs.dartmouth.edu] has quit [Read error: 60 (Operation timed out)] 19:45:22 -!- sepult [n=buggarag@xdsl-87-78-121-77.netcologne.de] has quit ["leaving"] 19:56:13 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 20:23:14 -!- jonrafkind [n=jon@eng-4-55.hotspot.utah.edu] has quit [Remote closed the connection] 20:23:37 jonrafkind [n=jon@eng-4-55.hotspot.utah.edu] has joined #scheme 20:27:18 -!- jewel [n=jewel@dsl-242-128-103.telkomadsl.co.za] has quit [Read error: 60 (Operation timed out)] 20:33:36 -!- mmc [n=mima@cs162149.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 20:38:39 -!- Narrenschiff [n=ritchie@xolotl.plus.com] has quit [] 20:39:04 copumpkin [n=pumpkin@dhcp-212-203.cs.dartmouth.edu] has joined #scheme 20:39:47 -!- saccade_ [n=saccade@65-78-24-131.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 20:40:01 Judofyr [n=Judofyr@c249DBF51.dhcp.bluecom.no] has joined #scheme 20:41:25 heat [n=dima@8.21.172.227] has joined #scheme 20:41:48 -!- MrFahrenheit [n=RageOfTh@users-42-209.vinet.ba] has quit [Read error: 104 (Connection reset by peer)] 20:41:53 MrFahrenheit [n=RageOfTh@users-42-141.vinet.ba] has joined #scheme 20:59:21 -!- copumpkin [n=pumpkin@dhcp-212-203.cs.dartmouth.edu] has quit [Client Quit] 21:03:09 -!- ofthelesser [n=Administ@cpe-174-100-207-183.neo.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 21:04:42 Judofyr_ [n=Judofyr@165.172.34.95.customer.cdi.no] has joined #scheme 21:04:43 -!- Judofyr [n=Judofyr@c249DBF51.dhcp.bluecom.no] has quit [Read error: 60 (Operation timed out)] 21:11:24 rouslan_ [n=Rouslan@pool-64-222-181-252.man.east.myfairpoint.net] has joined #scheme 21:12:36 -!- davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)] 21:24:17 -!- Judofyr_ is now known as Judofyr 21:30:13 -!- jmorton [n=jmorton@c-76-111-76-99.hsd1.va.comcast.net] has quit [] 21:31:09 copumpkin [n=pumpkin@c-24-63-67-154.hsd1.nh.comcast.net] has joined #scheme 21:33:06 -!- bombshelter13__ [n=bombshel@206.80.252.37] has quit [Client Quit] 21:35:03 Judofyr_ [n=Judofyr@c249DBF51.dhcp.bluecom.no] has joined #scheme 21:39:48 -!- hotblack23 [n=jh@p5B056841.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 21:42:43 -!- Kusanagi [n=Lernaean@unaffiliated/kusanagi] has quit [] 21:43:55 Kusanagi [n=Lernaean@unaffiliated/kusanagi] has joined #scheme 21:44:30 -!- Judofyr [n=Judofyr@165.172.34.95.customer.cdi.no] has quit [Nick collision from services.] 21:44:37 -!- Judofyr_ is now known as Judofyr 21:45:11 -!- soupdragon [n=f@amcant.demon.co.uk] has quit ["Leaving"] 21:45:14 haole [n=ivan@189.35.188.83] has joined #scheme 21:46:01 hello there... i'm starting to mess around with pltscheme, but i'm having difficulties in importing my own set of libraries from my files... just as a test case: i create a file test_lib.ss, and do (define x 10) 21:46:15 then i try to import it in test_main.ss using (require "test_lib.ss") 21:46:32 ofthelesser [i=oftheles@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 21:46:45 -!- ofthelesser [i=oftheles@cpe-174-100-207-183.neo.res.rr.com] has quit [Client Quit] 21:46:50 it seems to import it, but if i type x, i get: reference to an identifier before its definition: x in module: "/home/ivan/work/robocup_scheme/test_main.ss" 21:46:54 what could be wrong? 21:47:13 ofthelesser [i=oftheles@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 21:47:25 Makoryu [n=vt920@pool-74-104-123-150.bstnma.fios.verizon.net] has joined #scheme 21:49:08 davazp [n=user@56.Red-79-153-148.dynamicIP.rima-tde.net] has joined #scheme 21:52:00 -!- Makoryu [n=vt920@pool-74-104-123-150.bstnma.fios.verizon.net] has left #scheme 21:53:49 saccade_ [n=saccade@c-66-31-201-117.hsd1.ma.comcast.net] has joined #scheme 21:59:00 haole: You need to use (provide) 21:59:35 test_lib.ss should do (provide x) to make x visible to relying modules. 22:00:30 TimMc: thank you... that solved it 22:01:06 haole: No problem. 22:02:55 -!- refusenik [n=Dfowler@ip-66-9-231-226.autorev.intellispace.net] has quit [Read error: 104 (Connection reset by peer)] 22:03:49 of_the_lesser [i=oftheles@cpe-174-100-207-183.neo.res.rr.com] has joined #scheme 22:05:16 i'm really surprised with scheme... with no experience, i just wrote a program in 50 lines that is equivalente to a poorly made 500 lines c++ program 22:05:24 but, as i said, it was poorly made 22:08:29 -!- mario-goulart [n=user@201-40-162-47.cable.viacabocom.com.br] has quit [Remote closed the connection] 22:09:04 -!- jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has quit [Read error: 113 (No route to host)] 22:09:05 -!- ofthelesser [i=oftheles@cpe-174-100-207-183.neo.res.rr.com] has quit [Read error: 60 (Operation timed out)] 22:10:12 axhixh [n=axhixh@cpc3-walt5-0-0-cust134.popl.cable.ntl.com] has joined #scheme 22:11:45 aym [n=aymeric@ASt-Lambert-152-1-64-229.w82-120.abo.wanadoo.fr] has joined #scheme 22:19:09 -!- axhixh [n=axhixh@cpc3-walt5-0-0-cust134.popl.cable.ntl.com] has left #scheme 22:20:50 -!- saccade_ [n=saccade@c-66-31-201-117.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 22:23:05 -!- flyfish [n=flyfish@pixout.appriss.com] has left #scheme 22:37:43 -!- MichaelRaskin [n=MichaelR@195.91.224.225] has quit [Remote closed the connection] 22:39:00 MichaelRaskin [n=MichaelR@195.91.224.225] has joined #scheme 22:40:33 -!- bweaver [n=user@75-148-111-133-Chattanooga.hfc.comcastbusiness.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 22:41:29 -!- Edico [n=Edico@unaffiliated/edico] has quit ["Ex-Chat"] 22:41:55 -!- jeapostrophe [n=jay@eng-4-34.hotspot.utah.edu] has quit [] 22:43:17 -!- jonrafkind [n=jon@eng-4-55.hotspot.utah.edu] has quit [Read error: 60 (Operation timed out)] 22:43:57 -!- haole [n=ivan@189.35.188.83] has quit ["Ex-Chat"] 22:48:22 Riastradh: Are you around for some parscheme interrogation? 22:48:29 Go ahead. 22:49:27 -!- ineiros_ [n=ineiros@pc217.ics.hut.fi] has quit [Read error: 60 (Operation timed out)] 22:49:40 arcfide pasted "Problems with Parscheme" at http://paste.lisp.org/display/84952 22:49:42 ineiros_ [n=ineiros@pc217.ics.hut.fi] has joined #scheme 22:50:21 Riastradh: In the above parser, I am trying to parse "user@blah.com, user@blah.other", but it fails with an unexpected end of input error. 22:50:33 However, if I append another #\, to the end of that string, it parses just fine. 22:50:41 I'm having trouble narrowing down where the problem is. 22:51:16 What accepts whitespace, and what is the definition of RFC2822-PARSER:MAILBOX? 22:51:50 -!- kib2 [n=kib@bd137-1-82-228-159-28.fbx.proxad.net] has left #scheme 22:52:20 Let me see if I can get the full thing out there for you. 22:54:49 arcfide annotated #84952 "More parsers" at http://paste.lisp.org/display/84952#1 22:55:26 Riastradh: If you look at RFC 2822, I'm starting with a pretty direct translation of their grammar. 22:55:38 gnomon_ [n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 22:56:49 Riastradh, "me@blah" is also parse by the mailbox-list parser just fine. It's just the multiples that don't end with a comma that get strange. 22:57:22 arcfide, by the way, you can set *PARSE-TRACE?* or something to true and get some indication of what parsers it's running. (It's much too verbose right now, and the whole mechanism needs to be improved, but perhaps it may help anyway.) 22:57:47 Oh.... 22:58:49 Riastradh: You mean 'enable-parse-trace' and 'disable-parse-trace'? 23:04:47 Yes. 23:04:54 Wow, that is some verbose output. 23:05:07 offby1: Is it possible to load SRFIs into a r5rs rudybot sandbox? 23:05:08 I suspect not 23:05:15 -!- offby1` is now known as offby1 23:05:46 Riastradh: (run rfc2822-parser:atext) is the last thing I recognize before the errors. 23:06:54 Riastradh: Anyways, i have to shop right now, so I'm out of here, but if you spot anything, or care to give any hints, then please do. :-) 23:07:24 scheme is hard -- let's go shopping 23:07:57 delopart [n=sfv@88.235.226.43] has joined #scheme 23:08:38 arcfide, I suspect the problem lies not in the definition of the MAILBOX-LIST parser but somewhere else that is failing to handle white space, accidentally eating a comma, or something like that. 23:10:41 Riastradh: Thanks, I'll see if I can root it out. 23:10:59 hay 23:10:59 -!- gnomon [n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Read error: 110 (Connection timed out)] 23:28:29 -!- aym [n=aymeric@ASt-Lambert-152-1-64-229.w82-120.abo.wanadoo.fr] has quit [] 23:41:41 -!- Nshag [i=user@Mix-Orleans-106-3-19.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 23:49:21 -!- Judofyr [n=Judofyr@c249DBF51.dhcp.bluecom.no] has quit [Remote closed the connection]