00:00:08 -!- ASau [~user@p5083D398.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 00:03:57 -!- theseb [~cs@74.194.237.26] has quit [Quit: Leaving] 00:11:08 klltkr_ [~klltkr@unaffiliated/klltkr] has joined #scheme 00:16:33 -!- phipes [~phipes@unaffiliated/phipes] has quit [Remote host closed the connection] 00:17:05 jcowan [~John@earth.ccil.org] has joined #scheme 00:20:06 jaccas [~pjfcl@3.182.108.93.rev.vodafone.pt] has joined #scheme 00:25:18 -!- jaccas [~pjfcl@3.182.108.93.rev.vodafone.pt] has quit [Quit: Saindo] 00:25:46 jaccas [~pjfcl@3.182.108.93.rev.vodafone.pt] has joined #scheme 00:26:42 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 00:29:55 -!- davexunit [~user@fsf/member/davexunit] has quit [Quit: Later] 00:31:06 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 252 seconds] 00:36:02 Shadox [Shadox@68-188-231-203.dhcp.bycy.mi.charter.com] has joined #scheme 00:38:46 Sgeo [~quassel@ool-44c2df0c.dyn.optonline.net] has joined #scheme 00:39:22 -!- annodomini [~lambda@wikipedia/lambda] has quit [Quit: annodomini] 00:47:30 -!- jao` [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 245 seconds] 00:49:21 Yay, I have now written a scheme interpreter in scheme 00:49:28 (note, this is The Little Schemer) 00:52:36 jcowan_ [~John@earth.ccil.org] has joined #scheme 00:53:03 -!- jcowan [~John@earth.ccil.org] has quit [Disconnected by services] 00:53:09 -!- jcowan_ is now known as jcowan 01:09:55 -!- oxum [~oxum@122.164.120.248] has quit [Quit: Bye..] 01:10:10 oxum [~oxum@122.164.120.248] has joined #scheme 01:15:16 SwashBuckla: nice :) 01:17:23 phipes [~phipes@unaffiliated/phipes] has joined #scheme 01:21:40 -!- phipes [~phipes@unaffiliated/phipes] has quit [Ping timeout: 245 seconds] 01:26:36 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 01:27:58 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Read error: No route to host] 01:28:25 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 01:33:09 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 272 seconds] 01:41:45 jhao [~junhao@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 01:50:55 phipes [~phipes@unaffiliated/phipes] has joined #scheme 01:55:57 pjb` [~t@90.24.130.7] has joined #scheme 02:00:08 -!- pjb [~user@AMontsouris-651-1-131-124.w90-46.abo.wanadoo.fr] has quit [Ping timeout: 272 seconds] 02:05:33 -!- phipes [~phipes@unaffiliated/phipes] has quit [Remote host closed the connection] 02:24:18 I *think* I finally established hygiene. :P And once I add set! it should actually be possible to store away syntax objects and reintroduce them in totally different places ... 02:24:23 -!- jaccas [~pjfcl@3.182.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 02:26:00 Or not 02:26:36 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 02:30:59 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 240 seconds] 02:39:59 -!- jhao [~junhao@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Quit: jhao] 02:49:12 -!- jcowan [~John@earth.ccil.org] has quit [Quit: Leaving] 02:49:23 chenjf [~chenjf@117.136.34.64] has joined #scheme 02:56:01 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 02:58:55 ohama [~ohama@cicolina.org] has joined #scheme 03:02:30 juanfra [~juanfra@unaffiliated/juanfra] has joined #scheme 03:22:53 -!- Shadox [Shadox@68-188-231-203.dhcp.bycy.mi.charter.com] has quit [Quit: Leaving] 03:24:02 jao` [~jao@21.Red-79-153-49.dynamicIP.rima-tde.net] has joined #scheme 03:24:02 phipes [~phipes@unaffiliated/phipes] has joined #scheme 03:24:05 -!- jao` [~jao@21.Red-79-153-49.dynamicIP.rima-tde.net] has quit [Changing host] 03:24:05 jao` [~jao@pdpc/supporter/professional/jao] has joined #scheme 03:26:37 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 03:31:03 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 252 seconds] 03:36:59 -!- oxum [~oxum@122.164.120.248] has quit [Ping timeout: 240 seconds] 03:48:27 -!- ASau` is now known as ASau 03:48:50 -!- akuhlens [~akuhlens@c-98-223-189-95.hsd1.in.comcast.net] has left #scheme 03:48:53 -!- mrowe_away is now known as mrowe 03:52:55 -!- tiksa [~tiksa@gateway/tor-sasl/tiksa] has quit [Quit: peace] 03:59:04 -!- klltkr_ [~klltkr@unaffiliated/klltkr] has quit [Quit: My MacBook has gone to sleep. ZZZzzz] 04:15:25 -!- amgarchIn9 [~amgarchin@p4FD60046.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 04:19:39 -!- mrowe is now known as mrowe_away 04:26:34 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 04:31:27 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 265 seconds] 04:37:00 -!- jao` is now known as jao 04:51:07 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 260 seconds] 04:58:31 -!- sstrickl [~sstrickl@racket/sstrickl] has quit [Read error: No route to host] 05:13:27 -!- arubin [~textual@99-114-192-172.lightspeed.cicril.sbcglobal.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz] 05:19:47 -!- trc [~vishesh@103.30.140.115] has quit [Ping timeout: 265 seconds] 05:26:37 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 05:31:26 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 264 seconds] 05:50:30 b4283 [~b4283@218-164-126-212.dynamic.hinet.net] has joined #scheme 05:55:29 ebzzry_ [~ebzzry@112.204.31.237] has joined #scheme 05:56:19 -!- ebzzry [~ebzzry@112.204.31.237] has quit [Read error: Connection reset by peer] 06:04:35 trc [~vishesh@122.177.20.104] has joined #scheme 06:06:55 karswell [~user@134.114.90.146.dyn.plus.net] has joined #scheme 06:09:23 zRecursive [~czsq888@183.12.91.120] has joined #scheme 06:10:45 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 06:12:55 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 06:16:26 -!- ASau [~user@p5083D448.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 06:23:15 ASau [~user@p5083D448.dip0.t-ipconnect.de] has joined #scheme 06:43:30 -!- ASau [~user@p5083D448.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 06:45:11 ASau [~user@p5083D448.dip0.t-ipconnect.de] has joined #scheme 06:48:51 heliumsocket [~heliumsoc@unaffiliated/heliumsocket] has joined #scheme 07:01:22 gravicappa [~gravicapp@ppp91-77-179-235.pppoe.mtu-net.ru] has joined #scheme 07:14:25 -!- tenq|away is now known as tenq 07:22:15 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 252 seconds] 07:39:55 Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 07:48:29 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 07:55:03 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 272 seconds] 08:08:09 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 08:12:59 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 240 seconds] 08:22:32 -!- phipes [~phipes@unaffiliated/phipes] has quit [Remote host closed the connection] 08:34:10 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 08:38:51 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 260 seconds] 08:49:22 -!- zRecursive [~czsq888@183.12.91.120] has quit [Remote host closed the connection] 08:54:48 -!- dreamdust [~dreamdust@unaffiliated/dreamdust] has quit [Quit: Leaving.] 08:55:18 phipes [~phipes@unaffiliated/phipes] has joined #scheme 08:56:18 how can I set the value of a symbol that's bound to a variable? 08:56:30 e.g. (define a 1234) (define b a) 08:56:51 (set! b 'abc) of course doesn't set a 08:57:02 but this is what i want, is there a way? 08:57:24 aehm....(define b 'a) 08:58:13 jewel [~jewel@105-236-88-77.access.mtnbusiness.co.za] has joined #scheme 09:04:41 aap_: you'd need to define your own SET! that does this 09:05:27 is there a scheme wiki I can post to for how to configure vim to edit scheme? 09:09:23 ecraven: ok, how do i do that? 09:12:20 you need to keep track of dependencies, define a bunch of macros, DEFINE-DEPENDENT and SET!* or something, then make SET!* update all dependencies 09:12:22 something like that :) 09:13:09 huh? that sounds rather complicated 09:14:13 SICP has something similar (though without the macrology) 09:14:23 sethalve_ [~user@headache.hungry.com] has joined #scheme 09:16:12 -!- sethalves [~user@headache.hungry.com] has quit [Ping timeout: 260 seconds] 09:27:04 certaint1 [~david@www1.d-coded.de] has joined #scheme 09:30:27 -!- joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has quit [*.net *.split] 09:30:28 -!- acarrico [~acarrico@hunt-sting-2-164.greenmountainaccess.net] has quit [*.net *.split] 09:30:28 -!- ctindall [~ctindall@billipede.net] has quit [*.net *.split] 09:30:28 -!- certainty [~david@www1.d-coded.de] has quit [*.net *.split] 09:30:28 -!- cross [~cross@spitfire.i.gajendra.net] has quit [*.net *.split] 09:30:47 -!- certaint1 is now known as certainty 09:32:32 amgarchIn9 [~amgarchin@p4FD63A7C.dip0.t-ipconnect.de] has joined #scheme 09:34:09 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 09:34:36 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 09:34:37 acarrico [~acarrico@hunt-sting-2-164.greenmountainaccess.net] has joined #scheme 09:34:37 ctindall [~ctindall@billipede.net] has joined #scheme 09:34:37 cross [~cross@spitfire.i.gajendra.net] has joined #scheme 09:39:27 stepnem [~stepnem@internet2.cznet.cz] has joined #scheme 09:39:56 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 272 seconds] 09:54:45 hiroakip [~hiroaki@ip-5-147-121-166.unitymediagroup.de] has joined #scheme 09:55:46 -!- amgarchIn9 [~amgarchin@p4FD63A7C.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 09:56:00 -!- phipes [~phipes@unaffiliated/phipes] has quit [Remote host closed the connection] 09:56:48 -!- chenjf [~chenjf@117.136.34.64] has quit [Ping timeout: 245 seconds] 10:05:34 klltkr_ [~klltkr@unaffiliated/klltkr] has joined #scheme 10:10:54 foeniks [~fevon@dslb-188-098-074-142.pools.arcor-ip.net] has joined #scheme 10:14:29 -!- foeniks [~fevon@dslb-188-098-074-142.pools.arcor-ip.net] has quit [Client Quit] 10:24:11 foeniks [~fevon@dslb-188-098-074-142.pools.arcor-ip.net] has joined #scheme 10:25:25 -!- trc [~vishesh@122.177.20.104] has quit [Ping timeout: 245 seconds] 10:29:07 oxum [~oxum@122.164.207.126] has joined #scheme 10:34:16 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 10:35:30 -!- foeniks [~fevon@dslb-188-098-074-142.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 10:39:15 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 265 seconds] 10:39:16 trc [~vishesh@122.177.246.104] has joined #scheme 10:41:08 foeniks [~fevon@dslb-188-098-074-142.pools.arcor-ip.net] has joined #scheme 10:41:22 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Remote host closed the connection] 10:44:21 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 10:47:42 -!- Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 10:50:06 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Remote host closed the connection] 11:13:41 -!- trc [~vishesh@122.177.246.104] has quit [Ping timeout: 248 seconds] 11:20:59 juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has joined #scheme 11:23:06 liqu0rice [~yaaic@brln-4dba8c8c.pool.mediaWays.net] has joined #scheme 11:24:04 -!- liqu0rice [~yaaic@brln-4dba8c8c.pool.mediaWays.net] has left #scheme 11:25:04 -!- gravicappa [~gravicapp@ppp91-77-179-235.pppoe.mtu-net.ru] has quit [Ping timeout: 272 seconds] 11:26:30 trc [~vishesh@122.177.68.213] has joined #scheme 11:26:41 juxovec_ [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 11:27:13 -!- hiroakip [~hiroaki@ip-5-147-121-166.unitymediagroup.de] has quit [Ping timeout: 245 seconds] 11:28:05 -!- juxovec [~juxovec@80.174.182.96.dyn.user.ono.com] has quit [Ping timeout: 248 seconds] 11:31:06 -!- juxovec_ [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 252 seconds] 11:31:49 Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 11:35:02 Blkt [~Blkt@2a01:4f8:150:80a1::aaaa] has joined #scheme 11:48:48 dous [~dous@unaffiliated/dous] has joined #scheme 11:49:06 -!- dous [~dous@unaffiliated/dous] has left #scheme 11:50:19 gravicappa [~gravicapp@ppp91-77-176-216.pppoe.mtu-net.ru] has joined #scheme 11:54:59 fantazo [~fantazo@213.129.230.10] has joined #scheme 11:55:14 -!- Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 11:56:23 -!- oleo [~oleo@xdsl-78-35-153-124.netcologne.de] has quit [Ping timeout: 245 seconds] 11:57:03 oleo [~oleo@xdsl-78-35-189-114.netcologne.de] has joined #scheme 12:02:27 -!- foeniks [~fevon@dslb-188-098-074-142.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 12:08:11 -!- trc [~vishesh@122.177.68.213] has quit [Ping timeout: 265 seconds] 12:11:33 -!- jewel [~jewel@105-236-88-77.access.mtnbusiness.co.za] has quit [Ping timeout: 272 seconds] 12:13:56 trc [~vishesh@122.177.56.25] has joined #scheme 12:20:36 aap_: What you're trying to do is very atypical, variables are usually meant to be immutable with anything else than `set!' so that e.g. a static analyzer can know if a variable never changes and make optimizations based on that etc.; same "does not change" guarantee also keeps the programmer sane really. 12:21:20 aap_: Instead you can pass around an *object* that's mutable. In standard Scheme you can use cons cells for that (which hold two values), most implementations support a "box" type that holds one value. 12:22:07 (define a (box 1234)) (define b a) (box-set! b 5678) (unbox a) => 5678 12:22:13 -!- klltkr_ [~klltkr@unaffiliated/klltkr] has quit [Quit: My MacBook has gone to sleep. ZZZzzz] 12:22:14 i'm not yet experienced in scheme so there could be a better way to solve my problem, but right now i find it inconvenient 12:23:35 i have an alist that i want to work with. replacing an element is easy, but adding one is harder 12:24:16 Right, when the alist is empty you really just have the empty-list object, which is an immutable value, so if a variable holds that value and you pass it somewhere else, that place can't add something to your alist ... 12:24:21 something like (lambda (key value alist) ... (set! alist ...)) of course doesn't work :/ 12:24:47 Instead you can pass around a boxed alist so that all receivers can add values even when it's empty. 12:25:21 But given your full code, or what you're really trying to accomplish, there might be yet better solutions. 12:26:32 possible, right now I need to look multiple things up for a symbol 12:26:45 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 12:26:46 so I thought i'd use an alist for each thing 12:27:07 Do you know of record types ? 12:27:17 hm...not yet 12:27:32 but that might work 12:28:03 foeniks [~fevon@dslb-188-099-236-125.pools.arcor-ip.net] has joined #scheme 12:29:18 For very trivial structures cons cells can be fine, e.g. you could have an alist from symbols to cons cells where the car holds one thing for that symbol and the cdr another thing, but if you want to store more complex things, then you'll want something that explicitly structures your data (instead of implicitly holding it in the car/cdr etc.), and record types can do that. 12:29:59 actually i explained wrong, i have two sets of symbols. the first one has just one thing associated, the second two things 12:30:17 so i could go with two alists 12:30:37 and one of them would hold two things for each key 12:31:26 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 264 seconds] 12:31:47 but i don't if this would simplify things, i'll just live with it 12:32:09 having three short functions with almost the same body isn't tooo bad 12:32:10 Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 12:36:15 -!- trc [~vishesh@122.177.56.25] has quit [Ping timeout: 245 seconds] 12:40:36 trc [~vishesh@122.177.56.25] has joined #scheme 12:46:51 -!- Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 13:08:50 -!- foeniks [~fevon@dslb-188-099-236-125.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 13:09:22 klltkr_ [~klltkr@unaffiliated/klltkr] has joined #scheme 13:12:02 Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 13:19:02 rszeno [~rszeno@79.114.103.72] has joined #scheme 13:24:51 foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has joined #scheme 13:26:47 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 13:29:01 amgarchIn9 [~amgarchin@p4FD63A7C.dip0.t-ipconnect.de] has joined #scheme 13:30:39 -!- foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 13:31:26 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 264 seconds] 13:34:42 przl [~przlrkt@178.19.216.162] has joined #scheme 13:35:12 -!- przl [~przlrkt@178.19.216.162] has quit [Client Quit] 13:35:42 przl [~przlrkt@178.19.216.162] has joined #scheme 13:36:52 I need some kind of test-suite or something to know whether what I wrote really implements hygiene ... 13:44:23 foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has joined #scheme 13:49:15 -!- trc [~vishesh@122.177.56.25] has quit [Ping timeout: 252 seconds] 14:26:45 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 14:26:57 -!- foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 14:27:45 annodomini [~lambda@wikipedia/lambda] has joined #scheme 14:30:58 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 245 seconds] 14:32:09 -!- gravicappa [~gravicapp@ppp91-77-176-216.pppoe.mtu-net.ru] has quit [Ping timeout: 272 seconds] 14:42:21 dzema [~dzema@180.183.147.192] has joined #scheme 14:42:51 langmartin [~langmarti@host-68-169-154-130.WISOLT2.epbfi.com] has joined #scheme 14:44:02 -!- fantazo [~fantazo@213.129.230.10] has quit [Ping timeout: 264 seconds] 14:44:17 foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has joined #scheme 14:45:07 taylanub: I'm sure you've tried http://community.schemewiki.org/?unit-testing but... *shrugs* 14:45:58 SwashBuckla: Thing is that it's not a full implementation, it might take too much to make it one, the purpose is just to experiment with macro systems .. 14:46:33 hmm 14:46:47 if you can stub/mock out the other stuff.. 14:46:55 I don't fully know what you mean, though 14:46:55 But I realized that I can easily make it share the host language's variables, so now I at least have the standard library of Guile in it ... 14:48:26 Could you explain what it is that you're making? I don't know what 'hygiene' is 14:48:28 Maybe that doesn't leave much .. I have yet to implement `set!' but `lambda', `quote', and `let-syntax' exist, `let' can be implemented as a macro, ... Oh yeah, internal defines aren't going to be supported, that's too much effort, and top-level `define' and `define-syntax' calls are just handled as special cases .. one is actually supposed to wrap everything in a lambda. 14:48:32 I mean, I shower once a day... 14:48:47 SwashBuckla: Hahaha. You know what macros are though right ? 14:48:58 no 14:49:02 ugh 14:49:22 perhaps I've used them and don't know it. I'm rather new, having just recently worked through all of The Little Schemer 14:49:31 I am aware they do things very grass-roots 14:49:32 Just read about macros, and then the "variable shadowing/capturing problem" and how hygienic macros solve that problem. 14:49:56 ok 14:50:02 SwashBuckla: If you're going through The Little Schemer, you'll get to that part eventually I guess, so just wait for it. 14:50:17 Well I've finished TLS 14:50:22 no mention of macros 14:50:55 oh 14:51:11 That was a series of books, no ? The next being The Seasoned Schemer or so ? Read that I guess. 14:51:16 yes 14:51:25 I will be moving on to Seasoned shortly :) 14:51:44 ok 14:51:45 I mean, they use (define foo (lambda (x y) ...)) throughout The Little Schemer 14:52:03 as opposed to (define (foo x y) ...) 14:54:01 Apparently one of the authors of the Schemer series invented hygienic macros 14:54:31 Daniel P. Friedman 14:54:36 http://en.wikipedia.org/wiki/Daniel_P._Friedman 14:58:09 clint_newsom [~user@cpe-67-244-80-144.nyc.res.rr.com] has joined #scheme 15:00:59 -!- foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 15:05:23 Both authors of (most of) the Schemer series was on that paper actually. 15:06:04 http://www.cs.indiana.edu/pub/techreports/TR194.pdf 15:08:54 foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has joined #scheme 15:13:17 tiksa [~tiksa@gateway/tor-sasl/tiksa] has joined #scheme 15:15:39 gravicappa [~gravicapp@ppp91-77-166-93.pppoe.mtu-net.ru] has joined #scheme 15:24:25 hiroakip [~hiroaki@ip-5-147-121-166.unitymediagroup.de] has joined #scheme 15:26:36 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 15:30:36 -!- pjb` is now known as pjb 15:31:06 -!- pjb is now known as Guest83082 15:31:15 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 245 seconds] 15:32:55 -!- amgarchIn9 [~amgarchin@p4FD63A7C.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 15:33:33 SwashBuckla: it's to show how small the number of special forms are in scheme 15:34:08 how small in number/ 15:34:16 or how small the ones that are there are? 15:34:22 off the top of my head, I think around 11? 15:34:31 let me check 15:34:41 I just didn't understand the meaning of your sentence 15:34:59 SwashBuckla: the number of them, not how many tokens you have to parse 15:35:05 ah 15:35:09 :P 15:35:33 -!- inarru_ [~edwardgeo@nest.insectsarerubbish.org] has quit [Ping timeout: 245 seconds] 15:35:49 -!- dzema [~dzema@180.183.147.192] has quit [Read error: Connection reset by peer] 15:36:56 SwashBuckla: actually you really only need 4 special forms, quote, if, set!, and lambda 15:37:05 inarru [~edwardgeo@nest.insectsarerubbish.org] has joined #scheme 15:37:27 but obviously real Scheme implementations use more than that 15:37:49 although a large number of forms are still defined in terms of them 15:38:13 -!- przl [~przlrkt@178.19.216.162] has quit [Ping timeout: 248 seconds] 15:39:09 :) 15:40:11 nisstyre: https://github.com/spanners/tls/blob/master/functions.scm#L1744 15:41:20 those are the primitives that the interpreter written in Scheme in The Little Schemer account for 15:41:47 ah cool 15:42:12 SwashBuckla: I'm going through LISP at the moment (Lisp In Small Pieces) and one of the first interpreters you write uses only those 4 primitives 15:42:33 wow that's neat 15:42:58 there's something nice about seeing how bigger abstractions are built up from... small pieces :) 15:43:20 The MIT book NAND2Tetris is written this way 15:43:29 I've heard that book is good too 15:43:40 LISP eventually gets you to a full x86 compiler for a lisp 15:43:44 :O 15:43:54 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 15:49:42 -!- sethalve_ is now known as sethalves 15:51:11 vishesh [~vishesh@103.30.140.115] has joined #scheme 15:59:19 -!- clint_newsom [~user@cpe-67-244-80-144.nyc.res.rr.com] has quit [Remote host closed the connection] 16:02:31 -!- zacts [~zacts@unaffiliated/zacts] has quit [Changing host] 16:02:31 zacts [~zacts@freebsd/lover/zacts] has joined #scheme 16:04:42 jhao` [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 16:05:27 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:07:31 -!- jhao` [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Client Quit] 16:09:08 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 16:21:58 -!- Guest83082 is now known as pjb 16:26:37 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 16:31:19 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 252 seconds] 16:37:58 -!- langmartin [~langmarti@host-68-169-154-130.WISOLT2.epbfi.com] has quit [Quit: quit] 16:45:37 -!- hiroakip [~hiroaki@ip-5-147-121-166.unitymediagroup.de] has quit [Ping timeout: 252 seconds] 16:52:13 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 252 seconds] 16:54:45 gnomon_ [~gnomon@CPE000e582ae076-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 16:58:33 -!- gnomon [~gnomon@CPE000e582ae076-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 276 seconds] 17:03:16 astsyn [b4d82491@gateway/web/freenode/ip.180.216.36.145] has joined #scheme 17:04:41 hiroakip [~hiroaki@ip-5-147-121-166.unitymediagroup.de] has joined #scheme 17:06:34 przl [~przlrkt@178.19.216.162] has joined #scheme 17:06:41 -!- Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 17:09:44 k7-mint-vm [~k7-mint-v@216-58-42-24.cpe.distributel.net] has joined #scheme 17:13:58 -!- astsyn [b4d82491@gateway/web/freenode/ip.180.216.36.145] has quit [Ping timeout: 245 seconds] 17:14:31 duggiefresh [~duggiefre@c-24-60-1-249.hsd1.ma.comcast.net] has joined #scheme 17:18:16 jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has joined #scheme 17:24:47 -!- jhao [~user@pool-72-76-190-214.nwrknj.fios.verizon.net] has quit [Ping timeout: 260 seconds] 17:26:43 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 17:30:58 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 245 seconds] 17:32:44 -!- duggiefresh [~duggiefre@c-24-60-1-249.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 17:32:56 Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 17:39:01 -!- b4283 [~b4283@218-164-126-212.dynamic.hinet.net] has quit [Quit: ] 17:39:10 -!- k7-mint-vm is now known as spooks 17:39:17 -!- spooks is now known as spooks123 17:40:32 -!- spooks123 [~k7-mint-v@216-58-42-24.cpe.distributel.net] has quit [Quit: Leaving] 17:50:08 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 17:50:15 -!- Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 18:04:29 fantazo [~fantazo@213.129.230.10] has joined #scheme 18:05:48 amgarchIn9 [~amgarchin@p4FD63A7C.dip0.t-ipconnect.de] has joined #scheme 18:09:01 arubin [~textual@99-114-192-172.lightspeed.cicril.sbcglobal.net] has joined #scheme 18:26:43 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 18:31:33 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 272 seconds] 18:36:18 -!- annodomini [~lambda@wikipedia/lambda] has quit [Quit: annodomini] 18:38:00 -!- foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 18:38:21 foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has joined #scheme 18:38:50 -!- foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has quit [Client Quit] 18:53:57 -!- cdidd [~cdidd@95-27-60-189.broadband.corbina.ru] has quit [Ping timeout: 252 seconds] 18:54:10 cdidd [~cdidd@95-27-29-143.broadband.corbina.ru] has joined #scheme 19:00:53 foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has joined #scheme 19:01:44 -!- zarusky [~zarul@ubuntu/member/zarul] has quit [Read error: Connection reset by peer] 19:03:43 -!- przl [~przlrkt@178.19.216.162] has quit [Ping timeout: 252 seconds] 19:04:34 zarul [~zarul@ubuntu/member/zarul] has joined #scheme 19:13:39 hiroaki [~hiroaki@ip-178-202-218-254.unitymediagroup.de] has joined #scheme 19:16:41 -!- hiroakip [~hiroaki@ip-5-147-121-166.unitymediagroup.de] has quit [Ping timeout: 252 seconds] 19:19:19 szgyg [~szgyg@195-38-118-233.pool.digikabel.hu] has joined #scheme 19:19:34 -!- arubin [~textual@99-114-192-172.lightspeed.cicril.sbcglobal.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz] 19:24:30 -!- foeniks [~fevon@dslb-188-099-246-108.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 19:26:50 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 19:27:30 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Remote host closed the connection] 19:27:49 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 19:31:15 -!- hiroaki [~hiroaki@ip-178-202-218-254.unitymediagroup.de] has quit [Ping timeout: 252 seconds] 19:31:17 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 248 seconds] 19:38:28 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 19:44:28 arubin [~textual@99-114-192-172.lightspeed.cicril.sbcglobal.net] has joined #scheme 19:50:35 hiroaki [~hiroaki@ip-178-202-218-254.unitymediagroup.de] has joined #scheme 19:54:06 przl [~przlrkt@p5DCA3291.dip0.t-ipconnect.de] has joined #scheme 19:54:11 -!- juanfra [~juanfra@unaffiliated/juanfra] has quit [Quit: juanfra] 19:54:14 jao [~jao@20.117.14.37.dynamic.jazztel.es] has joined #scheme 19:54:17 -!- jao [~jao@20.117.14.37.dynamic.jazztel.es] has quit [Changing host] 19:54:17 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 19:54:38 juanfra [~juanfra@unaffiliated/juanfra] has joined #scheme 19:54:55 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Remote host closed the connection] 20:09:05 -!- przl [~przlrkt@p5DCA3291.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 20:14:09 -!- pierpa [~user@host106-247-dynamic.18-79-r.retail.telecomitalia.it] has quit [Ping timeout: 272 seconds] 20:17:38 przl [~przlrkt@p5DCA3291.dip0.t-ipconnect.de] has joined #scheme 20:19:47 -!- fantazo [~fantazo@213.129.230.10] has quit [Read error: Operation timed out] 20:20:52 Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 20:24:01 annodomini [~lambda@wikipedia/lambda] has joined #scheme 20:38:05 dessos [~dessos@c-174-60-176-249.hsd1.pa.comcast.net] has joined #scheme 20:42:36 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 20:47:05 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 272 seconds] 20:53:35 -!- kbtr [~kbtr@zncb.io] has quit [Quit: leaving] 20:54:05 kbtr [~kbtr@zncb.io] has joined #scheme 20:54:28 duggiefresh [~duggiefre@64.119.141.126] has joined #scheme 20:58:32 foeniks [~fevon@dslb-188-099-230-233.pools.arcor-ip.net] has joined #scheme 21:01:45 yrdz [~p_adams@unaffiliated/p-adams/x-7117614] has joined #scheme 21:03:38 phipes [~phipes@unaffiliated/phipes] has joined #scheme 21:06:55 -!- foeniks [~fevon@dslb-188-099-230-233.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 21:46:06 foeniks [~fevon@dslb-188-098-065-065.pools.arcor-ip.net] has joined #scheme 21:46:22 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Remote host closed the connection] 21:53:17 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 21:55:40 -!- nisstyre [~yours@oftn/member/Nisstyre] has quit [Quit: Leaving] 21:57:30 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 245 seconds] 22:00:30 I wonder if it's a bad sign, that the parts of my macro-expander/compiler that handle `lambda', `quote', and a couple more places, need some special-casing to cope with cases where these forms are returned from a macro using `quasiquote' and `unquote'ing the argument-list of the lambda, operand of the quote, etc. 22:00:49 -!- duggiefresh [~duggiefre@64.119.141.126] has quit [Remote host closed the connection] 22:02:03 -!- szgyg [~szgyg@195-38-118-233.pool.digikabel.hu] has quit [Read error: Connection reset by peer] 22:05:04 (define-syntax let1 (lambda (stx) (match stx (((var val) body) `((lambda (,var) ,body) ,val))))) 22:06:56 Assuming ` and , and the macro-expander do the right magic to make that work hygienically, not sure if there's a way other than to special-case the appearance of syntax-objects in lambda argument lists. 22:14:10 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 22:18:47 -!- foeniks [~fevon@dslb-188-098-065-065.pools.arcor-ip.net] has quit [Quit: This computer has gone to sleep] 22:22:09 foeniks [~fevon@dslb-188-098-065-065.pools.arcor-ip.net] has joined #scheme 22:27:23 bjz_ [~bjz@125.253.99.68] has joined #scheme 22:27:36 -!- bjz [~bjz@125.253.99.68] has quit [Read error: Connection reset by peer] 22:40:33 -!- taylanub [tub@p4FD919DB.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 22:40:55 -!- gravicappa [~gravicapp@ppp91-77-166-93.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 22:41:35 -!- karswell [~user@134.114.90.146.dyn.plus.net] has quit [Ping timeout: 252 seconds] 22:43:03 -!- foeniks [~fevon@dslb-188-098-065-065.pools.arcor-ip.net] has quit [Quit: Leaving] 22:46:09 -!- phipes [~phipes@unaffiliated/phipes] has quit [Remote host closed the connection] 23:00:00 1st 23:04:41 -!- annodomini [~lambda@wikipedia/lambda] has quit [Quit: annodomini] 23:05:09 -!- hiroaki [~hiroaki@ip-178-202-218-254.unitymediagroup.de] has quit [Ping timeout: 248 seconds] 23:05:47 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Remote host closed the connection] 23:07:09 -!- mornfall [~mornfall@kde/developer/mornfall] has quit [Ping timeout: 240 seconds] 23:08:30 -!- githogori [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 23:11:45 mornfall [~mornfall@kde/developer/mornfall] has joined #scheme 23:12:29 davexunit [~user@fsf/member/davexunit] has joined #scheme 23:12:37 -!- oxum [~oxum@122.164.207.126] has quit [Quit: Bye..] 23:12:51 oxum [~oxum@122.164.207.126] has joined #scheme 23:14:14 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 23:17:33 githogori [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has joined #scheme 23:18:15 githogori_ [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has joined #scheme 23:18:39 -!- githogori_ [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 23:18:39 -!- githogori [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 23:18:47 githogori_ [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has joined #scheme 23:18:49 -!- githogori_ [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 23:19:18 githogori [~githogori@c-50-156-58-163.hsd1.ca.comcast.net] has joined #scheme 23:20:02 -!- Nizumzen [~Nizumzen@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Ping timeout: 264 seconds] 23:27:23 -!- cdidd [~cdidd@95-27-29-143.broadband.corbina.ru] has quit [Ping timeout: 260 seconds] 23:28:33 -!- rszeno [~rszeno@79.114.103.72] has quit [Quit: Leaving.] 23:30:14 -!- hive-mind [pranq@unaffiliated/contempt] has quit [Ping timeout: 264 seconds] 23:31:48 hive-mind [pranq@unaffiliated/contempt] has joined #scheme 23:36:38 juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has joined #scheme 23:41:16 -!- juxovec [~juxovec@80.174.182.192.dyn.user.ono.com] has quit [Ping timeout: 265 seconds] 23:42:03 -!- vishesh [~vishesh@103.30.140.115] has quit [Ping timeout: 252 seconds] 23:42:05 cdidd [~cdidd@95-27-4-141.broadband.corbina.ru] has joined #scheme 23:43:34 1nd 23:43:37 er, 2nd. 23:43:41 *offby1* loosens his collar with his index finger 23:45:26 *Riastradh* loosens his index with his collar finger 23:47:14 nisstyre [~yours@oftn/member/Nisstyre] has joined #scheme 23:48:39 effy_ [~x@114.253.32.17] has joined #scheme 23:49:15 -!- effy [~x@111.197.239.70] has quit [Ping timeout: 252 seconds] 23:53:48 *offby1* gets orange fingers from eating Cheetohs 23:54:26 *Riastradh* gets eating fingers from cheating Orangohs 23:55:53 vishesh [~vishesh@103.30.143.104] has joined #scheme 23:56:30 ASau` [~user@p54AFF8D6.dip0.t-ipconnect.de] has joined #scheme 23:56:59 *offby1* wonders what he'd get if the Orangohs were playing fairly