00:01:11 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Read error: Operation timed out] 00:01:20 No, that's absolutely not the case. 00:02:06 A function of no arguments might mutate something itself, or have an effect on control flow, or have a side effect. 00:02:07 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 00:02:14 homie [~user@xdsl-87-78-39-161.netcologne.de] has joined #scheme 00:02:18 (Er, that was a bit redundant.) 00:02:41 wbooze [~user@xdsl-87-78-39-161.netcologne.de] has joined #scheme 00:03:01 :s 00:03:10 What does that mean? 00:03:18 (let () (define-values (fetch store!) (let ((x 0)) (values (lambda () x) (lambda (x*) (set! x x*))))) (store! 1) (fetch)) ;Value: 1 00:03:31 :s sorta means confusion 00:03:54 tommylommykins, usually the purpose of a nullary procedure is to read some mutable state or to perform some side effect, such as writing to some mutable state or performing a control transfer. 00:04:20 -!- rdd [~rdd@c83-250-52-182.bredband.comhem.se] has quit [Ping timeout: 248 seconds] 00:04:23 Here, FETCH reads from some mutable state shared by it and STORE!, to which STORE! writes. 00:08:58 Not all nullary procedures fit this mold, however. For example, in a twisty maze of conditionals, many subsets of whose branches lead to common computations, you might wrap each computation into a nullary procedure and then use that procedure in each of a subset of branches: 00:09:53 (define (foo a b c) (define (mumble) ...a hairy computation...) (define (frotz) ...a different hairy computation...) (cond ((x? a b) (mumble)) ((y? b c) (frotz)) ((z? a b c) (if (zoot? a c) (mumble) (frotz))) ((w? a b c) (if (tooz? c a) (frotz) (mumble))) (else (mumble))) 00:10:08 -!- IJP [~Ian@host86-185-214-37.range86-185.btcentralplus.com] has quit [Ping timeout: 240 seconds] 00:11:32 IJP [~Ian@host86-185-214-37.range86-185.btcentralplus.com] has joined #scheme 00:11:53 waltermai [~user@c-68-54-64-79.hsd1.fl.comcast.net] has joined #scheme 00:11:54 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Remote host closed the connection] 00:12:00 :| 00:12:11 -!- mmc [~michal@109.117.204.227] has quit [Ping timeout: 264 seconds] 00:15:18 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 00:17:27 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 00:17:47 Riastradh [~riastradh@tissot.csail.mit.edu] has joined #scheme 00:22:48 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 00:24:46 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 00:25:18 -!- homie [~user@xdsl-87-78-39-161.netcologne.de] has quit [Ping timeout: 260 seconds] 00:25:40 -!- wbooze [~user@xdsl-87-78-39-161.netcologne.de] has quit [Ping timeout: 276 seconds] 00:27:03 -!- Riastradh [~riastradh@tissot.csail.mit.edu] has quit [Remote host closed the connection] 00:29:01 saccade [~saccade@209-6-36-151.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 00:35:48 -!- saccade [~saccade@209-6-36-151.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 265 seconds] 00:36:54 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 00:37:46 mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has joined #scheme 00:40:28 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 240 seconds] 00:40:46 MonononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 00:41:54 -!- MonononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Read error: Connection reset by peer] 00:42:56 saccade [~saccade@209-6-39-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 00:44:05 -!- MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Ping timeout: 245 seconds] 00:50:09 nicktick [debian-tor@gateway/tor-sasl/nicktick] has joined #scheme 00:51:15 katesmith_ [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has joined #scheme 00:51:26 -!- rirombo [~rirombo@h113.187.19.98.dynamic.ip.windstream.net] has left #scheme 00:54:15 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Ping timeout: 252 seconds] 00:54:16 homie [~user@xdsl-87-79-86-95.netcologne.de] has joined #scheme 00:54:22 wbooze [~user@xdsl-87-79-86-95.netcologne.de] has joined #scheme 00:54:48 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 00:57:18 Riastradh [~riastradh@tissot.csail.mit.edu] has joined #scheme 00:57:54 SinDoc [~SinDoc@213.49.145.54] has joined #scheme 01:03:37 -!- Riastradh [~riastradh@tissot.csail.mit.edu] has quit [Changing host] 01:03:38 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 01:05:38 katesmith [~katesmith@unaffiliated/costume] has joined #scheme 01:07:55 -!- katesmith_ [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has quit [Ping timeout: 276 seconds] 01:10:58 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 01:11:02 katesmith_ [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has joined #scheme 01:14:25 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Ping timeout: 276 seconds] 01:25:01 -!- katesmith_ is now known as katesmith 01:25:12 -!- katesmith [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has quit [Changing host] 01:25:12 katesmith [~katesmith@unaffiliated/costume] has joined #scheme 01:26:14 -!- zard1989 [~user@Joe.m4.ntu.edu.tw] has quit [Remote host closed the connection] 01:28:27 -!- mejja [~user@c-14bee555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.6/20100625231939]] 01:37:15 asarch [~asarch@189.188.156.14] has joined #scheme 01:45:42 MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 01:49:48 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 01:52:01 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 01:57:55 snarkyboojum [~snarkyboo@120.156.47.205] has joined #scheme 02:00:56 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 02:02:20 FunkyDrummer [~RageOfTho@users-55-247.vinet.ba] has joined #scheme 02:02:47 -!- snarkyboojum [~snarkyboo@120.156.47.205] has quit [Ping timeout: 265 seconds] 02:06:10 -!- RageOfThou [~RageOfTho@users-33-43.vinet.ba] has quit [Ping timeout: 245 seconds] 02:15:29 mjonsson_ [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has joined #scheme 02:16:39 -!- mjonsson_ [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has quit [Client Quit] 02:17:22 snarkyboojum [~snarkyboo@120.152.110.182] has joined #scheme 02:19:58 -!- Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has quit [Quit: Ex-Chat] 02:20:12 chandler: as far as I know, that's just how read-html-as-xml works 02:20:19 (from seven hours ago) 02:22:26 -!- tommylommykins [~tommylomm@5ada15da.bb.sky.com] has quit [Ping timeout: 260 seconds] 02:24:19 Riastradh, thanks for the pointer to your patch. I will give it a proper reading when I wake up! 02:24:34 -!- bgs101 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 02:25:02 Oh, there's nothing particularly interesting about it. It does the straightforward thing -- if OpenSSL's verification fails, just check whether it's in the whitelist. 02:28:31 -!- mastertogo [~togo@ip70-171-249-111.tc.ph.cox.net] has quit [Ping timeout: 276 seconds] 02:29:11 bgs100 [cheshire@gateway/shell/57o9.org/x-gbwzajzklhwdlnop] has joined #scheme 02:34:15 neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has joined #scheme 02:34:21 -!- Axioplase_ is now known as Axioplase 02:37:18 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Quit: Adamant] 02:37:21 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 276 seconds] 02:42:14 -!- SinDoc [~SinDoc@213.49.145.54] has left #scheme 02:42:44 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: If only your veins were filled with oil, the world would rush to your rescue!] 02:43:51 mastertogo [~togo@ip70-171-249-111.tc.ph.cox.net] has joined #scheme 02:52:16 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 02:52:39 timj__ [~timj@e176197238.adsl.alicedsl.de] has joined #scheme 02:54:49 -!- IJP [~Ian@host86-185-214-37.range86-185.btcentralplus.com] has quit [Quit: leaving] 02:56:10 -!- timj_ [~timj@e176197026.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 02:59:34 -!- snarkyboojum [~snarkyboo@120.152.110.182] has quit [Quit: snarkyboojum] 03:06:17 jcowan [~John@cpe-98-14-172-204.nyc.res.rr.com] has joined #scheme 03:13:32 -!- neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has quit [Quit: Leaving] 03:25:21 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 03:26:24 -!- FunkyDrummer [~RageOfTho@users-55-247.vinet.ba] has quit [Ping timeout: 265 seconds] 03:26:56 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 03:29:55 hohoho [~hohoho@s211-57.pubnet.titech.ac.jp] has joined #scheme 03:31:49 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 03:34:06 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 03:36:53 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Quit: leaving] 03:37:07 -!- nicktick [debian-tor@gateway/tor-sasl/nicktick] has quit [Remote host closed the connection] 03:44:30 -!- MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Quit: Leaving] 03:47:02 -!- hohoho [~hohoho@s211-57.pubnet.titech.ac.jp] has quit [Remote host closed the connection] 03:50:54 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 03:58:15 MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 03:59:03 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 04:01:10 -!- mastertogo [~togo@ip70-171-249-111.tc.ph.cox.net] has quit [Read error: Connection reset by peer] 04:01:49 mastertogo [~togo@ip70-171-249-111.tc.ph.cox.net] has joined #scheme 04:04:11 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Read error: Connection reset by peer] 04:04:54 katesmith [~katesmith@unaffiliated/costume] has joined #scheme 04:06:09 -!- leppie [~lolcow@196-210-177-53.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 04:06:43 leppie [~lolcow@196-210-177-53.dynamic.isadsl.co.za] has joined #scheme 04:06:57 -!- sad0ur [~sad0ur@psi.cz] has quit [Ping timeout: 240 seconds] 04:07:11 sad0ur [~sad0ur@psi.cz] has joined #scheme 04:08:07 -!- jcowan [~John@cpe-98-14-172-204.nyc.res.rr.com] has quit [Quit: Leaving] 04:12:35 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Quit: Leaving] 04:13:30 katesmith [~katesmith@unaffiliated/costume] has joined #scheme 04:16:19 -!- xissburg [~chatzilla@187.3.148.114] has quit [Remote host closed the connection] 04:23:37 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Read error: Connection reset by peer] 04:24:11 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [Ping timeout: 264 seconds] 04:24:13 katesmith [~katesmith@unaffiliated/costume] has joined #scheme 04:26:18 -!- MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Quit: Leaving] 04:30:47 Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has joined #scheme 04:30:49 -!- Hal9k [~Lernaean@24-107-60-232.dhcp.stls.mo.charter.com] has quit [Changing host] 04:30:49 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 04:31:29 nicktick [debian-tor@gateway/tor-sasl/nicktick] has joined #scheme 04:41:00 jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 04:43:08 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 04:48:58 neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has joined #scheme 04:53:41 nowhere_man [~pierre@AStrasbourg-551-1-85-227.w81-51.abo.wanadoo.fr] has joined #scheme 04:53:48 ray [ray@xkcd-sucks.org] has joined #scheme 04:55:00 -!- kephas [~pierre@AStrasbourg-551-1-92-16.w81-49.abo.wanadoo.fr] has quit [Ping timeout: 248 seconds] 05:02:15 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 05:20:16 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 05:24:10 Thank you ski, I fixed it :D 05:27:12 Toekutr [~toekutr@adsl-69-107-120-72.dsl.pltn13.pacbell.net] has joined #scheme 05:33:21 walterma` [~user@c-68-54-64-79.hsd1.fl.comcast.net] has joined #scheme 05:34:28 -!- tizoc [~user@unaffiliated/tizoc] has quit [Ping timeout: 248 seconds] 05:36:33 -!- waltermai [~user@c-68-54-64-79.hsd1.fl.comcast.net] has quit [Ping timeout: 240 seconds] 05:38:22 tizoc [~user@unaffiliated/tizoc] has joined #scheme 05:39:56 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 265 seconds] 05:42:43 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 05:43:51 mathk [~mathk@lns-bzn-42-82-255-122-94.adsl.proxad.net] has joined #scheme 05:48:24 -!- ray [ray@xkcd-sucks.org] has quit [Quit: ;] 05:49:58 ray [ray@xkcd-sucks.org] has joined #scheme 05:51:40 -!- neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has quit [Quit: Leaving] 05:58:55 -!- luz [~davids@201.17.88.176] has quit [Remote host closed the connection] 06:08:48 -!- mathk [~mathk@lns-bzn-42-82-255-122-94.adsl.proxad.net] has quit [Quit: ..zzZzzZ] 06:10:19 -!- nicktick [debian-tor@gateway/tor-sasl/nicktick] has quit [Remote host closed the connection] 06:13:16 -!- asarch [~asarch@189.188.156.14] has quit [Quit: Leaving] 06:16:10 -!- walterma` is now known as waltermai 06:26:00 rdd [~rdd@c83-250-52-182.bredband.comhem.se] has joined #scheme 06:27:01 -!- jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Ping timeout: 246 seconds] 06:30:11 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 264 seconds] 06:30:59 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 06:31:48 -!- saccade [~saccade@209-6-39-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: Leaving] 06:36:45 -!- mastertogo [~togo@ip70-171-249-111.tc.ph.cox.net] has quit [Quit: and /part are on an island. /part dies, which is left?] 06:41:48 saccade [~saccade@209-6-36-151.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 06:50:31 -!- incubot [~incubot@klutometis.wikitex.org] has quit [Remote host closed the connection] 06:59:17 incubot [incubot@klutometis.wikitex.org] has joined #scheme 07:03:47 -!- saccade [~saccade@209-6-36-151.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 264 seconds] 07:08:20 saccade [~saccade@209-6-39-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 07:12:22 R3cur51v3 [~Recursive@209-20-84-78.slicehost.net] has joined #scheme 07:19:29 edlinde [~edlinde@213.1.222.66] has joined #scheme 07:21:28 nicktick [debian-tor@gateway/tor-sasl/nicktick] has joined #scheme 07:32:31 wingo [~wingo@81.39.161.45] has joined #scheme 07:33:37 gravicappa [~gravicapp@80.90.116.82] has joined #scheme 07:36:19 -!- edlinde [~edlinde@213.1.222.66] has quit [Quit: edlinde] 07:37:40 mmc [~michal@109.116.160.189] has joined #scheme 07:38:22 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Ping timeout: 260 seconds] 07:44:30 -!- wingo [~wingo@81.39.161.45] has quit [Ping timeout: 265 seconds] 07:52:00 -!- Dark-Star|Zzz [~michael@HSI-KBW-085-216-084-235.hsi.kabelbw.de] has quit [Ping timeout: 245 seconds] 07:53:07 Dark-Star|Zzz [~michael@HSI-KBW-085-216-084-235.hsi.kabelbw.de] has joined #scheme 08:00:21 masm [~masm@2.80.156.81] has joined #scheme 08:01:44 edlinde [~edlinde@213.1.222.66] has joined #scheme 08:02:18 schmir [~schmir@mail.brainbot.com] has joined #scheme 08:13:54 -!- ecloud [~rutledge@ip72-208-148-56.ph.ph.cox.net] has quit [Quit: ecloud] 08:31:39 ve [~a@vortis.xen.tardis.ed.ac.uk] has joined #scheme 08:33:19 -!- saccade [~saccade@209-6-39-179.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: This computer has gone to sleep] 08:35:24 -!- masm [~masm@2.80.156.81] has quit [*.net *.split] 08:35:24 -!- tizoc [~user@unaffiliated/tizoc] has quit [*.net *.split] 08:35:24 -!- katesmith [~katesmith@unaffiliated/costume] has quit [*.net *.split] 08:35:24 -!- sad0ur [~sad0ur@psi.cz] has quit [*.net *.split] 08:35:24 -!- wbooze [~user@xdsl-87-79-86-95.netcologne.de] has quit [*.net *.split] 08:35:24 -!- NNshag [user@lns-bzn-21-82-64-88-20.adsl.proxad.net] has quit [*.net *.split] 08:35:24 -!- mauke [~mauke@p3m/member/mauke] has quit [*.net *.split] 08:35:31 katesmith_ [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has joined #scheme 08:36:48 masm [~masm@2.80.156.81] has joined #scheme 08:36:48 tizoc [~user@unaffiliated/tizoc] has joined #scheme 08:36:48 sad0ur [~sad0ur@psi.cz] has joined #scheme 08:36:48 wbooze [~user@xdsl-87-79-86-95.netcologne.de] has joined #scheme 08:36:48 NNshag [user@lns-bzn-21-82-64-88-20.adsl.proxad.net] has joined #scheme 08:36:48 mauke [~mauke@p3m/member/mauke] has joined #scheme 08:44:14 -!- wbooze [~user@xdsl-87-79-86-95.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:44:18 -!- homie [~user@xdsl-87-79-86-95.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:46:24 fradgers- [~fradgers-@5adb10a1.bb.sky.com] has joined #scheme 08:48:32 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 08:54:22 -!- NNshag [user@lns-bzn-21-82-64-88-20.adsl.proxad.net] has quit [Ping timeout: 246 seconds] 08:59:04 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 265 seconds] 09:03:15 -!- jao [~user@14.Red-88-6-167.staticIP.rima-tde.net] has quit [Ping timeout: 245 seconds] 09:06:34 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 09:25:50 toekutr_ [~toekutr@adsl-69-107-120-72.dsl.pltn13.pacbell.net] has joined #scheme 09:28:33 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 240 seconds] 09:28:36 -!- Toekutr [~toekutr@adsl-69-107-120-72.dsl.pltn13.pacbell.net] has quit [Ping timeout: 248 seconds] 09:28:40 eno [~eno@nslu2-linux/eno] has joined #scheme 09:30:15 -!- mbohun [~mbohun@202.124.72.22] has quit [Quit: Leaving] 09:31:23 -!- edlinde [~edlinde@213.1.222.66] has quit [Quit: edlinde] 09:34:48 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #scheme 09:37:15 Hi, I finish a meta-circular interpreter using the "Lisp in Small Pieces". I want to write an interpreter of a non lisp-like language in scheme. Can anyone point me to some good resources about how to write an interpreter that is not based in lisp syntax. 09:37:44 edlinde [~edlinde@213.1.222.66] has joined #scheme 09:38:13 and also will be Racket or R5RS a better choice for this task? 09:40:56 TR2N [email@89-180-165-249.net.novis.pt] has joined #scheme 09:47:45 -!- drwho [~drwho@c-76-124-164-157.hsd1.pa.comcast.net] has quit [Remote host closed the connection] 09:48:33 jao [~user@74.Red-80-24-4.staticIP.rima-tde.net] has joined #scheme 09:49:32 pdelgallego: well, Racket will probably be better, because plain R5RS is not really practical for "real life programming" as it lacks a lot of things (such as, well, everything you'll find in libraries) 09:50:35 HG` [~HG@xdsl-92-252-82-28.dip.osnanet.de] has joined #scheme 09:50:54 pdelgallego: then, all you need to do is to write a parser for your non-lisp language, or use a parser-generator (like "yacc") that has been written for your implementation (racket) and create an AST that your interpreter (the one you write) will process 09:52:06 Though, if your non-lisp language needs not sockets, graphics or whatever, then any R5RS implementation would be enough 09:52:30 -!- rdd [~rdd@c83-250-52-182.bredband.comhem.se] has quit [Read error: Connection reset by peer] 09:52:39 Axioplase, well its going to be a toy language, to learn how to design languages 09:52:45 rdd [~rdd@c83-250-52-182.bredband.comhem.se] has joined #scheme 09:52:57 I suggest you try writing a lexer/parser, that will be a very good exercise 09:53:12 Axioplase, so I don t really need the anything like sockets 09:53:31 pdelgallego: then you can stick to R5RS 09:54:10 Axioplase, and when writing the metacircular interpreter sometime I found the lack of set-car! very annoying. 09:54:54 Axioplase, Do you know any good book or website, that point how to write good lexer/parsers using Scheme.? 09:55:03 Well, need the language that seems the easiest for you to reason with. 09:55:31 Not for scheme, writing lexers/parsers is very generic. 09:55:51 Look for "LR parser" 09:56:12 bokr [~eduska@95-30-102-224.broadband.corbina.ru] has joined #scheme 09:57:17 though, it's not even the easiest to write: if your designed language is simple, and its grammar properly written, it can be written more naively 09:57:37 ok, one more question. After writing the parser, and the AST tree, I guess I will need also an evaluator ? 09:58:07 -!- katesmith_ is now known as katesmtih 09:58:08 "Recursive descent parser" is the naive algorithm, fun enough to write 09:58:22 -!- katesmtih is now known as katesmith 09:58:35 Well, the evaluator is where you show the world you understood the book LiSP :) 09:58:52 -!- katesmith is now known as Guest66306 09:59:21 -!- Guest66306 is now known as katesmtih 09:59:42 Though if your language is simple (such as a simple stack language à la CAT), it may be a lot easier. 10:00:39 Axioplase, It is going to be very easy. I was thinking some stack language like forth. I dont know CAT, I will check the language. 10:01:29 cat-language.com. It's a bit like Forth too. 10:02:07 -!- katesmtih [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has quit [Quit: Leaving] 10:02:09 -!- nicktick [debian-tor@gateway/tor-sasl/nicktick] has quit [Remote host closed the connection] 10:02:14 Oh, I find a scheme implementation of cat in scheme. That could help to start. http://code.google.com/p/scheme-cat/ 10:04:44 You should do it all by yourself! 10:04:56 It's going to be *too* easy if you start looking at his code 10:05:18 and you may not think by yourself of how to implement it 10:05:21 mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #scheme 10:06:12 that is true. 10:10:03 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:10:46 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 10:17:15 TR2N` [email@89.180.165.249] has joined #scheme 10:18:09 -!- TR2N [email@89-180-165-249.net.novis.pt] has quit [Disconnected by services] 10:18:16 -!- TR2N` is now known as TR2N 10:22:55 -!- incubot [incubot@klutometis.wikitex.org] has quit [Remote host closed the connection] 10:25:14 -!- waltermai [~user@c-68-54-64-79.hsd1.fl.comcast.net] has quit [Remote host closed the connection] 10:27:25 incubot [~incubot@klutometis.wikitex.org] has joined #scheme 10:39:50 -!- edlinde [~edlinde@213.1.222.66] has quit [Read error: Connection reset by peer] 10:43:30 Komi [Komi@62.32.130.27] has joined #scheme 10:43:34 hi 10:46:37 -!- rudybot [~luser@2001:470:1:41:a800:ff:fe3e:cde7] has quit [Ping timeout: 252 seconds] 10:55:42 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 10:57:16 homie [~user@xdsl-87-79-86-95.netcologne.de] has joined #scheme 10:57:17 wbooze [~user@xdsl-87-79-86-95.netcologne.de] has joined #scheme 11:00:47 -!- meder [~meder@c-69-143-116-194.hsd1.md.comcast.net] has quit [Ping timeout: 264 seconds] 11:02:29 mmc1 [~michal@109.112.27.252] has joined #scheme 11:04:36 -!- mmc [~michal@109.116.160.189] has quit [Ping timeout: 265 seconds] 11:04:56 rudybot [~luser@2001:470:1:41:a800:ff:fe3e:cde7] has joined #scheme 11:05:45 -!- rrm3 [~rrm3@rrm3.org] has quit [Ping timeout: 240 seconds] 11:06:39 rrm3 [~rrm3@rrm3.org] has joined #scheme 11:24:52 -!- nowhere_man [~pierre@AStrasbourg-551-1-85-227.w81-51.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 11:24:55 nowhereman [~pierre@AStrasbourg-551-1-25-137.w83-196.abo.wanadoo.fr] has joined #scheme 11:25:14 alvatar [~alvatar@75.233.218.87.dynamic.jazztel.es] has joined #scheme 11:25:29 -!- toekutr_ [~toekutr@adsl-69-107-120-72.dsl.pltn13.pacbell.net] has quit [Quit: REALITY IS TEARING ITSELF ASUNDER, BUT I MUST RACE] 11:34:59 Nshag [user@lns-bzn-24-82-64-187-160.adsl.proxad.net] has joined #scheme 11:35:58 SinDoc [~SinDoc@213.49.145.54] has joined #scheme 11:41:18 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 11:49:00 -!- metasyntax [~taylor@72.86.89.174] has quit [Quit: Be seeing you.] 11:53:24 Cheery [~cheery@a88-113-49-213.elisa-laajakaista.fi] has joined #scheme 11:59:35 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 12:00:29 -!- m`` [~m@usealice.org] has quit [Quit: alice.] 12:16:36 -!- fradgers- [~fradgers-@5adb10a1.bb.sky.com] has quit [Ping timeout: 265 seconds] 12:24:29 -!- SinDoc [~SinDoc@213.49.145.54] has left #scheme 12:26:41 do you know any resources that tackle FFI and continuations? 12:32:41 mmc [~michal@109.112.21.176] has joined #scheme 12:35:10 -!- mmc1 [~michal@109.112.27.252] has quit [Ping timeout: 260 seconds] 12:35:35 oh.. found text written before ctypes 12:42:46 is there a function that will turn a list into a list of two items from the previous list, e.g. '(1 2 3 4) would return '((1 2) (3 4)) 12:43:13 -!- paperkettles [~chris@2001:5c0:1104:f400:226:bbff:fe0c:b57f] has quit [Read error: Connection reset by peer] 12:43:19 -!- pchrist_ [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 12:43:23 paperkettles [~chris@2001:5c0:1104:f400:226:bbff:fe0c:b57f] has joined #scheme 12:43:56 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 12:44:05 joelmccracken: well you'll find one from manual along the other list commands if there's one. 12:50:31 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 240 seconds] 12:58:47 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 13:00:50 metasyntax [~taylor@12.132.219.7] has joined #scheme 13:02:31 -!- homie [~user@xdsl-87-79-86-95.netcologne.de] has quit [Ping timeout: 246 seconds] 13:02:33 -!- wbooze [~user@xdsl-87-79-86-95.netcologne.de] has quit [Ping timeout: 240 seconds] 13:03:51 -!- R3cur51v3 [~Recursive@209-20-84-78.slicehost.net] has quit [Quit: This system is going down for poweroff RIGHT FREAKING NOW!!!] 13:08:18 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 260 seconds] 13:08:50 homie [~user@xdsl-78-34-109-125.netcologne.de] has joined #scheme 13:09:21 wbooze [~user@xdsl-78-34-109-125.netcologne.de] has joined #scheme 13:10:38 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 13:15:45 -!- anli_ [~anders@c-e419e155.1056-1-64736c10.cust.bredbandsbolaget.se] has quit [Ping timeout: 240 seconds] 13:15:45 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 13:16:07 anli_ [~anders@c-e419e155.1056-1-64736c10.cust.bredbandsbolaget.se] has joined #scheme 13:16:38 -!- ray [ray@xkcd-sucks.org] has quit [Remote host closed the connection] 13:17:14 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 13:17:22 ray [ray@xkcd-sucks.org] has joined #scheme 13:17:34 -!- tizoc [~user@unaffiliated/tizoc] has quit [Ping timeout: 246 seconds] 13:21:25 tizoc [~user@unaffiliated/tizoc] has joined #scheme 13:23:30 stis_ [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 13:25:14 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Ping timeout: 240 seconds] 13:29:07 -!- masm [~masm@2.80.156.81] has quit [Ping timeout: 246 seconds] 13:29:18 -!- DerGuteMoritz [~syn@85.88.17.198] has quit [Ping timeout: 260 seconds] 13:29:56 DerGuteMoritz [~syn@85.88.17.198] has joined #scheme 13:30:17 -!- alvatar [~alvatar@75.233.218.87.dynamic.jazztel.es] has quit [Quit: leaving] 13:30:56 masm [~masm@2.80.156.81] has joined #scheme 13:31:41 slom [~sloma@port-87-234-239-162.static.qsc.de] has joined #scheme 13:32:17 fowlduck [~fowlduck@204.15.109.38] has joined #scheme 13:32:49 -!- wbooze [~user@xdsl-78-34-109-125.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:32:53 -!- homie [~user@xdsl-78-34-109-125.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:35:26 -!- ray [ray@xkcd-sucks.org] has quit [Remote host closed the connection] 13:35:31 ray [ray@xkcd-sucks.org] has joined #scheme 13:38:23 wbooze [~user@xdsl-78-34-109-125.netcologne.de] has joined #scheme 13:38:24 homie [~user@xdsl-78-34-109-125.netcologne.de] has joined #scheme 13:43:38 offby1: That wasn't what I was asking about. Compare the output in a regular Racket REPL. 13:44:29 -!- bokr [~eduska@95-30-102-224.broadband.corbina.ru] has quit [Quit: Leaving.] 13:46:07 rudybot: eval (print-struct) 13:46:09 chandler: ; Value: #t 13:52:43 rudybot: eval (version) 13:52:44 chandler: ; Value: "4.2.5" 13:52:58 Hm. Perhaps I customized something and forgot about it. 13:54:47 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 13:58:07 -!- slom [~sloma@port-87-234-239-162.static.qsc.de] has quit [Remote host closed the connection] 13:58:46 I am trying to use match to find an item from a list 13:58:55 given (define tst '(("1" 2) ("2" 3) ("3" 4))) 13:59:28 I expect (match tst ((list-no-order (list "2" a) others) a)) to find it for me, though it doesnt work. Any ideas why it doesn't? 13:59:58 asarch [~asarch@187.132.86.225] has joined #scheme 14:00:32 chandler: gotcha. Interesting; dunno what's up. 14:01:04 tommylommykins [~tommylomm@5ad471cc.bb.sky.com] has joined #scheme 14:04:51 karme [~user@2a01:4f8:100:51c1::4] has joined #scheme 14:08:19 laurav [~laurav@p9.eregie.pub.ro] has joined #scheme 14:08:21 -!- laurav [~laurav@p9.eregie.pub.ro] has left #scheme 14:08:28 alvatar [~alvatar@33.127.222.87.dynamic.jazztel.es] has joined #scheme 14:10:31 -!- leppie [~lolcow@196-210-177-53.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 14:11:53 ah, i figured it out. 14:13:20 leppie [~lolcow@196-210-177-53.dynamic.isadsl.co.za] has joined #scheme 14:36:47 kuribas [~user@d54C436D0.access.telenet.be] has joined #scheme 14:42:22 -!- karme [~user@2a01:4f8:100:51c1::4] has quit [Remote host closed the connection] 14:42:45 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 276 seconds] 14:44:42 -!- HG` [~HG@xdsl-92-252-82-28.dip.osnanet.de] has quit [Quit: Leaving.] 15:01:46 -!- bgs100 is now known as bgs000 15:03:22 -!- ray [ray@xkcd-sucks.org] has quit [Quit: ;] 15:05:20 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 15:05:45 -!- stepnem [~stepnem@88.103.132.186] has quit [Ping timeout: 240 seconds] 15:08:59 -!- rudybot [~luser@2001:470:1:41:a800:ff:fe3e:cde7] has quit [Ping timeout: 252 seconds] 15:10:34 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 260 seconds] 15:11:55 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 15:13:09 -!- fowlduck [~fowlduck@204.15.109.38] has quit [Remote host closed the connection] 15:13:28 rudybot [~luser@2001:470:1:41:a800:ff:fe3e:cde7] has joined #scheme 15:13:53 ray_ [ray@xkcd-sucks.org] has joined #scheme 15:15:01 -!- ray_ is now known as ray 15:20:02 fowlduck [~fowlduck@2002:cc0f:6d26:0:fa1e:dfff:fed7:9dc1] has joined #scheme 15:21:47 luz [~davids@201.17.88.176] has joined #scheme 15:23:10 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 260 seconds] 15:23:28 madmuppet [~alexander@202-74-215-221.ue.woosh.co.nz] has joined #scheme 15:23:51 -!- bgs000 is now known as bgs100 15:40:56 zard1989 [~user@Joe.m4.ntu.edu.tw] has joined #scheme 15:40:58 zard1989` [~user@Joe.m4.ntu.edu.tw] has joined #scheme 15:41:35 -!- zard1989 [~user@Joe.m4.ntu.edu.tw] has quit [Client Quit] 15:41:39 -!- zard1989` [~user@Joe.m4.ntu.edu.tw] has quit [Remote host closed the connection] 15:43:14 zard1989 [~user@Joe.m4.ntu.edu.tw] has joined #scheme 15:43:15 zard1989` [~user@Joe.m4.ntu.edu.tw] has joined #scheme 15:43:36 -!- zard1989 [~user@Joe.m4.ntu.edu.tw] has quit [Remote host closed the connection] 15:43:36 -!- zard1989` [~user@Joe.m4.ntu.edu.tw] has quit [Remote host closed the connection] 15:48:56 MrFahrenheit [~RageOfTho@users-55-254.vinet.ba] has joined #scheme 15:51:38 -!- schmir [~schmir@mail.brainbot.com] has quit [Remote host closed the connection] 15:59:03 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 16:05:10 -!- alvatar [~alvatar@33.127.222.87.dynamic.jazztel.es] has quit [Ping timeout: 260 seconds] 16:06:43 alvatar [~alvatar@172.126.222.87.dynamic.jazztel.es] has joined #scheme 16:07:53 -!- TR2N [email@89.180.165.249] has quit [Ping timeout: 260 seconds] 16:08:18 zard1989 [~user@Joe.m4.ntu.edu.tw] has joined #scheme 16:08:56 -!- zard1989 [~user@Joe.m4.ntu.edu.tw] has quit [Client Quit] 16:09:46 zard1989 [~user@Joe.m4.ntu.edu.tw] has joined #scheme 16:11:01 X-Scale [email@89.180.165.249] has joined #scheme 16:18:50 -!- jao [~user@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Ping timeout: 276 seconds] 16:20:10 -!- paint [~paint@unaffiliated/paint] has quit [Quit: IRC is just a multiplayer Notepad] 16:20:27 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Ping timeout: 258 seconds] 16:20:50 mmc1 [~michal@109.112.28.112] has joined #scheme 16:21:01 paint [~paint@unaffiliated/paint] has joined #scheme 16:21:13 -!- mmc [~michal@109.112.21.176] has quit [Ping timeout: 258 seconds] 16:45:10 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 16:45:12 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 16:52:55 -!- anli_ [~anders@c-e419e155.1056-1-64736c10.cust.bredbandsbolaget.se] has quit [Quit: Ex-Chat] 17:01:05 HG` [~HG@xdsl-92-252-82-28.dip.osnanet.de] has joined #scheme 17:09:12 -!- wingo-pi [~wingo-pi@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Remote host closed the connection] 17:11:32 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 248 seconds] 17:15:23 mathk [~mathk@lns-bzn-42-82-255-122-94.adsl.proxad.net] has joined #scheme 17:17:11 mastertogo [~togo@ip70-171-249-111.tc.ph.cox.net] has joined #scheme 17:27:49 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 17:27:52 antoszka [~antoszka@unaffiliated/antoszka] has joined #scheme 17:27:56 foo_ [503e5363@gateway/web/freenode/ip.80.62.83.99] has joined #scheme 17:28:51 -!- specbot [~specbot@common-lisp.net] has quit [Ping timeout: 240 seconds] 17:29:17 -!- homie [~user@xdsl-78-34-109-125.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:29:27 -!- lisppaste [~lisppaste@common-lisp.net] has quit [Ping timeout: 258 seconds] 17:29:44 -!- wbooze [~user@xdsl-78-34-109-125.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:31:38 homie [~user@xdsl-78-34-109-125.netcologne.de] has joined #scheme 17:31:43 wbooze [~user@xdsl-78-34-109-125.netcologne.de] has joined #scheme 17:32:53 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 17:33:30 saccade [~saccade@c-66-31-201-117.hsd1.ma.comcast.net] has joined #scheme 17:36:27 -!- chiiph_ [~chiiph@dumbledore.com.ar] has quit [Quit: bye bye] 17:36:46 chiiph [~chiiph@gentoo/developer/chiiph] has joined #scheme 17:38:35 -!- saccade [~saccade@c-66-31-201-117.hsd1.ma.comcast.net] has quit [Ping timeout: 264 seconds] 17:38:40 -!- ASau` is now known as ASau 17:39:54 stepnem [~stepnem@88.103.132.186] has joined #scheme 17:41:53 ecloud [~rutledge@ip72-208-148-56.ph.ph.cox.net] has joined #scheme 17:42:40 saccade [~saccade@c-66-31-201-117.hsd1.ma.comcast.net] has joined #scheme 17:43:32 -!- foo_ [503e5363@gateway/web/freenode/ip.80.62.83.99] has quit [Ping timeout: 252 seconds] 17:53:39 -!- mathk [~mathk@lns-bzn-42-82-255-122-94.adsl.proxad.net] has quit [Read error: Connection reset by peer] 17:53:56 mathk [~mathk@lns-bzn-58-82-251-237-49.adsl.proxad.net] has joined #scheme 17:56:47 malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has joined #scheme 18:07:59 I have been doing a problem out of common lisp an introduction to symbolic computation .. the question asks you to write a craps game .. my effort is at http://pastebin.com/s49GDA8N my question is why the (list 'throw ... in start craps does not work if it goes for try-for-point? any help appreciated thanks 18:08:19 -!- ASau [~user@83.69.227.32] has quit [Remote host closed the connection] 18:09:49 choas [~lars@p5B0DC353.dip.t-dialin.net] has joined #scheme 18:10:34 madmuppet: what is the rule of evaluation of a let form? 18:11:43 pjb:no idea 18:12:18 ASau [~user@83.69.227.32] has joined #scheme 18:12:33 Then learn about it: http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-7.html#%_idx_124 18:12:34 -rudybot:#scheme- http://tinyurl.com/695ay7 18:13:03 its one of the many things I have to learn about ..:p 18:17:39 That's said, I don't find it formally specified here, and it's not obvious elsewhere either, but the expressions in the are actually evaluated in sequence (you don't need to know that to see that you have a problem, only what is specified in the url above is enough), but understanding that the expressions are evaluated in sequence should show even more clearly what's your problem. 18:21:06 jao [~user@14.Red-88-6-167.staticIP.rima-tde.net] has joined #scheme 18:21:16 pjb:looking at the same thing on another page http://people.csail.mit.edu/jaffer/r5rs_6.html 18:27:31 -!- mmc1 [~michal@109.112.28.112] has quit [Quit: Leaving.] 18:31:17 -!- ecloud [~rutledge@ip72-208-148-56.ph.ph.cox.net] has quit [Remote host closed the connection] 18:32:41 -!- saccade [~saccade@c-66-31-201-117.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 18:32:49 mmc [~michal@109.112.28.112] has joined #scheme 18:35:37 specbot [~specbot@common-lisp.net] has joined #scheme 18:35:49 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 18:41:45 -!- kuribas [~user@d54C436D0.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:43:04 lisppaste [~lisppaste@common-lisp.net] has joined #scheme 18:49:05 schmir [~schmir@p54A906E2.dip0.t-ipconnect.de] has joined #scheme 18:51:18 -!- fowlduck [~fowlduck@2002:cc0f:6d26:0:fa1e:dfff:fed7:9dc1] has quit [Ping timeout: 260 seconds] 19:08:54 saccade [~saccade@dhcp-18-111-82-90.dyn.mit.edu] has joined #scheme 19:11:10 -!- asarch [~asarch@187.132.86.225] has quit [Read error: Operation timed out] 19:18:15 -!- schmir [~schmir@p54A906E2.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 19:18:41 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 19:19:16 -!- stepnem [~stepnem@88.103.132.186] has quit [Ping timeout: 276 seconds] 19:20:45 proq [~user@unaffiliated/proqesi] has joined #scheme 19:24:32 -!- paint [~paint@unaffiliated/paint] has quit [Quit: IRC is just a multiplayer Notepad] 19:26:25 stepnem [~stepnem@88.103.132.186] has joined #scheme 19:27:09 saccade_ [~saccade_@2002:125d:34f:4:214:51ff:fe25:d8c4] has joined #scheme 19:28:21 bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has joined #scheme 19:31:45 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 19:32:33 paint [~paint@unaffiliated/paint] has joined #scheme 19:32:39 ficthe [~saph@cpe-24-92-71-240.wi.res.rr.com] has joined #scheme 19:35:58 Spewns [~jake@97-92-222-240.dhcp.stls.mo.charter.com] has joined #scheme 19:38:19 hiya 19:39:07 hey 19:42:40 Does there exist a library with a function that can consume a string that has html tags in it and produce a the scheme embedded list representation of it? For example "foo
bar " -> `( "foo" (br) "bar" (img (src "baz"))) 19:42:57 mejja [~user@c-14bee555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 19:43:52 fowlduck [~fowlduck@2002:cc0f:6d26:0:fa1e:dfff:fed7:9dc1] has joined #scheme 19:44:44 Because I can write this, but don't want to if something is already out there. 19:45:16 I know several such libraries for CL. There exist probably some for scheme too. 19:47:02 MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 19:47:49 -!- ficthe [~saph@cpe-24-92-71-240.wi.res.rr.com] has quit [Quit: Leaving] 19:48:53 (maybe a bit naive) but aren't there some scheme tools for turning XML into lists like that? 19:48:58 Would they be of use? 19:49:04 That's the wrong way =P 19:49:15 I want to go string->list 19:49:22 Oh wait. 19:49:25 I see what you mean 19:49:34 askhader: ssax.sf.net 19:49:48 Most scheme systems have packages for that 19:54:48 rudybot: eval (require html xml) 19:55:54 rudybot: eval (map xml->xexpr (read-html-as-xml (open-input-string "foo
bar "))) 19:55:56 chandler: ; Value: ("foo" (br ()) " bar " (img ((src "baz")))) 19:56:06 askhader: Is that what you're looking for? 19:56:27 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 19:56:30 chandler: ++ 19:56:42 brilliant, thanks 19:57:26 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Client Quit] 20:00:12 -!- saccade [~saccade@dhcp-18-111-82-90.dyn.mit.edu] has quit [*.net *.split] 20:00:12 -!- mmc [~michal@109.112.28.112] has quit [*.net *.split] 20:00:13 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [*.net *.split] 20:02:02 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 20:03:33 hotblack23 [~jh@p4FC59BD2.dip.t-dialin.net] has joined #scheme 20:03:45 I have been doing a problem out of common lisp an introduction to symbolic computation .. the question asks you to write a craps game .. my effort is at http://pastebin.com/s49GDA8N my question is why the (list 'throw ... in start craps does not work if it goes for try-for-point? any help appreciated thanks 20:04:22 sorry new addy http://pastebin.com/M66LVEP5 20:04:28 That URL isn't valid. Can you re-paste your code here? http://paste.lisp.org/new/scheme 20:05:18 I repasted sorry .. one above should work 20:05:36 OK, now I don't understand your question. 20:05:41 I'd need few good FFI -documentary. 20:05:51 + continuation stuff. 20:06:02 mmc [~michal@109.112.28.112] has joined #scheme 20:06:05 question asks you to write a craps game 20:06:18 if its an instant win or loss say so 20:06:22 mine does 20:06:53 if its not throw die again and if its a 7 you lose or if it makes the same number agian you win 20:06:59 which mine does 20:07:24 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 20:07:25 what mine does not do is let you know the first score if you dont instant win or lose 20:07:25 -!- acarrico [~acarrico@pppoe-68-142-57-42.gmavt.net] has quit [Ping timeout: 245 seconds] 20:08:06 so any pointers on what Im doing wrong with my let in start-craps down the bottom appreciated 20:08:22 chandler pasted "re-pasted for readability" at http://paste.lisp.org/display/112685 20:08:40 hmm 20:08:48 the cond form is badly formed at the bottom? 20:09:20 (cond ((craps m n) ?) blah....) 20:09:26 where you don't have anything at ? 20:09:38 No, that's valid. 20:09:54 rudybot: eval (cond ((+ 1 2))) 20:09:55 chandler: ; Value: 3 20:10:14 oh :s 20:10:30 IJP [~Ian@host86-185-214-37.range86-185.btcentralplus.com] has joined #scheme 20:11:55 -!- HG` [~HG@xdsl-92-252-82-28.dip.osnanet.de] has quit [Quit: Leaving.] 20:11:58 madmuppet: Where is `list-this' defined? 20:12:08 saccade [~saccade@BRAIN-AND-COG-THIRTY-EIGHT.MIT.EDU] has joined #scheme 20:12:33 chandler: its (define (list-this m n p)(list m n p)) 20:13:21 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 20:13:26 I don't know anything about this game; what are you expecting here? 20:14:12 if you throw two die and add them up to 7 or 11 you win straight away 20:14:28 if you get 2 3 or 12 you lose 20:14:43 otherwise throw again and try make the number you did throw 20:14:51 or get a 7 and lose 20:15:14 my program works if you win or lose straight away 20:15:29 So, in the case where you throw again, what are you expecting `start-craps' to return? 20:16:00 -!- alvatar [~alvatar@172.126.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 20:16:03 yeah hoping it will return the sum of the two dice before it throws again 20:16:42 and again if need be till it either makes the first throw sum or 7 20:17:46 OK. In the `cond' in `start-craps', do you see why the second clause with the test #t will never execute? 20:17:48 but it jumps straight to the win or loss without showing the numbers thrown if more than one or two throws 20:17:55 (craps m n) never returns #f, from what I can see. 20:18:31 yeah it does only if its not an instant win or loss 20:19:08 Not in the code you pasted. 20:19:16 say-throw are two conditions for instant-loss 20:20:35 waltermai [~user@c-68-54-64-79.hsd1.fl.comcast.net] has joined #scheme 20:21:34 chandler:I dont see it? 20:21:44 For what input does (craps m n) return #f ? 20:22:59 no instant-win no instant-loss no snake-eyes and no boxcars 20:23:18 For what numbers `m' and `n' does that occur? Did you try it? 20:23:24 say-throw returns #f 20:23:44 You have two definitions of `say-throw' in this program. 20:23:53 (2 2) ( 2 3) (2 4) 20:24:10 yeah I use the top one it syas used in start-craps 20:24:26 Please paste the program you're actually working on here: http://paste.lisp.org/new/scheme 20:24:28 the bottom one was testing stage 20:25:10 just a moment 20:27:32 -!- zard1989 [~user@Joe.m4.ntu.edu.tw] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:28:56 kephas [~pierre@AStrasbourg-551-1-89-111.w81-49.abo.wanadoo.fr] has joined #scheme 20:29:36 -!- nowhereman [~pierre@AStrasbourg-551-1-25-137.w83-196.abo.wanadoo.fr] has quit [Ping timeout: 265 seconds] 20:30:20 madmuppet pasted "untitled" at http://paste.lisp.org/display/112687 20:36:15 Are you actually running this code? Both this and the previous paste have paren mismatches. The very last paren doesn't match anything. 20:36:27 Hover your mouse over the definition of `start-craps' in that paste to see that. 20:38:52 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 20:42:08 madmuppet annotated #112687 "untitled" at http://paste.lisp.org/display/112687#1 20:42:39 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Remote host closed the connection] 20:43:02 I'm afraid I still don't understand what you're expecting here - it's the last three cases where you are expecting to see something more? 20:43:20 now from that you can see that the first throw was an instant win 20:43:24 thats ok 20:43:45 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 240 seconds] 20:44:12 the second throw did not instant-win or lose so it threw again without showing the sum of the two throws .. I want to be able to do that 20:45:07 Doesn't that involve just changing the two cases in `try-for-point'? 20:45:16 actually the 2nd 3rd and 4th throws all went to at least a second round .. maybe more and I would like to see the progression of scores 20:47:47 OK; this sounds likea simple matter of returning more information from `try-for-point', no? 20:47:59 If you've written this much, it seems like a simple modification to me. 20:49:48 -!- Komi [Komi@62.32.130.27] has quit [Ping timeout: 240 seconds] 20:51:21 I have tried listing the two die throws and the sum everywhere I thought it would work but nothing yet thats why Im here ..:p 20:57:50 hmm.. maybe I shouldn't be so worrying about mixing code with continuations and C calls. 20:58:25 -!- antoszka [~antoszka@unaffiliated/antoszka] has quit [Quit: +++ killed by SIGSEGV +++] 21:08:51 -!- madmuppet [~alexander@202-74-215-221.ue.woosh.co.nz] has quit [Quit: Leaving] 21:12:36 asarch [~asarch@187.132.134.114] has joined #scheme 21:14:18 schmir [~schmir@p54A90089.dip0.t-ipconnect.de] has joined #scheme 21:16:20 -!- MononcQc [~Ferd@modemcable062.225-20-96.mc.videotron.ca] has quit [Quit: Leaving] 21:17:40 -!- mmc [~michal@109.112.28.112] has quit [Ping timeout: 240 seconds] 21:18:06 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 21:19:17 mmc [~michal@109.116.161.103] has joined #scheme 21:20:00 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 21:22:16 -!- Cheery [~cheery@a88-113-49-213.elisa-laajakaista.fi] has quit [Quit: Lost terminal] 21:22:40 -!- Modius [~Modius@cpe-24-28-30-165.austin.res.rr.com] has quit [Quit: I'm big in Japan] 21:23:21 wingo [~wingo@83.32.71.209] has joined #scheme 21:28:03 Cues [~Cues@160.Red-79-159-132.staticIP.rima-tde.net] has joined #scheme 21:29:35 -!- mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has quit [Ping timeout: 264 seconds] 21:32:39 -!- Cues [~Cues@160.Red-79-159-132.staticIP.rima-tde.net] has quit [Quit: Cues] 21:35:00 -!- mmc [~michal@109.116.161.103] has quit [Ping timeout: 240 seconds] 21:35:08 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 260 seconds] 21:35:40 antoszka [~antoszka@unaffiliated/antoszka] has joined #scheme 21:36:32 -!- schmir [~schmir@p54A90089.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 21:37:49 -!- choas [~lars@p5B0DC353.dip.t-dialin.net] has quit [Quit: leaving] 21:38:44 -!- saccade_ [~saccade_@2002:125d:34f:4:214:51ff:fe25:d8c4] has quit [Ping timeout: 248 seconds] 21:40:42 -!- malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has quit [Ping timeout: 276 seconds] 21:43:29 saccade_ [~saccade_@COMBINATOR.MIT.EDU] has joined #scheme 21:43:53 mmc [~michal@109.116.177.35] has joined #scheme 21:49:13 -!- MrFahrenheit [~RageOfTho@users-55-254.vinet.ba] has quit [Read error: No route to host] 21:49:48 MrFahrenheit [~RageOfTho@users-33-129.vinet.ba] has joined #scheme 21:53:13 malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has joined #scheme 21:56:35 -!- wingo [~wingo@83.32.71.209] has quit [Ping timeout: 245 seconds] 22:07:29 -!- hotblack23 [~jh@p4FC59BD2.dip.t-dialin.net] has quit [Quit: Leaving.] 22:08:35 -!- asarch [~asarch@187.132.134.114] has quit [Remote host closed the connection] 22:11:30 -!- tommylommykins [~tommylomm@5ad471cc.bb.sky.com] has quit [Ping timeout: 260 seconds] 22:21:19 -!- X-Scale [email@89.180.165.249] has left #scheme 22:32:50 -!- Spewns [~jake@97-92-222-240.dhcp.stls.mo.charter.com] has quit [Ping timeout: 245 seconds] 22:33:05 -!- fowlduck [~fowlduck@2002:cc0f:6d26:0:fa1e:dfff:fed7:9dc1] has quit [Remote host closed the connection] 22:35:19 laurus [~laurus@c-68-40-207-109.hsd1.mi.comcast.net] has joined #scheme 22:35:26 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 265 seconds] 22:37:03 -!- laurus [~laurus@c-68-40-207-109.hsd1.mi.comcast.net] has left #scheme 22:37:53 -!- mathk [~mathk@lns-bzn-58-82-251-237-49.adsl.proxad.net] has quit [Quit: ..zzZzzZ] 22:46:31 asarch [~asarch@189.188.140.138] has joined #scheme 22:46:42 do re mi 22:47:39 incubot: dancing is forbidden 22:47:43 dancing for the Old Ones? 22:51:20 *mejja* enjoys a glass of rosé wine 22:53:25 foof` [~user@lain.inunome.com] has joined #scheme 22:53:55 -!- foof [~user@lain.inunome.com] has quit [Read error: Connection reset by peer] 22:54:42 -!- stis_ [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Read error: Connection reset by peer] 23:07:10 aidalgol [~user@202.36.179.65] has joined #scheme 23:12:17 mister_m [~matthew@OSH-NET-202-225.onshore.net] has joined #scheme 23:13:17 Is there any way I can do web programming with a framework in scheme without being tethered to a certain scheme distribution? 23:16:03 no 23:16:10 by porting said framework to multiple schemes? 23:16:10 What about SLIB? 23:16:25 so no 23:16:30 unless you write your own portable web framework... 23:16:42 is there a reason they are implementation specific? I don't understand why they aren't portable 23:16:47 unless they don;t conform to the standard? 23:17:09 because r5rs is too small and r6rs too young... 23:17:09 All Schemes are slightly different AFAICT. 23:17:28 For the reasons stated by sladegen. 23:18:02 that's kind of a bummer 23:19:59 I found one that works with the J2EE 23:20:40 via SISC 23:21:04 I might give an attempt at writing my own while I'm young and foolish 23:21:25 Kiss your sanity goodbye, mister_m. ;) 23:21:35 mister_m: web development is tricky and involves a lot of dependencies. Sooner or later you'll end up requiring something that is not portable (considering the web framework is portable ...) 23:24:28 And, again, it's tricky. 23:26:32 -!- malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has quit [Quit: Leaving] 23:27:04 yeah I'm sure it is :( 23:31:52 tommylommykins [~tommylomm@5ad471cc.bb.sky.com] has joined #scheme 23:35:51 -!- aidalgol [~user@202.36.179.65] has quit [Quit: Restarting Emacs after update...] 23:36:44 aidalgol [~user@202.36.179.65] has joined #scheme 23:36:54 well thanks for the reality check anyway guys 23:37:10 -!- aidalgol is now known as Guest57148 23:37:34 -!- Guest57148 is now known as aidalgol` 23:37:43 R3cur51v3 [~Recursive@209-20-84-78.slicehost.net] has joined #scheme 23:39:47 -!- paperkettles [~chris@2001:5c0:1104:f400:226:bbff:fe0c:b57f] has quit [Quit: paperkettles] 23:40:08 -!- aidalgol` is now known as aidalgol 23:44:07 rbarraud [~rbarraud@118-92-135-66.dsl.dyn.ihug.co.nz] has joined #scheme 23:53:46 -!- aidalgol [~user@202.36.179.65] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:55:37 mbohun [~mbohun@202.124.74.1] has joined #scheme 23:56:20 -!- pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has quit [Ping timeout: 248 seconds] 23:58:05 -!- mmc [~michal@109.116.177.35] has quit [Ping timeout: 265 seconds] 23:58:38 mmc [~michal@109.112.13.239] has joined #scheme