00:04:37 zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 00:07:58 -!- zmv [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Ping timeout: 264 seconds] 00:08:06 -!- hypercube32 [~hypercube@231.125.189.72.cfl.res.rr.com] has quit [Quit: Leaving] 00:11:47 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 00:15:32 hoi 00:17:51 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 00:18:24 Nei ho. 00:19:35 I like that most of the first page of hits for "nei ho" touch on Hong Kong one way or another. 00:20:29 wamwung [~wamwung@187.14.30.149] has joined #scheme 00:23:43 zmv [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 00:26:53 -!- zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Ping timeout: 258 seconds] 00:38:34 Did you mean: ni hao? 00:39:44 Euthydemus [~euthydemu@unaffiliated/euthydemus] has joined #scheme 00:43:43 -!- zmv [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Disconnected by services] 00:44:26 zmv [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 00:44:26 aidalgol [~user@202.36.179.68] has joined #scheme 00:47:43 zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 00:48:20 Modius_ [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #scheme 00:49:09 -!- zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has left #scheme 00:51:01 -!- Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Ping timeout: 250 seconds] 00:51:16 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 00:51:33 -!- wamwung [~wamwung@187.14.30.149] has left #scheme 00:53:27 tauntaun [~user@li327-197.members.linode.com] has joined #scheme 00:54:15 -!- z0d [~z0d@unaffiliated/z0d] has quit [Ping timeout: 260 seconds] 01:03:20 foof: Same Chinese characters, different dialects. 01:03:34 foof: Ni hao -> Mandarin; nei ho -> Cantonese. 01:04:09 zmv___ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 01:04:16 foof: I was born in Hong Kong and can only speak Cantonese (and English, of course), not Mandarin. 01:06:30 -!- zmv [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Ping timeout: 260 seconds] 01:06:34 -!- aidalgol [~user@202.36.179.68] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 01:07:31 cky: I know, I just thought it's funny that Google makes the suggestion :) 01:07:46 :-D 01:07:57 -!- masm [~masm@bl15-129-254.dsl.telepac.pt] has quit [Quit: Leaving.] 01:09:54 -!- zmv___ is now known as zmv 01:15:38 Sensible of it. 01:15:51 Many hits refer to a restaurant in Glasgow, though. 01:16:17 foof: do we need a new candidate, or do we just go with what we've got? 01:23:03 mithridates [~mithridat@156.34.179.246] has joined #scheme 01:23:27 zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 01:26:42 -!- zmv [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Ping timeout: 276 seconds] 01:35:30 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 01:45:48 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 255 seconds] 01:48:08 -!- zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Ping timeout: 252 seconds] 01:50:04 zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has joined #scheme 01:52:31 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 240 seconds] 01:52:56 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 01:58:05 tupi [~david@189.60.162.202] has joined #scheme 01:58:37 -!- zmv_ [~Telefonic@200-161-255-70.dsl.telesp.net.br] has quit [Ping timeout: 250 seconds] 02:07:50 realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has joined #scheme 02:08:51 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 02:11:37 jcowan: For the second (third?) draft? 02:11:45 Yes. 02:12:39 I haven't finished my own review yet. 02:13:14 I'll definitely finish that either Saturday or Sunday, and then think we should just publish. 02:13:35 *jcowan* agrees. 02:13:38 What a bummer for aag. 02:13:45 Yeah. 02:13:55 jrm is also on the Labs home page, so presumably both are affected. 02:14:35 Am I missing something here? 02:15:17 Google Labs (as distinct from the Labs features in Google products) is being shut down. 02:15:22 :-( 02:15:39 I remember Google Labs. The place with that zany application quiz. 02:15:54 A lot of zany things. 02:16:24 As an Xoogler I can safely say that this is a boneheaded move, and we are going to see more such boneheaded moves. 02:16:52 During my employment, I watched (on video) Larry and Sergey answering questions, and my overall impression was "seriously out of touch and likely to remain so." 02:17:43 *nods* 02:18:33 Eric Schmidt just gave an all-hands in Tokyo and I was very impressed. 02:26:31 DrDuck [~duck@adsl-98-81-80-109.hsv.bellsouth.net] has joined #scheme 02:40:30 -!- realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has quit [Quit: realitygrill] 02:51:39 -!- dnolen_ [~davidnole@184.152.69.75] has quit [Quit: dnolen_] 02:52:14 dnolen_ [~davidnole@184.152.69.75] has joined #scheme 02:56:59 -!- dnolen_ [~davidnole@184.152.69.75] has quit [Client Quit] 03:03:50 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 252 seconds] 03:18:27 -!- turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 03:26:23 doc_who [~doc_who@pool-108-28-6-47.washdc.fios.verizon.net] has joined #scheme 03:29:47 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 03:42:00 -!- phax [~phax@unaffiliated/phax] has quit [Ping timeout: 258 seconds] 03:42:01 Axioplase [~Axioplase@fortigate.kb.ecei.tohoku.ac.jp] has joined #scheme 03:47:59 dnolen_ [~davidnole@184.152.69.75] has joined #scheme 03:56:30 kniu [~kniu@pool-96-250-3-60.nycmny.fios.verizon.net] has joined #scheme 03:58:13 drdo` [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 03:59:54 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Ping timeout: 255 seconds] 04:01:56 -!- cipher [~cipher@unaffiliated/cipher] has quit [Remote host closed the connection] 04:04:24 turbofail [~user@c-67-169-97-25.hsd1.ca.comcast.net] has joined #scheme 04:06:52 -!- dnolen_ [~davidnole@184.152.69.75] has quit [Quit: dnolen_] 04:08:54 dnolen_ [~davidnole@184.152.69.75] has joined #scheme 04:18:43 -!- dnolen_ [~davidnole@184.152.69.75] has quit [Quit: dnolen_] 04:23:51 phax [~phax@unaffiliated/phax] has joined #scheme 04:25:48 -!- DrDuck [~duck@adsl-98-81-80-109.hsv.bellsouth.net] has quit [Ping timeout: 252 seconds] 04:27:01 -!- acarrico [~acarrico@pppoe-68-142-44-204.gmavt.net] has left #scheme 04:32:19 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 04:36:40 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 04:42:43 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 05:19:06 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 255 seconds] 05:21:39 csdwifi [~csdwifi@CPE-76-177-215-56.natcky.res.rr.com] has joined #scheme 05:22:21 phao [phao@177.30.26.101] has joined #scheme 05:38:22 realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has joined #scheme 05:44:04 MrFahrenheit [~RageOfTho@users-151-140.vinet.ba] has joined #scheme 05:44:29 -!- turbofail [~user@c-67-169-97-25.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 06:04:38 hey 06:04:48 z0d [~z0d@artifact.hu] has joined #scheme 06:04:49 -!- z0d [~z0d@artifact.hu] has quit [Changing host] 06:04:49 z0d [~z0d@unaffiliated/z0d] has joined #scheme 06:04:49 -!- tupi [~david@189.60.162.202] has quit [Quit: Leaving] 06:04:51 why so many people say C++ is a bad language? 06:09:51 it has very complicated rules and is difficult to understand in its entirety. there are features that are incomplete and hard to use. or features we might like to have that are lacking. here is one list of critisicms http://yosefk.com/c++fqa/ 06:10:45 Hmm 06:11:04 I guess that if you say to a C++ lover "features that are hard to use" 06:11:14 they'll just tell you to study more =) 06:11:44 of course. that's why they are a C++ lover 06:11:53 =) 06:13:18 i'll tell them i don't want to study more. i want my tools to work for me, i don't want to work for them 06:14:48 it's certainly a useful tool sometimes! but i fully agree with all these people you mention that describe C++ as a bad language 06:14:48 yeah, bw 06:14:48 btw 06:14:48 I feel that is the way in most places nowadays 06:14:48 even in the OS (userland at least) 06:15:33 -!- arcfide [1000@c-69-136-7-94.hsd1.in.comcast.net] has quit [Quit: EPIC5-1.1.2[1638] - amnesiac : I'm your little nightmare] 06:15:39 Axioplas1 [~Axioplase@fortigate.kb.ecei.tohoku.ac.jp] has joined #scheme 06:15:41 -!- Axioplas1 [~Axioplase@fortigate.kb.ecei.tohoku.ac.jp] has quit [Client Quit] 06:16:26 -!- eno [~eno@nslu2-linux/eno] has quit [Remote host closed the connection] 06:16:34 eno [~eno@nslu2-linux/eno] has joined #scheme 06:17:29 we are in a scheme channel, the scheme way might almost be described as the complete opposite philosophy. the beginning of the scheme specifications mention something about wanting to have the smallest set of most flexible language features. i think that C++ on the other hand tends to grow by hacking more and more complex features onto it 06:18:28 I wish I knew C++ to talk precisely about it, but I feel I should just let it go 06:19:01 sometimes it seems that C++ to C is like Common Lisp to scheme, but I'd guess that common lisp is a good language 06:21:45 "good language" is a pretty tricky concept to define. you have to match your tools to the job at hand. it is on the other hand quite easy to point out flaws in languages - see my link for a reasonably comprehensive critique of C++ 06:22:48 reading it 06:22:59 I am with a bunch of pages talking about C++ 06:23:38 your C/C++, common lisp/scheme comparason seems a bit strange to me. but i guess you are right in the sense that c and scheme have relatively simple and more readily understandable rules 06:25:06 sure 06:25:22 I just meant that C and scheme were simple 06:25:22 and C++ and Common Lisp complex 06:25:45 or small/big instead of simples/complex 06:25:48 that seems like a fair comment 06:26:21 -!- inimino [~inimino@boshi.inimino.org] has quit [Ping timeout: 276 seconds] 06:27:01 which implementation of scheme do you use pyro- ? 06:28:24 if your programming language is sufficiently powerful it will let you build up layers of complexity. the difference is that the complexity can be directed as you want. how can i explain it? you add features as nesscary to solve the problem at hand rather than having to fight with a montrously complex creation to start with 06:29:18 yeah... that is how I like it 06:30:08 There is a paper by sussman I think 06:30:32 talking about languages... that a high level language should emphasize some points and "hide" others 06:30:38 i don't do any application programming in scheme. i often use ikarus scheme for various desktop-calculator replacement tasks, simulations, scientific computations, etc. but i also have mit/gnu scheme and chicken scheme installed which i use sometimes 06:30:57 C++ seems to try to emphasize EVERYTHING POSSIBLE 06:31:18 pyro-, which programming language you use to develop apps? 06:32:29 i wish i could use scheme. i tend to find a language which has the nicest looking libraries available for the task at hand and learn it, if i don't already know it. :/ 06:33:15 look at this 06:33:15 c++; /* this makes c bigger but returns the old value */ 06:33:18 =) 06:33:28 I'm trying to use scheme/chicken for web development 06:33:36 see if I can get around with it 06:33:49 good luck :D 06:34:04 yeah 06:34:05 seems hard 06:34:12 but... idk 06:34:22 the hardest part seems to be deployment actually 06:34:53 gravicappa [~gravicapp@p57A40120.dip0.t-ipconnect.de] has joined #scheme 06:35:04 csc has a solution to that, also chicken-install... They seem very good actually 06:36:33 Another language I wanna take a look is haskell 06:36:48 GHC seems good enough for professional development, also. 06:40:55 inimino [~inimino@boshi.inimino.org] has joined #scheme 06:41:58 -!- csdwifi [~csdwifi@CPE-76-177-215-56.natcky.res.rr.com] has quit [Read error: Operation timed out] 06:47:13 -!- realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has quit [Quit: realitygrill] 06:50:37 phao_ [paulo@177.30.26.101] has joined #scheme 06:50:50 -!- phao [phao@177.30.26.101] has quit [Read error: Connection reset by peer] 06:52:13 csdwifi [~csdwifi@76.177.215.56] has joined #scheme 07:15:07 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 07:20:20 paulo__ [phao@177.30.26.101] has joined #scheme 07:21:06 -!- phao_ [paulo@177.30.26.101] has quit [Read error: Connection reset by peer] 07:22:58 -!- mmc [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 07:27:36 -!- yosafbridge [~yosafbrid@li125-242.members.linode.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 07:29:20 yosafbridge [~yosafbrid@li125-242.members.linode.com] has joined #scheme 07:32:09 wingo [~wingo@90.164.198.39] has joined #scheme 07:39:39 -!- kennyd [~kennyd@78-0-241-239.adsl.net.t-com.hr] has quit [Ping timeout: 250 seconds] 07:41:40 kennyd [~kennyd@78-1-187-211.adsl.net.t-com.hr] has joined #scheme 07:46:27 -!- wingo [~wingo@90.164.198.39] has quit [Quit: Leaving] 07:47:50 -!- arbscht [~arbscht@60-234-133-173.bitstream.orcon.net.nz] has quit [Ping timeout: 252 seconds] 07:53:05 -!- paulo__ [phao@177.30.26.101] has quit [Ping timeout: 250 seconds] 08:01:39 phao [phao@177.30.6.201] has joined #scheme 08:01:51 arbscht [~arbscht@60-234-133-173.bitstream.orcon.net.nz] has joined #scheme 08:03:36 -!- mithridates [~mithridat@156.34.179.246] has quit [Quit: Lost terminal] 08:04:22 homie`` [~levgue@xdsl-78-35-185-128.netcologne.de] has joined #scheme 08:06:50 -!- homie` [~levgue@xdsl-78-35-184-198.netcologne.de] has quit [Ping timeout: 240 seconds] 08:09:30 masm [~masm@bl15-129-254.dsl.telepac.pt] has joined #scheme 08:10:36 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 08:14:33 -!- homie`` [~levgue@xdsl-78-35-185-128.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:17:46 homie [~levgue@xdsl-78-35-185-128.netcologne.de] has joined #scheme 08:24:30 JoelMcCracken [~user@pool-71-182-171-80.pitbpa.east.verizon.net] has joined #scheme 08:25:21 -!- phao [phao@177.30.6.201] has quit [Quit: Fui embora] 08:29:36 katspaugh [~ikalyaev@firewall.hq.begun.ru] has joined #scheme 08:38:51 -!- larsrh [~lars@unaffiliated/larsrh] has left #scheme 08:39:16 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:47:15 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 250 seconds] 08:47:39 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 08:50:08 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 09:13:12 -!- Quetzalcoatl_ [~Administr@cpe-75-186-5-185.cinci.res.rr.com] has quit [Ping timeout: 258 seconds] 09:22:24 mmc [~michal@salm-office-nat.tomtomgroup.com] has joined #scheme 09:25:22 Quetzalcoatl_ [~Administr@cpe-75-186-5-185.cinci.res.rr.com] has joined #scheme 09:26:14 -!- kniu [~kniu@pool-96-250-3-60.nycmny.fios.verizon.net] has quit [Ping timeout: 250 seconds] 09:34:16 forcer [~forcer@e177166215.adsl.alicedsl.de] has joined #scheme 09:37:39 -!- gravicappa [~gravicapp@p57A40120.dip0.t-ipconnect.de] has quit [Ping timeout: 276 seconds] 09:46:34 weirdo [~sthalik@d135-185.icpnet.pl] has joined #scheme 09:46:43 hello, how do i use srfi in drracket in r5rs mode? 09:46:56 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 09:47:32 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 09:52:48 -!- Modius_ [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 09:53:27 Modius [~Modius@cpe-70-123-140-183.austin.res.rr.com] has joined #scheme 09:54:05 got it, (#%require srfi/34) 09:55:36 weird. what does #% do? 09:56:42 racket extension, i suppose 09:56:50 like #! in chicken 10:09:46 -!- Penten [~user@114.255.149.182] has quit [Remote host closed the connection] 10:11:05 -!- Axioplase is now known as Axioplase_ 10:11:19 -!- doc_who [~doc_who@pool-108-28-6-47.washdc.fios.verizon.net] has quit [Ping timeout: 250 seconds] 10:17:24 -!- pygospa [~TheRealPy@kiel-d9bfc2c4.pool.mediaWays.net] has quit [Disconnected by services] 10:17:33 pygospa [~TheRealPy@kiel-5f769482.pool.mediaWays.net] has joined #scheme 10:21:39 rstandy [~rastandy@93-63-185-248.ip29.fastwebnet.it] has joined #scheme 10:23:50 kniu [~kniu@pool-173-52-208-184.nycmny.fios.verizon.net] has joined #scheme 10:26:59 -!- pyro- [~pyro@CPE-124-180-186-25.lns12.lon.bigpond.net.au] has quit [Quit: leaving] 10:29:51 -!- shachaf [~shachaf@204.109.63.130] has quit [Remote host closed the connection] 10:35:52 -!- csdwifi [~csdwifi@76.177.215.56] has quit [Quit: Leaving] 10:38:24 -!- drdo` [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Read error: Connection reset by peer] 10:43:17 -!- phax [~phax@unaffiliated/phax] has quit [Ping timeout: 252 seconds] 10:44:03 -!- mmc [~michal@salm-office-nat.tomtomgroup.com] has quit [Ping timeout: 258 seconds] 10:44:07 -!- forcer [~forcer@e177166215.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 10:44:38 littlebobby [~bob@i5E8799B.versanet.de] has joined #scheme 10:44:42 -!- littlebobby [~bob@i5E8799B.versanet.de] has quit [Changing host] 10:44:42 littlebobby [~bob@unaffiliated/littlebobby] has joined #scheme 10:47:36 -!- JoelMcCracken [~user@pool-71-182-171-80.pitbpa.east.verizon.net] has quit [Ping timeout: 255 seconds] 10:48:07 phax [~phax@unaffiliated/phax] has joined #scheme 10:56:26 -!- zanea [~zanea@125-239-218-144.jetstream.xtra.co.nz] has quit [Ping timeout: 260 seconds] 11:10:27 mmc [~michal@salm-office-nat.tomtomgroup.com] has joined #scheme 11:10:30 -!- MrFahrenheit [~RageOfTho@users-151-140.vinet.ba] has quit [Ping timeout: 258 seconds] 11:15:16 drdo [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 11:20:32 DrDuck [~duck@adsl-98-81-80-109.hsv.bellsouth.net] has joined #scheme 11:27:36 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 11:28:15 pchrist [~spirit@gentoo/developer/pchrist] has joined #scheme 11:48:03 shachaf [~shachaf@204.109.63.130] has joined #scheme 11:48:48 -!- Euthydemus [~euthydemu@unaffiliated/euthydemus] has quit [Ping timeout: 255 seconds] 12:05:38 is it hard to implement hygienic macros in a hobbyist scheme compiler? 12:08:55 or should i ditch it altogether? 12:14:56 -!- DrDuck [~duck@adsl-98-81-80-109.hsv.bellsouth.net] has quit [Ping timeout: 252 seconds] 12:39:58 There are papers. I'd guess it's not hard once you've read them and understood the algorithms. 12:41:03 aalix [~aalix@nomad.ccs.neu.edu] has joined #scheme 12:50:40 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 12:50:48 okay. i'm halfway done with the reader. now backquote... 12:52:10 soveran [~soveran@186.19.214.247] has joined #scheme 12:58:38 -!- homie [~levgue@xdsl-78-35-185-128.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:00:06 is there something equivalent to INTERN in r5rs? 13:02:20 -!- imphasing|home is now known as imphasing 13:04:50 make-symbol, IIRC. 13:05:36 already tried that. no dice :( 13:05:49 string->symbol then. 13:06:41 it's interned 13:06:42 :( 13:09:36 wingo [~wingo@202.57.21.95.dynamic.jazztel.es] has joined #scheme 13:11:43 -!- zmv_ is now known as zmv 13:11:52 yolly holly ho ho 13:14:16 weirdo: there's no package in scheme. So "interned" doesn't really mean anything here. :-( 13:14:17 -!- kytibe [~kytibe@212.174.109.55] has quit [Remote host closed the connection] 13:14:37 some impls offer this. i'll offer this as well when i'm done (ever?) 13:14:57 fortunately, conses hold eq-uality as well and are suitable for my purposes 13:16:57 kytibe [~kytibe@212.174.109.55] has joined #scheme 13:24:12 -!- masm [~masm@bl15-129-254.dsl.telepac.pt] has quit [Ping timeout: 255 seconds] 13:24:34 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 13:27:45 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 252 seconds] 13:29:34 zmv [~Telefonic@187.57.25.85] has joined #scheme 13:30:13 genieliu [~genieliu@59.78.62.120] has joined #scheme 13:31:11 -!- zmv_ [~Telefonic@187.57.25.85] has quit [Ping timeout: 258 seconds] 13:31:14 mads- [~mads-@pdpc/supporter/active/mads-] has joined #scheme 13:31:15 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 13:32:31 -!- copumpkin is now known as nmcblanket 13:32:46 -!- nmcblanket is now known as copumpkin 13:38:25 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 13:41:42 -!- samth_away is now known as samth 13:43:43 weirdo: the reason that it's called #%require is that it's r5rs, and identifiers that start with #% aren't legal in r5rs 13:43:58 that way, adding the #%require binding doesn't step on any legal code 13:44:27 thank you. 13:45:31 Daemmerung: around here, the macrologists are rather un-hairy 13:45:52 weirdo: in regular racket, it's just called `require' 13:47:18 gosh... i'm gonna have to implement a code walker, CPS-xform, hygienic macros and probably lots of SRFIs 13:48:37 and *finally* make it self-hosting 13:53:00 -!- wingo [~wingo@202.57.21.95.dynamic.jazztel.es] has quit [Ping timeout: 255 seconds] 13:55:25 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 252 seconds] 13:55:43 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 14:01:18 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 14:01:49 weirdo: Most SRFIs have a reference implementation that's somewhat portable, so you shouldn't have to rewrite them. 14:01:54 realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has joined #scheme 14:01:59 :-) 14:05:44 wingo [~wingo@77.61.17.95.dynamic.jazztel.es] has joined #scheme 14:22:58 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 14:23:37 pandeiro [~pandeiro@187.105.248.108] has joined #scheme 14:25:40 samth: o brave new world 14:29:28 -!- mmc [~michal@salm-office-nat.tomtomgroup.com] has quit [Quit: Leaving.] 14:29:49 weirdo: what is your target platform? 14:29:56 wingo, javascript 14:30:06 i know it's been done before, it's a learning opportunity, just it 14:30:14 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 14:30:51 mmc [~michal@salm-office-nat.tomtomgroup.com] has joined #scheme 14:32:42 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Read error: Operation timed out] 14:33:16 -!- realitygrill [~realitygr@c-24-5-7-139.hsd1.ca.comcast.net] has quit [Quit: realitygrill] 14:36:39 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 14:37:54 -!- tauntaun [~user@li327-197.members.linode.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:38:31 weirdo: You may want to look at moby/whalesong. 14:38:57 They're basically Racket implementations that compile to js. 14:39:20 They even have a web-based IDE (WeScheme) built on top of it. 14:39:26 tauntaun [~user@li327-197.members.linode.com] has joined #scheme 14:39:27 And it's used to teach in middle-schools. 14:39:44 is it self-hosting? 14:40:38 I don't know. 14:40:47 -!- pandeiro [~pandeiro@187.105.248.108] has quit [Quit: Thanks, fellas] 14:41:09 https://github.com/dyoo/moby-scheme 14:41:16 https://github.com/dyoo/whalesong 14:41:41 Or better yet, come to RacketCon this weekend, Danny's giving a talk on whalesong. 14:41:46 :) 14:41:49 thank you 14:48:21 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 255 seconds] 14:52:10 -!- mmc [~michal@salm-office-nat.tomtomgroup.com] has quit [Read error: Connection reset by peer] 14:52:24 mmc [~michal@salm-office-nat.tomtomgroup.com] has joined #scheme 14:57:07 i just got a Racket exception when right-clicking in a REPL while a debugger was active 14:58:51 Which version are you running? 15:01:29 5.1.1 15:02:45 -!- aalix [~aalix@nomad.ccs.neu.edu] has quit [Quit: Computer has gone to sleep.] 15:03:02 Can you put the paste your program somewhere? 15:03:05 lisppaste: url 15:03:06 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 15:03:20 s/put the// 15:05:30 weirdo pasted "my program" at http://paste.lisp.org/display/123436 15:05:40 note that quasiquotation is still incorrect 15:06:11 i placed a breakpoint in bq-process 15:06:23 (cons *bq-append* 15:06:23 (nreconc q (list (cadr p)))) 15:06:24 here 15:06:33 hit it, right-clicked in the repl and boom 15:06:43 said something about a vector, type error 15:08:12 What language is that in? 15:08:17 wingo_ [~wingo@77.61.17.95.dynamic.jazztel.es] has joined #scheme 15:08:50 r5rs\ 15:08:52 got that again 15:08:59 -!- wingo [~wingo@77.61.17.95.dynamic.jazztel.es] has quit [Read error: No route to host] 15:09:06 weirdo annotated #123436 "aiee" at http://paste.lisp.org/display/123436#1 15:09:46 Can't be r5rs, you're using `when'. 15:10:04 stamourv, it's a not-fully-translated code from CL 15:10:27 Does the code run at all? 15:10:37 yes 15:10:38 It errors if I try to run it in #lang r5rs. 15:10:44 Because of `when'. 15:10:45 strange... 15:10:53 i press ctrl+t and it compiles 15:11:04 I don't see a #lang line in your paste, how did you set the language? 15:11:12 pandeiro [~pandeiro@187.105.248.108] has joined #scheme 15:11:32 language -> choose language 15:11:57 And what did you choose? 15:12:12 r5rs 15:13:21 Ok, that works. 15:13:52 The language menu is there only for backward compatibility, you should be using #lang lines instead. 15:14:18 time for the language menu to disappear 15:14:47 -!- rstandy [~rastandy@93-63-185-248.ip29.fastwebnet.it] has quit [Ping timeout: 240 seconds] 15:14:54 It's possible that the debugger does not completely work with r5rs from the menu. It's a legacy language. 15:15:01 i see. thank you. 15:15:09 You can try with #lang r5rs, and see if that works. 15:15:24 can i evaluate expressions in stack frames with #lang? 15:15:38 Daemmerung: The problem is that textbooks rely on it being there. 15:15:58 weirdo: If the debugger can do that, yes. 15:16:04 ...printed textbooks. How quaint. I see. 15:16:05 I don't usually use it. 15:16:25 So I don't know. 15:17:01 the same with #lang 15:17:11 -!- wingo_ is now known as wingo 15:17:38 Same error? 15:17:43 which language should i use? r6rs? 15:17:46 yep 15:17:54 #lang racket is what we recommend. 15:18:03 t 15:18:17 It's somewhat different from r5/6rs, but I find it quite nice. 15:18:27 is r6rs legacy? 15:18:33 i suspect it's way more compatible with r5rs 15:18:41 because i plan on making the code self-hostin 15:19:14 In that case, you may want to keep it r5rs. Implementing r5 is much simpler than implementing Racket. 15:19:33 even r6rs is bad for that purpose, because it would be hard to come up with an index that big (if you know what i mean) 15:19:41 but it gives me bad errors... 15:20:10 "same" with #lang r5rs? I c&p'd your code into a #lang r5rs buffer, and it complained about `when', just as it should. 15:20:49 expand: unbound identifier in module in: when 15:21:17 Daemmerung, i fixed all the references to CL whatnots, and it happens again 15:21:36 the explody debugger thing, you mean? 15:22:37 weirdo: If you could simplify the example to be as simple as possible while still triggering the bug, that would make for a great bug report. 15:22:53 *Daemmerung* deletes an echo of stamourv 15:23:30 stamourv, sorry :-( i'm new to scheme. i could do it with SLIME, but... 15:23:56 let's see if that happens with r6rs as well 15:25:42 All you'd have to do is remove parts of the program until the bug disappears, then go back one step, that should be reasonably simple. 15:26:15 But if you prefer not to do it, that's fine too, don't worry. :) 15:27:27 i need to find out what causes steele's backquote to give me bogus results... maybe later 15:28:06 rstandy [~rastandy@93-63-185-248.ip29.fastwebnet.it] has joined #scheme 15:28:14 happens in r6rs too 15:28:26 i'm gonna check out racket 15:28:46 MrFahrenheit [~RageOfTho@users-151-140.vinet.ba] has joined #scheme 15:30:10 also, can i make drracket start maximized? 15:32:09 please consider reporting bugs in free software as the moral responsibility that it is. 15:32:32 racket needs you! 15:32:58 -!- pandeiro [~pandeiro@187.105.248.108] has quit [Quit: Thanks, fellas] 15:33:00 that makes sense. but i need to fix the damn backquote first. it's personal :-) 15:33:09 "this time, it's personal" 15:33:18 I dig. 15:33:53 is Racket written in Racket? 15:34:04 how much of it is C? 15:35:05 "Racket" is a project. Some parts of it are built upon a C kernel. Many parts are all Racket. 15:36:01 does it compile to machine code? 15:36:05 JIT 15:36:27 but machine code or bytecode? 15:36:44 (i need to make sure :-)) 15:37:03 zo is bytecode, JITted to x86 at runtime 15:37:17 nice 15:38:33 supposedly somebody is looking at ARM JIT. Dunno about other architectures. 15:38:50 (and that x86 above includes amd64) 15:40:13 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Ping timeout: 250 seconds] 15:40:16 The ARM thing is from the gnu lightning project. 15:40:27 And it looks like it'll get popular enough to be added. 15:41:32 homie [~levgue@xdsl-78-35-185-128.netcologne.de] has joined #scheme 15:41:36 HG` [~HG@p5DC05496.dip.t-dialin.net] has joined #scheme 15:43:00 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Ping timeout: 258 seconds] 15:45:21 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 15:47:04 -!- rstandy [~rastandy@93-63-185-248.ip29.fastwebnet.it] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:53:27 -!- katspaugh [~ikalyaev@firewall.hq.begun.ru] has quit [Quit: I read the spec, which hadn't occured to me before] 15:53:32 -!- snorble_ [~snorble@s83-179-14-167.cust.tele2.se] has quit [Remote host closed the connection] 15:54:05 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 246 seconds] 15:55:44 zmv [~Telefonic@187.57.25.85] has joined #scheme 15:56:29 snorble [~snorble@s83-179-14-167.cust.tele2.se] has joined #scheme 15:57:59 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 16:03:54 aalix [~aalix@c-98-217-187-150.hsd1.ma.comcast.net] has joined #scheme 16:06:01 as for the bug 16:06:23 can you try adding a single space before the newline to each line and try right-clicking the repl pane? 16:07:28 methinks that would crash it 16:07:56 -!- genieliu [~genieliu@59.78.62.120] has quit [Ping timeout: 260 seconds] 16:08:14 stamourv, meow 16:10:00 I tried, I can't trigger the bug. 16:10:14 :-( 16:10:21 I'm on the latest from git, though. Maybe the bug got fixed since 5.1.1. 16:10:24 pandeiro [~pandeiro@187.105.248.108] has joined #scheme 16:10:34 Could you try on a nightly build? 16:10:36 ok 16:10:40 win32, though. amd64 16:10:40 http://pre.racket-lang.org/release/installers/ 16:11:03 Ah, I'm on Debian, x86. 16:11:31 -!- DGASAU` [~user@91.218.144.129] has quit [Remote host closed the connection] 16:11:34 I run fresh win64. can you give a more precise repro scenario? I couldn't follow. 16:11:44 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 16:11:46 I see Matthew fixed a win32 drawing bug this morning. Maybe that's related. 16:11:50 (that is, I'm running 64 on 64) 16:12:08 If the nightlies don't work, you can try from git, if you don't mind building from scratch. 16:12:16 DGASAU` [~user@91.218.144.129] has joined #scheme 16:12:30 (Or wait for the fix to be in tonight's nightly.) 16:12:31 -!- aalix [~aalix@c-98-217-187-150.hsd1.ma.comcast.net] has quit [Quit: Computer has gone to sleep.] 16:14:23 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 246 seconds] 16:16:50 wait, you couldn't reproduce it *at all*? 16:17:14 Nope. 16:17:28 any way i could give you racket call stack will all debug info? 16:17:41 i can even give you VNC access for debugging purposes if you tell me how to launch your debug tools 16:18:11 weirdo: What's the bug? 16:18:18 I know nothing about windows, so I wouldn't be of much help. 16:18:44 What's the bug? 16:18:52 stamourv, do you know at least whether the build process uses cygwin, mingw or native msvc? 16:19:11 It's built with MSVC. 16:19:15 eli, right-clicking on the repl during debugging produces a type error 16:19:21 eli, that's good 16:19:22 wait 16:19:31 And that's on Windows? 16:19:38 32 or 64? 16:19:47 64 16:19:50 w7 sp1 16:19:55 no, you're 32, weirdo 16:20:16 I thought he tried the nightly build, no? 16:20:19 aalix [~aalix@c-67-189-241-186.hsd1.ma.comcast.net] has joined #scheme 16:20:24 oh yeah 16:20:38 i don't think i have a stable 64-bit version, if any 16:20:46 you're running 32-bit Racket on a 64-bit Winbox 16:20:58 weirdo: Can you give me the exatc version that you downloaded, the program you ran, and where you right-clicked? 16:21:04 -!- aalix [~aalix@c-67-189-241-186.hsd1.ma.comcast.net] has quit [Client Quit] 16:21:11 s/exatc/exact/ 16:21:52 http://paste.lisp.org/display/123436 16:22:04 -!- wingo [~wingo@77.61.17.95.dynamic.jazztel.es] has quit [Read error: Operation timed out] 16:22:13 Welcome to DrRacket, version 5.1.1, english by PLT. 16:22:27 i clicked on the REPL on the right/bottom pane 16:22:38 Just in an empty space? 16:22:41 when i was stopped on a breakpoint in debugging mode in r6rs 16:22:42 yes 16:22:47 right-clicked 16:23:07 i thought i could evaluate expressions that way 16:23:14 Um, r6rs or r5rs? 16:23:46 Also, what did the error message say? 16:24:17 both 16:24:22 http://paste.lisp.org/display/123436#1 16:24:33 -!- zmv_ [~Telefonic@187.57.25.85] has quit [Ping timeout: 276 seconds] 16:24:56 OK, so if that's the error message it might not be platform dependent. 16:25:23 And where did you set the breakpoint? 16:25:44 Also "both" is not really clear, since that code wouldn't work in r6rs in the first place. 16:26:30 eli, i corrected the mistakes and ran 16:26:52 eli, bq-process: (cons *bq-append* 16:26:53 (nreconc q (list (cadr p))) 16:28:31 weirdo: but eli does not have your corrections. 16:28:55 when you report a bug, you need to provide a scenario whereby somebody else can precisely reproduce your environment. 16:29:20 saying "here is code... but I changed it" does not give us that. 16:29:40 Daemmerung, you can run it with r5rs, it's the exact same stack trace 16:29:51 you cannot run it with r5rs. 16:30:00 wait 16:30:13 expand: unbound identifier in module in: when 16:32:23 got repro'd 16:32:25 wait 16:32:27 nightly 16:32:34 weirdo: I'm afraid that Daemmerung is right. 16:32:46 I need an exact description to be able to reproduce it. 16:33:12 weirdo pasted "nightly build crash" at http://paste.lisp.org/display/123438 16:34:51 weirdo annotated #123438 "repro" at http://paste.lisp.org/display/123438#1 16:35:42 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 16:36:39 weirdo: Which nightly build version? 16:37:08 5.1.1.900--2011-07-20(4389a46/a) 16:37:15 win7 sp1 64-bit 16:41:59 weirdo: I see it, not on windows. 16:42:21 thanks, both of you 16:42:33 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 276 seconds] 16:44:54 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 16:45:08 i can test a fix if need be 16:45:18 got a vs2010 set up so i can compile git on my own 16:45:54 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 252 seconds] 16:49:46 weirdo: The bug is unrelated to vs, and there's no need to compile racket yourself unless you like the usual windows pains. 16:49:51 (In any case, a fix would not touch any C code.) 16:50:21 great, thank you 16:50:27 i'll wait for the next nightly 16:50:57 There's also no need for the giant program, or for r5rs... It's easy to reproduce much quicker. 16:52:07 weirdo: http://bugs.racket-lang.org/query/?cmd=view&pr=12072 16:52:41 And I don't think that it's likely to be fixed by tomorrow -- most people are in various movements towards boston ATM. 16:53:07 If you want I'll add you to the CC list so you'll be notified of changes. 16:53:19 yes, please; Stanisaw Halik 16:53:42 sorry for not providing enough details at the start 16:53:49 wasted too much of your precious time already 16:54:16 No problems. I've added you to the CC list. 16:54:46 -!- pandeiro [~pandeiro@187.105.248.108] has quit [Quit: Thanks, fellas] 16:58:46 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 16:59:36 jewel [~jewel@196-209-224-145.dynamic.isadsl.co.za] has joined #scheme 17:02:06 tupi [~david@139.82.89.24] has joined #scheme 17:07:27 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 17:08:16 turbofail [~user@c-107-3-149-149.hsd1.ca.comcast.net] has joined #scheme 17:10:06 saccadewrk [~saccadewr@nat/google/x-flhkvrcugszuduyy] has joined #scheme 17:23:44 asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has joined #scheme 17:28:05 -!- drdo [~drdo@91.205.108.93.rev.vodafone.pt] has quit [Remote host closed the connection] 17:41:44 -!- mmc1 [~michal@sams-office-nat.tomtomgroup.com] has left #scheme 17:46:37 drdo [~drdo@91.205.108.93.rev.vodafone.pt] has joined #scheme 17:48:30 arcfide [1000@c-69-136-7-94.hsd1.in.comcast.net] has joined #scheme 17:50:41 masm [~masm@bl15-129-254.dsl.telepac.pt] has joined #scheme 17:51:03 -!- mmc [~michal@salm-office-nat.tomtomgroup.com] has quit [Ping timeout: 255 seconds] 18:11:05 molbdnilo [~Ove@c80-216-198-94.bredband.comhem.se] has joined #scheme 18:14:26 -!- preflex_ is now known as preflex 18:25:25 jcowan [c6b912cf@gateway/web/freenode/ip.198.185.18.207] has joined #scheme 18:27:58 hoi 18:39:00 -!- MrFahrenheit [~RageOfTho@users-151-140.vinet.ba] has quit [Ping timeout: 258 seconds] 18:40:23 -!- snorble [~snorble@s83-179-14-167.cust.tele2.se] has quit [Quit: snorble] 18:43:58 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 264 seconds] 18:44:27 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 18:55:20 mmc [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 19:05:07 -!- mmc [~michal@82-148-210-75.fiber.unet.nl] has quit [Remote host closed the connection] 19:09:17 mmc [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 19:09:39 soveran [~soveran@host186.190-136-33.telecom.net.ar] has joined #scheme 19:18:47 -!- molbdnilo [~Ove@c80-216-198-94.bredband.comhem.se] has quit [Quit: molbdnilo] 19:24:04 -!- soveran [~soveran@host186.190-136-33.telecom.net.ar] has quit [Read error: No route to host] 19:24:26 soveran [~soveran@host186.190-136-33.telecom.net.ar] has joined #scheme 19:25:55 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 19:26:05 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 258 seconds] 19:29:29 -!- preflex_ is now known as preflex 19:44:25 -!- alaricsp [~alaric@relief.warhead.org.uk] has quit [Quit: Leaving] 19:44:44 rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has joined #scheme 19:55:10 -!- duncanm [~duncan@a-chinaman.com] has quit [Read error: Operation timed out] 19:55:16 duncanm [~duncan@a-chinaman.com] has joined #scheme 19:55:16 la la la 19:57:37 parolang [~parolang@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has joined #scheme 19:59:45 -!- jewel [~jewel@196-209-224-145.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 20:04:59 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 250 seconds] 20:08:38 Anyone written a scheme in a high level language like java/C# here? I've started my scheme project in C# and gotten a tokenizer and parser working pretty alright for s-expressions, but I'm wondering how best to evaluate my AST, now that I've got a way to generate it... 20:08:49 If anyone wants to check out my code: https://github.com/imphasing/schemin 20:09:07 I've basically got a linked list AST with very simple scheme types like integers, strings, atoms, and lists 20:09:17 Now I need to write an evaluator, and that seems like the hardest part... 20:11:00 -!- zbigniew [~zb@3e8.org] has quit [Ping timeout: 260 seconds] 20:11:07 snorble [~snorble@s83-179-14-167.cust.tele2.se] has joined #scheme 20:12:52 imphasing: Have you got a reader yet? 20:13:03 imphasing: i.e., something that implements Scheme's (read) faithfully? 20:13:19 imphasing: Scheme on Rails, if you'll excuse my pun. https://github.com/jcoglan/heist 20:13:57 imphasing: IronScheme is C# 20:14:33 cky: Nope, I've just got something that takes in s-expressions, tokenizes them, then places them into my AST with my parser 20:14:34 Personally, since you already have an AST datatype, I'd skip the reader and start with basic evaluator because it's more fun. 20:14:42 I haven't implemented anything scheme-like yet really 20:15:14 imphasing: Implement the reader first. Evaluation is easier if you have that. 20:15:47 imphasing: Then, your code is basically a tree of Scheme lists. Process your code in that form. 20:16:06 imphasing: You say you have a lexer and a parser already that takes s-expressions and produces an AST? 20:16:15 I guess I should figure out what read does :D 20:16:22 danking: Yeah, it's very basic thus far though 20:16:38 -!- HG` [~HG@p5DC05496.dip.t-dialin.net] has quit [Quit: Leaving.] 20:16:50 rudybot: (with-input-from-string "(define (add1 x) (+ x 1))" read) 20:16:51 cky: your sandbox is ready 20:16:51 cky: ; Value: (define (add1 x) (+ x 1)) 20:16:57 That sounds like a, very basic, (read) to me. 20:17:12 danking: Yes, but he now needs to produce some Scheme lists from his AST. 20:17:34 cky: What do you mean by 20:17:40 "scheme lists"? 20:17:46 rudybot: (with-input-from-string " ( define(add1 x)( + x 1) ) " read) 20:17:46 cky: ; Value: (define (add1 x) (+ x 1)) 20:17:50 Is that different than a regular list of lists/atoms/etc? 20:17:51 imphasing: ^^--- See the example above. 20:17:57 No, just lists. 20:18:27 cky: If he's got (sequence (id define) (sequence (id add1) (id x)) (sequence (id +) (id x) (id 1))), he's got it no? 20:18:47 If you dig my pseudo-syntax. 20:18:57 Feels like I should know more scheme before I do this now hehe 20:19:02 Well, if you rename sequence as list, and id as symbol, and have 1 as a number, then you have the right idea. 20:19:25 imphasing: Can you paste the code somewhere? 20:19:37 https://github.com/imphasing/schemin/tree/master/src/Schemin 20:19:49 The tokenizer is probably the most important part right now, the parser is very basic 20:19:59 It just transforms the tokens into a recursive list structure 20:20:42 The important bit that re-organized the tokens into a tree: https://github.com/imphasing/schemin/blob/master/src/Schemin/Schemin.Parse/Parser.cs 20:20:42 http://tinyurl.com/4y2wvc7 20:21:00 whoa cool bot :P 20:21:49 imphasing: :-) 20:21:59 imphasing: It seems you have the basic idea. 20:22:36 imphasing: What I wanted to demonstrate with my example above is that when you evaluate (define (add1 x) (+ x 1)), you're evaluating a bunch of lists, you're not evaluating a string. 20:23:03 imphasing: The outermost list (let's call it #0) has three items: the symbol "define", the list #1, and the list #2. 20:23:14 imphasing: The list #1 has two items: the symbol "add1", and the symbol "x". 20:23:27 imphasing: The list #2 has three items: the symbol "+", the symbol "x", and the number 1. 20:23:41 imphasing: Why do you extract all the string literals in tokenizer.cs ? 20:23:44 Yep, my parser can recognize those structures thankfully.. although it does put everything into a top level list, which may not be wise.. 20:23:54 imphasing: *nods* 20:24:08 imphasing: Would it cause I bug if I fed your lexer "(STRING_LITERAL_0)" ? 20:24:08 danking: I figured tokenizing through string literals would get hard, but that may not actually be needed now.. 20:24:19 danking: Yes :P 20:24:30 hmm 20:25:26 danking: Probably an indexnotfoundexception, since it would try to look up that literal in the dictionary 20:25:30 or something along those lines 20:26:23 Well, this may take the fun out of it, but you could use lexer generator. I think it's usually easier to describe the lexical tokens that way. 20:26:23 Ah, I extracted the literals because the regular expressions I use to identify symbols and other literals would choke on a string literal that had lisp code in it 20:27:35 Yeah, that might be a good idea to do down the line.. I'm hoping for a trial by fire sort of deal, I've never really written a parser that does something before :D 20:30:06 Relying on string matching for my literals is probably stupid since if I ever get sophisticated macros, basically anything could be valid code :| 20:30:22 Although I doubt I'd implement that.. 20:31:16 imphasing: So, when I wrote a reder in JS I switched my "lexing function" whenever I saw a quote character. 20:31:45 I posted the code at https://gist.github.com/1100360 20:31:48 Ah, that's a good idea 20:32:03 Disclaimer: This code is probably shite, but it works. 20:32:11 hehe so is mine :P 20:32:13 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 20:33:02 You can skip to `readSExpByIndex' which is where I dispatch on delimeters. 20:34:46 choas [~lars@p5792C2B0.dip.t-dialin.net] has joined #scheme 20:36:16 hah, my tokenizer recognized add1 as an integer literal :| 20:36:41 -!- choas [~lars@p5792C2B0.dip.t-dialin.net] has quit [Client Quit] 20:37:37 lol 20:39:42 -!- arcfide [1000@c-69-136-7-94.hsd1.in.comcast.net] has quit [Quit: EPIC5-1.1.2[1638] - amnesiac : Guns make holes in people. Weed makes people giggle and eat cake.] 20:41:24 choas [~lars@p5792C2B0.dip.t-dialin.net] has joined #scheme 20:44:54 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 20:44:59 mithridates [~mithridat@156.34.179.246] has joined #scheme 20:45:26 Huh... I guess I can basically start implementing standard functions in my environment, then I guess make a kind of stack machine to evaluate everything.. 20:51:36 -!- imphasing is now known as imphasing|home 20:52:00 homie` [~levgue@xdsl-78-35-160-144.netcologne.de] has joined #scheme 20:54:07 -!- homie [~levgue@xdsl-78-35-185-128.netcologne.de] has quit [Ping timeout: 240 seconds] 20:58:11 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 21:05:08 zmv [~Telefonic@187.57.25.85] has joined #scheme 21:14:45 doc_who [~doc_who@pool-108-28-6-47.washdc.fios.verizon.net] has joined #scheme 21:16:55 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 21:17:18 -!- zmv [~Telefonic@187.57.25.85] has quit [Disconnected by services] 21:17:22 -!- zmv_ is now known as zmv 21:21:26 zbigniew [~zb@3e8.org] has joined #scheme 21:26:39 Euthydemus [~euthydemu@unaffiliated/euthydemus] has joined #scheme 21:33:37 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 21:35:19 -!- tauntaun [~user@li327-197.members.linode.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:35:57 -!- homie` [~levgue@xdsl-78-35-160-144.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:39:47 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 240 seconds] 21:40:01 homie [~levgue@xdsl-78-35-160-144.netcologne.de] has joined #scheme 21:42:12 MrFahrenheit [~RageOfTho@users-151-140.vinet.ba] has joined #scheme 21:42:17 zmv [~Telefonic@187.57.25.85] has joined #scheme 21:56:53 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 22:00:10 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 264 seconds] 22:01:41 RageOfThou [~RageOfTho@62.101.151.140] has joined #scheme 22:02:33 -!- choas [~lars@p5792C2B0.dip.t-dialin.net] has quit [Ping timeout: 258 seconds] 22:04:51 -!- MrFahrenheit [~RageOfTho@users-151-140.vinet.ba] has quit [Ping timeout: 258 seconds] 22:09:23 -!- soveran [~soveran@host186.190-136-33.telecom.net.ar] has quit [Remote host closed the connection] 22:10:45 -!- zmv_ is now known as zmv 22:19:25 -!- RageOfThou [~RageOfTho@62.101.151.140] has quit [Ping timeout: 258 seconds] 22:19:43 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 258 seconds] 22:21:47 zmv [~Telefonic@187.57.25.85] has joined #scheme 22:25:58 Pirxs [~Pirx@195.225.69.9] has joined #scheme 22:28:56 -!- Pirxs [~Pirx@195.225.69.9] has quit [Client Quit] 22:33:27 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 22:36:50 -!- littlebobby [~bob@unaffiliated/littlebobby] has quit [Quit: Ex-Chat] 22:38:05 tauntaun [~user@ool-44c711b3.dyn.optonline.net] has joined #scheme 22:38:17 -!- tauntaun is now known as Guest91724 22:38:41 -!- Guest91724 [~user@ool-44c711b3.dyn.optonline.net] has quit [Client Quit] 22:38:56 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 22:40:24 tauntaun` [~user@ool-44c711b3.dyn.optonline.net] has joined #scheme 22:40:39 -!- tauntaun` [~user@ool-44c711b3.dyn.optonline.net] has quit [Client Quit] 22:41:35 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 252 seconds] 22:44:53 tauntaun` [~user@ool-44c711b3.dyn.optonline.net] has joined #scheme 22:45:56 jcowan: "aardvark" is spying on us 22:47:41 I signed up with Aardvark the other day; maybe that has something to do with it. 22:47:49 But if so, they are not long for this world anyway. 22:48:38 -!- tauntaun` [~user@ool-44c711b3.dyn.optonline.net] has quit [Client Quit] 22:56:54 dnolen_ [~davidnole@184.152.69.75] has joined #scheme 23:00:42 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 23:00:44 zmv [~Telefonic@187.57.25.85] has joined #scheme 23:03:48 -!- zmv_ [~Telefonic@187.57.25.85] has quit [Ping timeout: 252 seconds] 23:06:41 -!- samth is now known as samth_away 23:07:41 pbalduino [c9567e6a@gateway/web/freenode/ip.201.86.126.106] has joined #scheme 23:13:00 arcfide [1000@c-69-136-7-94.hsd1.in.comcast.net] has joined #scheme 23:14:51 -!- masm [~masm@bl15-129-254.dsl.telepac.pt] has quit [Quit: Leaving.] 23:15:34 -!- jcowan [c6b912cf@gateway/web/freenode/ip.198.185.18.207] has quit [Quit: Page closed] 23:19:09 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 23:22:40 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 258 seconds] 23:23:53 -!- arcfide [1000@c-69-136-7-94.hsd1.in.comcast.net] has quit [Quit: EPIC5-1.1.2[1638] - amnesiac : If it ain't broken, break it.] 23:25:30 arcfide [1000@c-69-136-7-94.hsd1.in.comcast.net] has joined #scheme 23:29:29 klutometis pasted "OJ Simpson immortalizes #123456" at http://paste.lisp.org/display/123456 23:29:51 Hah; achievement unlocked! 23:30:56 According to which, by the way, OJ is innocent. 23:31:40 klutometis: :O 23:31:45 -!- pygospa [~TheRealPy@kiel-5f769482.pool.mediaWays.net] has quit [Disconnected by services] 23:31:54 pygospa [~TheRealPy@kiel-5f77b9bd.pool.mediaWays.net] has joined #scheme 23:33:25 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 260 seconds] 23:33:35 http://influence.la/oj.gif 23:33:55 -!- zmv_ is now known as zmv 23:36:41 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 23:37:44 zanea [~zanea@222-153-119-57.jetstream.xtra.co.nz] has joined #scheme 23:40:34 -!- tupi [~david@139.82.89.24] has quit [Quit: Leaving] 23:41:05 zmv_ [~Telefonic@187.57.25.85] has joined #scheme 23:41:07 -!- rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] 23:42:22 -!- parolang [~parolang@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has quit [Ping timeout: 246 seconds] 23:43:45 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 276 seconds] 23:44:00 -!- pbalduino [c9567e6a@gateway/web/freenode/ip.201.86.126.106] has left #scheme 23:44:31 -!- zmv [~Telefonic@187.57.25.85] has quit [Ping timeout: 258 seconds] 23:51:41 em [~em@unaffiliated/emma] has joined #scheme 23:53:24 Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has joined #scheme 23:55:29 -!- Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has left #scheme 23:57:28 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 252 seconds] 23:57:47 em [~em@unaffiliated/emma] has joined #scheme