2014-11-22T00:00:01Z pera quit (Ping timeout: 264 seconds) 2014-11-22T00:22:50Z githogori_ quit (Read error: Connection reset by peer) 2014-11-22T00:23:31Z stepnem quit (Ping timeout: 255 seconds) 2014-11-22T00:44:51Z derek_c joined #scheme 2014-11-22T00:46:28Z amgarchIn9 quit (Ping timeout: 255 seconds) 2014-11-22T00:48:53Z kongtomorrow quit 2014-11-22T00:57:29Z jlongster quit (Ping timeout: 264 seconds) 2014-11-22T00:59:10Z hiyosi quit (Ping timeout: 265 seconds) 2014-11-22T00:59:12Z karswell quit (Read error: Connection reset by peer) 2014-11-22T00:59:28Z karswell joined #scheme 2014-11-22T01:05:07Z Adamant joined #scheme 2014-11-22T01:11:01Z jeapostrophe quit (Ping timeout: 272 seconds) 2014-11-22T01:27:57Z tessier quit (Changing host) 2014-11-22T01:27:57Z tessier joined #scheme 2014-11-22T01:30:43Z marcux joined #scheme 2014-11-22T01:50:47Z marcux quit (Quit: marcux) 2014-11-22T01:52:52Z kongtomorrow joined #scheme 2014-11-22T01:57:25Z xyh joined #scheme 2014-11-22T02:00:47Z cibs quit (*.net *.split) 2014-11-22T02:00:47Z MichaelRaskin quit (*.net *.split) 2014-11-22T02:00:47Z girrig quit (*.net *.split) 2014-11-22T02:00:47Z choas quit (*.net *.split) 2014-11-22T02:00:47Z tristero quit (*.net *.split) 2014-11-22T02:00:47Z acieroid quit (*.net *.split) 2014-11-22T02:00:47Z jrslepak quit (*.net *.split) 2014-11-22T02:00:47Z teiresias quit (*.net *.split) 2014-11-22T02:00:47Z Intensity quit (*.net *.split) 2014-11-22T02:00:48Z Kabaka quit (*.net *.split) 2014-11-22T02:00:48Z sonstwo quit (*.net *.split) 2014-11-22T02:00:48Z theseb quit (*.net *.split) 2014-11-22T02:00:48Z chameco quit (*.net *.split) 2014-11-22T02:00:48Z Vutral quit (*.net *.split) 2014-11-22T02:00:48Z GGMethos quit (*.net *.split) 2014-11-22T02:00:49Z jkraemer quit (*.net *.split) 2014-11-22T02:00:49Z bb010g quit (*.net *.split) 2014-11-22T02:00:49Z swilr quit (*.net *.split) 2014-11-22T02:00:49Z bjz quit (*.net *.split) 2014-11-22T02:00:49Z fikusz quit (*.net *.split) 2014-11-22T02:00:49Z Ray______ quit (*.net *.split) 2014-11-22T02:00:50Z Soft quit (*.net *.split) 2014-11-22T02:06:46Z jlongster joined #scheme 2014-11-22T02:06:57Z GGMethos joined #scheme 2014-11-22T02:07:18Z jusss joined #scheme 2014-11-22T02:09:01Z Vutral joined #scheme 2014-11-22T02:09:43Z bb010g joined #scheme 2014-11-22T02:13:33Z germ13 joined #scheme 2014-11-22T02:31:13Z githogori joined #scheme 2014-11-22T02:32:35Z mdibound quit (Quit: Be back later ...) 2014-11-22T02:32:47Z 7GHAAPEPQ joined #scheme 2014-11-22T02:32:48Z swilr joined #scheme 2014-11-22T02:32:48Z jkraemer joined #scheme 2014-11-22T02:32:48Z chameco joined #scheme 2014-11-22T02:32:48Z sonstwo joined #scheme 2014-11-22T02:32:48Z bjz joined #scheme 2014-11-22T02:32:48Z fikusz joined #scheme 2014-11-22T02:32:48Z Ray______ joined #scheme 2014-11-22T02:32:48Z Soft joined #scheme 2014-11-22T02:32:51Z 7GHAAPEPQ quit (*.net *.split) 2014-11-22T02:32:51Z bjz quit (*.net *.split) 2014-11-22T02:32:51Z fikusz quit (*.net *.split) 2014-11-22T02:32:52Z Ray______ quit (*.net *.split) 2014-11-22T02:32:52Z Soft quit (*.net *.split) 2014-11-22T02:32:57Z hiyosi joined #scheme 2014-11-22T02:32:57Z MichaelRaskin joined #scheme 2014-11-22T02:32:57Z girrig joined #scheme 2014-11-22T02:32:57Z choas joined #scheme 2014-11-22T02:32:57Z tristero joined #scheme 2014-11-22T02:32:57Z acieroid joined #scheme 2014-11-22T02:32:57Z jrslepak joined #scheme 2014-11-22T02:32:57Z teiresias joined #scheme 2014-11-22T02:32:57Z Intensity joined #scheme 2014-11-22T02:33:10Z mdibound joined #scheme 2014-11-22T02:33:59Z c74d quit (Remote host closed the connection) 2014-11-22T02:35:19Z mdibound_ joined #scheme 2014-11-22T02:36:47Z c74d joined #scheme 2014-11-22T02:36:58Z mdibound quit (Read error: Connection reset by peer) 2014-11-22T02:37:28Z tobik quit (Ping timeout: 256 seconds) 2014-11-22T02:38:08Z tobik joined #scheme 2014-11-22T02:39:18Z davexunit quit (Quit: Later) 2014-11-22T02:39:22Z mdibound_ quit (Ping timeout: 240 seconds) 2014-11-22T02:40:12Z hiyosi quit (*.net *.split) 2014-11-22T02:40:12Z MichaelRaskin quit (*.net *.split) 2014-11-22T02:40:12Z girrig quit (*.net *.split) 2014-11-22T02:40:12Z choas quit (*.net *.split) 2014-11-22T02:40:12Z tristero quit (*.net *.split) 2014-11-22T02:40:12Z acieroid quit (*.net *.split) 2014-11-22T02:40:12Z jrslepak quit (*.net *.split) 2014-11-22T02:40:12Z teiresias quit (*.net *.split) 2014-11-22T02:40:12Z Intensity quit (*.net *.split) 2014-11-22T02:40:49Z xyh quit (Remote host closed the connection) 2014-11-22T02:41:17Z jumblerg joined #scheme 2014-11-22T02:41:43Z 7GHAAPEPQ joined #scheme 2014-11-22T02:41:43Z bjz joined #scheme 2014-11-22T02:41:43Z fikusz joined #scheme 2014-11-22T02:41:43Z Ray______ joined #scheme 2014-11-22T02:41:43Z Soft joined #scheme 2014-11-22T02:42:45Z 7GHAAPEPQ quit (Max SendQ exceeded) 2014-11-22T02:46:07Z Kabaka joined #scheme 2014-11-22T02:46:29Z hiyosi joined #scheme 2014-11-22T02:46:29Z MichaelRaskin joined #scheme 2014-11-22T02:46:29Z girrig joined #scheme 2014-11-22T02:46:29Z choas joined #scheme 2014-11-22T02:46:29Z tristero joined #scheme 2014-11-22T02:46:29Z acieroid joined #scheme 2014-11-22T02:46:29Z jrslepak joined #scheme 2014-11-22T02:46:29Z teiresias joined #scheme 2014-11-22T02:46:29Z Intensity joined #scheme 2014-11-22T02:46:51Z cibs joined #scheme 2014-11-22T02:46:52Z sbwhitecap joined #scheme 2014-11-22T02:50:18Z mdibound_ joined #scheme 2014-11-22T02:53:06Z aloysius21 joined #scheme 2014-11-22T02:54:19Z kazimir42 quit (Ping timeout: 250 seconds) 2014-11-22T03:02:11Z mdibound_ quit (Quit: Be back later ...) 2014-11-22T03:02:44Z mdibound_ joined #scheme 2014-11-22T03:05:48Z sheilong quit (Quit: Konversation terminated!) 2014-11-22T03:07:41Z mdibound_ quit (Ping timeout: 264 seconds) 2014-11-22T03:18:39Z joneshf-laptop joined #scheme 2014-11-22T03:21:50Z altphi joined #scheme 2014-11-22T03:27:17Z aloysius21 quit (Remote host closed the connection) 2014-11-22T03:38:25Z githogori quit (Ping timeout: 264 seconds) 2014-11-22T03:41:45Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-22T03:42:07Z araujo quit (Quit: Leaving) 2014-11-22T03:46:18Z githogori joined #scheme 2014-11-22T03:47:52Z psy_ quit (Ping timeout: 240 seconds) 2014-11-22T03:49:54Z psy_ joined #scheme 2014-11-22T03:51:59Z jcowan joined #scheme 2014-11-22T03:55:07Z jlongster quit (Ping timeout: 244 seconds) 2014-11-22T04:01:09Z mdibound_ joined #scheme 2014-11-22T04:01:59Z ivan\ joined #scheme 2014-11-22T04:04:33Z tadni` joined #scheme 2014-11-22T04:06:38Z omefire joined #scheme 2014-11-22T04:08:09Z tadni quit (Ping timeout: 265 seconds) 2014-11-22T04:12:01Z robot-beethoven joined #scheme 2014-11-22T04:13:28Z jusss quit (Ping timeout: 255 seconds) 2014-11-22T04:18:11Z karswell` joined #scheme 2014-11-22T04:18:40Z karswell quit (Read error: Connection reset by peer) 2014-11-22T04:28:26Z jumblerg joined #scheme 2014-11-22T04:40:35Z jumblerg quit (Ping timeout: 244 seconds) 2014-11-22T04:49:56Z githogori quit (Read error: Connection reset by peer) 2014-11-22T04:51:00Z jumblerg joined #scheme 2014-11-22T04:52:30Z jumblerg quit (Client Quit) 2014-11-22T04:55:31Z derek_c quit (Ping timeout: 265 seconds) 2014-11-22T04:57:13Z githogori joined #scheme 2014-11-22T05:00:23Z jlongster joined #scheme 2014-11-22T05:08:26Z jumblerg joined #scheme 2014-11-22T05:17:49Z derek_c joined #scheme 2014-11-22T05:24:36Z meiji11 joined #scheme 2014-11-22T05:34:28Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-22T05:35:53Z Adamant quit (Quit: Adamant) 2014-11-22T05:41:03Z jenia quit (Remote host closed the connection) 2014-11-22T05:43:15Z jusss joined #scheme 2014-11-22T05:52:37Z alezost joined #scheme 2014-11-22T05:52:42Z Vutral quit (Ping timeout: 244 seconds) 2014-11-22T06:03:06Z Vutral joined #scheme 2014-11-22T06:09:38Z githogori quit (Ping timeout: 240 seconds) 2014-11-22T06:11:54Z githogori joined #scheme 2014-11-22T06:19:22Z jlongster quit (Ping timeout: 240 seconds) 2014-11-22T06:21:37Z hiyosi quit (Ping timeout: 240 seconds) 2014-11-22T06:26:42Z vinleod joined #scheme 2014-11-22T06:29:53Z jusss quit (Ping timeout: 255 seconds) 2014-11-22T06:35:48Z kongtomorrow quit 2014-11-22T06:43:04Z vinleod quit (Quit: Computer has gone to sleep.) 2014-11-22T06:57:11Z vanila quit (Quit: Leaving) 2014-11-22T07:03:30Z scoofy quit (Read error: Connection reset by peer) 2014-11-22T07:29:58Z mdibound_ quit (Quit: Be back later ...) 2014-11-22T07:30:32Z mdibound_ joined #scheme 2014-11-22T07:34:26Z kongtomorrow joined #scheme 2014-11-22T07:34:46Z mdibound_ quit (Ping timeout: 250 seconds) 2014-11-22T07:46:36Z karswell` quit (Remote host closed the connection) 2014-11-22T07:46:56Z karswell` joined #scheme 2014-11-22T07:49:41Z karswell` quit (Remote host closed the connection) 2014-11-22T07:49:55Z karswell` joined #scheme 2014-11-22T07:50:12Z germ13 quit (Ping timeout: 244 seconds) 2014-11-22T07:52:54Z githogori quit (Ping timeout: 258 seconds) 2014-11-22T07:54:47Z githogori joined #scheme 2014-11-22T08:01:02Z derek_c quit (Ping timeout: 256 seconds) 2014-11-22T08:06:38Z hiyosi joined #scheme 2014-11-22T08:21:59Z oleo__ joined #scheme 2014-11-22T08:22:41Z oleo is now known as Guest30792 2014-11-22T08:23:16Z Guest30792 quit (Ping timeout: 244 seconds) 2014-11-22T08:31:07Z mdibound_ joined #scheme 2014-11-22T08:56:14Z mdibound_ quit (Read error: Connection reset by peer) 2014-11-22T09:05:49Z jaaqo joined #scheme 2014-11-22T09:12:59Z kongtomorrow quit 2014-11-22T09:21:54Z teleScope joined #scheme 2014-11-22T09:24:45Z derek_c joined #scheme 2014-11-22T09:32:52Z derek_c quit (Ping timeout: 240 seconds) 2014-11-22T09:36:23Z meiji11 quit (Remote host closed the connection) 2014-11-22T09:56:50Z mdibound_ joined #scheme 2014-11-22T10:01:19Z jusss joined #scheme 2014-11-22T10:01:45Z mdibound_ quit (Ping timeout: 272 seconds) 2014-11-22T10:06:14Z githogori quit (Read error: Connection reset by peer) 2014-11-22T10:07:55Z stepnem joined #scheme 2014-11-22T10:13:52Z hypermagic quit (Ping timeout: 240 seconds) 2014-11-22T10:16:19Z amgarchIn9 joined #scheme 2014-11-22T10:18:29Z jlongster joined #scheme 2014-11-22T10:23:27Z jlongster quit (Ping timeout: 255 seconds) 2014-11-22T10:26:47Z psy_ quit (Quit: Leaving) 2014-11-22T10:37:52Z vinleod joined #scheme 2014-11-22T10:57:20Z ASau quit (Remote host closed the connection) 2014-11-22T10:57:35Z mdibound_ joined #scheme 2014-11-22T10:57:46Z ASau joined #scheme 2014-11-22T11:02:22Z mdibound_ quit (Ping timeout: 265 seconds) 2014-11-22T11:07:14Z sonstwo quit (*.net *.split) 2014-11-22T11:07:15Z chameco quit (*.net *.split) 2014-11-22T11:07:15Z jkraemer quit (*.net *.split) 2014-11-22T11:07:15Z swilr quit (*.net *.split) 2014-11-22T11:10:25Z sonstwo joined #scheme 2014-11-22T11:10:25Z chameco joined #scheme 2014-11-22T11:10:25Z jkraemer joined #scheme 2014-11-22T11:10:25Z swilr joined #scheme 2014-11-22T11:11:31Z c74d quit (Remote host closed the connection) 2014-11-22T11:11:49Z karswell` quit (*.net *.split) 2014-11-22T11:11:49Z MichaelRaskin quit (*.net *.split) 2014-11-22T11:11:49Z girrig quit (*.net *.split) 2014-11-22T11:11:50Z choas quit (*.net *.split) 2014-11-22T11:11:50Z tristero quit (*.net *.split) 2014-11-22T11:11:50Z acieroid quit (*.net *.split) 2014-11-22T11:11:50Z jrslepak quit (*.net *.split) 2014-11-22T11:11:50Z teiresias quit (*.net *.split) 2014-11-22T11:11:50Z Intensity quit (*.net *.split) 2014-11-22T11:13:08Z karswell` joined #scheme 2014-11-22T11:13:08Z MichaelRaskin joined #scheme 2014-11-22T11:13:08Z girrig joined #scheme 2014-11-22T11:13:08Z choas joined #scheme 2014-11-22T11:13:08Z tristero joined #scheme 2014-11-22T11:13:08Z acieroid joined #scheme 2014-11-22T11:13:08Z jrslepak joined #scheme 2014-11-22T11:13:08Z teiresias joined #scheme 2014-11-22T11:13:08Z Intensity joined #scheme 2014-11-22T11:14:57Z c74d joined #scheme 2014-11-22T11:17:14Z jlongster joined #scheme 2014-11-22T11:23:17Z jlongster quit (Ping timeout: 264 seconds) 2014-11-22T11:24:28Z marcux joined #scheme 2014-11-22T11:28:49Z sbwhitecap quit (Quit: Leaving...) 2014-11-22T11:29:01Z c74d quit (Remote host closed the connection) 2014-11-22T11:31:32Z c74d joined #scheme 2014-11-22T11:40:26Z c74d quit (Remote host closed the connection) 2014-11-22T11:44:09Z c74d joined #scheme 2014-11-22T11:46:36Z cmatei quit (Remote host closed the connection) 2014-11-22T11:48:21Z oleo__ quit (Quit: Verlassend) 2014-11-22T11:50:49Z cmatei joined #scheme 2014-11-22T11:53:06Z c74d quit (Remote host closed the connection) 2014-11-22T11:55:55Z c74d joined #scheme 2014-11-22T11:58:18Z mdibound_ joined #scheme 2014-11-22T11:58:23Z lritter joined #scheme 2014-11-22T11:58:27Z lritter: cheerio :) 2014-11-22T11:59:11Z lritter: i'm trying to implement syntax-rules into my scheme dialect but i'm not sure when syntax is supposed to be expanded 2014-11-22T11:59:32Z lritter: can it be done as part of eval or does it have to run somewhere else? 2014-11-22T12:02:47Z mdibound_ quit (Ping timeout: 265 seconds) 2014-11-22T12:06:02Z jusss quit (Read error: Connection reset by peer) 2014-11-22T12:06:32Z jusss` joined #scheme 2014-11-22T12:07:37Z jumblerg joined #scheme 2014-11-22T12:11:26Z mornfall quit (Changing host) 2014-11-22T12:11:26Z mornfall joined #scheme 2014-11-22T12:18:43Z jlongster joined #scheme 2014-11-22T12:21:00Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-22T12:25:04Z jlongster quit (Ping timeout: 244 seconds) 2014-11-22T12:32:43Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-22T12:34:50Z oleo joined #scheme 2014-11-22T12:35:55Z davexunit joined #scheme 2014-11-22T12:41:28Z maddrmike left #scheme 2014-11-22T12:41:28Z maddrmike joined #scheme 2014-11-22T12:45:44Z tadni` quit (Ping timeout: 244 seconds) 2014-11-22T12:53:58Z jumblerg joined #scheme 2014-11-22T12:57:33Z jumblerg quit (Client Quit) 2014-11-22T12:59:06Z mdibound_ joined #scheme 2014-11-22T13:03:17Z mdibound_ quit (Ping timeout: 240 seconds) 2014-11-22T13:05:53Z amgarchIn9 quit (Quit: Konversation terminated!) 2014-11-22T13:14:07Z jumblerg joined #scheme 2014-11-22T13:14:56Z jumblerg quit (Client Quit) 2014-11-22T13:17:24Z psy joined #scheme 2014-11-22T13:17:50Z amgarchIn9 joined #scheme 2014-11-22T13:22:46Z jumblerg joined #scheme 2014-11-22T13:35:53Z nowhere_man joined #scheme 2014-11-22T13:42:20Z amgarchIn9 quit (Ping timeout: 255 seconds) 2014-11-22T13:43:47Z taylanub quit (Disconnected by services) 2014-11-22T13:44:45Z taylanub joined #scheme 2014-11-22T13:53:29Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-22T13:57:32Z altphi quit (Quit: somno opus est.) 2014-11-22T13:59:23Z DKordic joined #scheme 2014-11-22T13:59:43Z amgarchIn9 joined #scheme 2014-11-22T14:02:24Z amgarchIn9 quit (Client Quit) 2014-11-22T14:02:59Z amgarchIn9 joined #scheme 2014-11-22T14:06:20Z mornfall quit (Quit: ZNC - http://znc.sourceforge.net) 2014-11-22T14:08:07Z amgarchIn9 quit (Ping timeout: 272 seconds) 2014-11-22T14:11:43Z rurumate joined #scheme 2014-11-22T14:14:51Z mdibound_ joined #scheme 2014-11-22T14:18:00Z rurumate left #scheme 2014-11-22T14:18:29Z jlongster joined #scheme 2014-11-22T14:19:31Z mdibound_ quit (Ping timeout: 272 seconds) 2014-11-22T14:20:43Z jcowan: lritter: ping 2014-11-22T14:23:17Z jlongster quit (Ping timeout: 264 seconds) 2014-11-22T14:25:13Z jusss` quit (Remote host closed the connection) 2014-11-22T14:26:03Z altphi joined #scheme 2014-11-22T14:31:45Z maddrmike: it's typically done before evaluation. See references 3 and 6 from this article: http://www.cs.indiana.edu/~dyb/pubs/bc-syntax-case.pdf 2014-11-22T14:32:14Z jcowan: Well, as the first stage of evaluation. 2014-11-22T14:32:41Z maddrmike: as well as the article itself, of course. 2014-11-22T14:33:05Z jcowan: It is possible, though tricky, to intertwine macro expansion and function application, but only SCM among current Schemes actually does so AFAICT. 2014-11-22T14:41:44Z altphi quit (Quit: somno opus est.) 2014-11-22T14:46:58Z marcux quit (Quit: marcux) 2014-11-22T14:47:17Z lritter: jcloud, pong 2014-11-22T14:47:32Z lritter: maddrmike, jcowan, thanks 2014-11-22T14:47:33Z marcux joined #scheme 2014-11-22T14:48:22Z altphi joined #scheme 2014-11-22T14:49:06Z lritter: maddrmike, jcowan: another question that came up, which is kind of ungoogleable: what does (_ x y z) do? 2014-11-22T14:49:37Z pjb: Calls the function bound to _ with as arguments the result of evaluating x, y and z in any order. 2014-11-22T14:49:58Z lritter: okay, so _ is context dependent? 2014-11-22T14:50:03Z jcowan: In syntax-rules, the car of a pattern has no meaning and can be any symbol. Some people like to write it as _, but I prefer to repeat the symbol being defined instead. 2014-11-22T14:50:12Z jcowan: It's important to grasp that syntax-rules *is not Scheme*. 2014-11-22T14:50:14Z lritter: yeah, that's what i'm often seeing 2014-11-22T14:50:19Z jcowan: It is a separate sublanguage. 2014-11-22T14:50:22Z lritter: yeah it is 2014-11-22T14:50:39Z lritter: wikipedia mentioned that the syntax forms plus the few forms surrounding lambda are enough to implement the rest of the language 2014-11-22T14:50:47Z lritter: and i like this approach 2014-11-22T14:50:51Z pjb: In syntax-case, when it's used in a patten, then it matches a list of 4 elements, the first is bound to _, the second to x, the third to y, the fourth to z. 2014-11-22T14:50:58Z LeoNerd: Scheme is lovely like that. Scheme is like Lego 2014-11-22T14:51:22Z jcowan: Literals, variables, if, lambda, quote, set!, letrec, and define are the whole language. 2014-11-22T14:51:29Z LeoNerd: A few simple basic ideas, carefully designed to be plugged together in all kinds of different and interesting ways, combined together to build higher and higher things 2014-11-22T14:51:41Z jcowan: pjb: Actually, nothing is bound to _ 2014-11-22T14:51:52Z b4283 joined #scheme 2014-11-22T14:51:59Z LeoNerd: I think _ in car position is treated specially by the macro expander 2014-11-22T14:52:01Z lritter: LeoNerd, that's true 2014-11-22T14:52:11Z lritter: what i have my issues with is that some of the basic forms are a little unclean 2014-11-22T14:52:24Z lritter: that is, e.g. define and let have two different syntaxes 2014-11-22T14:52:45Z jcowan: The symbol in car position (at top level) is ignored by the macro expander. _ in non-car position is treated specially in R6RS and R7RS expanders. 2014-11-22T14:52:50Z lritter: for a language that prides itself on not requiring syntax sugar, that's funny ;) 2014-11-22T14:53:05Z jcowan: Begin, too. 2014-11-22T14:53:09Z lritter: so i really like the principles, the standard is somewhat inconsequential. 2014-11-22T14:53:44Z lritter: syntax-rules/syntax-case seem to be introducing features that seem to be somewhat implicit in e.g. haskell 2014-11-22T14:53:54Z jcowan: Haskell has no equivalent of them. 2014-11-22T14:54:02Z lritter: haskell has pattern matching at the lowest level 2014-11-22T14:54:10Z lritter: every function declaration is a pattern 2014-11-22T14:54:16Z jcowan: Its syntax, like most languages, is not extensible. The pattern matching in Haskell is against objects, not against syntax forms. 2014-11-22T14:54:29Z lritter: true 2014-11-22T14:55:08Z jcowan: Pure OTOH defines both functions and macros with the same syntax, except that syntax definitions are preceded by a keyword whereas function definitions are not. 2014-11-22T14:55:14Z lritter: most languages are too elaborate in their token sets to make syntax expansion unwieldy 2014-11-22T14:55:30Z lritter: lisp is so low fat on tokens that this is no problem 2014-11-22T14:55:44Z jcowan: so "a = b + c" means "rewrite b + c as a" at run time, whereas "def a = b + c" means "rewrite b + c as a" at compile time. 2014-11-22T14:56:04Z jcowan: "JRM's Syntax-rules Primer for the Merely Eccentric" is extremely useful to understanding syntax-rules. 2014-11-22T14:56:45Z lritter: i'll have a look 2014-11-22T14:56:49Z lritter: thanks for the pointers 2014-11-22T14:57:15Z jcowan: There was once talk of renaming named-let, but that ship sailed long ago. 2014-11-22T14:57:17Z lritter: what i'm working on is a bit weird; i'm implementing a scheme on top of lua that has tables as its homoiconic type, not lists 2014-11-22T14:57:24Z jcowan: Cool! 2014-11-22T14:57:34Z jcowan: There's a lot of appreciation for Lua among many Schemers 2014-11-22T14:57:46Z lritter: also, symbol binding is not by name but by address 2014-11-22T14:57:51Z jcowan: Eh? 2014-11-22T14:57:55Z lritter: which works mostly because there is no notation 2014-11-22T14:58:01Z lritter: that's right, no parser, no code generator :) 2014-11-22T14:58:37Z lritter: that is only possible because the code is not in text form 2014-11-22T14:58:48Z lritter: but exists as in-memory tree 2014-11-22T14:59:27Z lritter: binding directly to addresses/objects allows to build graphs without indirection 2014-11-22T14:59:57Z lritter: e.g. for (lambda (x) (+ x 1)), in text form, x would at parse time resolve to two different symbols with the same name 2014-11-22T15:00:00Z jcowan: Oh, okay. The Lisp tradition has occasionally allowed such things, but not typically. 2014-11-22T15:00:05Z lritter: in this system, x is the exact same symbol in memory 2014-11-22T15:00:20Z jcowan: Actually no, there is no such thing as "two symbols with the same name" 2014-11-22T15:00:29Z jcowan: symbols are hashed so as to be unique. 2014-11-22T15:01:15Z lritter: jcowan, so you're saying for two lambda declarations after each other using x as argument name, x will resolve to the same object? 2014-11-22T15:02:45Z lritter: that's probably be no problem 2014-11-22T15:02:46Z jcowan: Yes 2014-11-22T15:03:05Z lritter: because even in nested contexts the closures bind it differently so there would be no collision 2014-11-22T15:03:10Z lritter: -be 2014-11-22T15:03:19Z jcowan: It's common to rename such identifiers so you do not have accidental collisions (this is called "alpha-conversion") 2014-11-22T15:03:38Z lritter: hm; okay - then i can guarantee that x is only in its context identical 2014-11-22T15:03:57Z jcowan: as the first stage in Scheme compilation/evaluation 2014-11-22T15:04:05Z lritter: because technically, in my system, names are just labels for documentation 2014-11-22T15:05:33Z lritter: i use a graphical representation, a bit like scheme blocks 2014-11-22T15:06:43Z lritter: a nice side-effect is that e.g. letrec is not needed, because graphically it's not difficult to have an unnamed lambda call itself 2014-11-22T15:06:49Z jumblerg joined #scheme 2014-11-22T15:06:57Z jumblerg quit (Client Quit) 2014-11-22T15:07:03Z jcowan: That is what letrec does, precisely: it ties a knot in the internal representation. 2014-11-22T15:07:22Z psy quit (Ping timeout: 240 seconds) 2014-11-22T15:07:32Z lritter: the other neat side-effect is that changing the label of an argument changes it in the definition, which is a neat refactoring feature 2014-11-22T15:07:39Z jcowan: What is your back end: do you generate Lua, or bytecode, or is it a tree-walking interpreter? 2014-11-22T15:07:50Z lritter: it's a dumb tree-walking interpreter in its first stage 2014-11-22T15:07:57Z lritter: i plan to do the rest within the system 2014-11-22T15:08:18Z lritter: there are several targets planned; a code generator for GLSL and OpenCL, and a terra-based system that effectively talks to LLVM 2014-11-22T15:08:52Z jcowan: Fair enough. 2014-11-22T15:08:55Z lritter: i had a look at Extempore and i love what it does; what i do is headed in a similar direction, with some changes more suitable to game writing 2014-11-22T15:09:01Z jcowan: What about call/cc? 2014-11-22T15:09:14Z lritter panics and looks for the exit 2014-11-22T15:10:19Z lritter: to be honest, i have no idea what to do with it. lua has coroutines 2014-11-22T15:10:31Z lritter: so i thought i'd reuse some of that when it comes up 2014-11-22T15:10:50Z jcowan: Yes, which is equivalent to call/cc when you are only allowed to call the escape procedure once (known as `call-ec` in some dialects) 2014-11-22T15:11:02Z lritter: but it would only work in the lua context, GLSL and CL don't support it, for LLVM - no idea 2014-11-22T15:11:25Z jcowan: The key is not to map Scheme calls and returns into the host's calls and returns. 2014-11-22T15:11:43Z jcowan: Or alternatively to use the "Cheney on the MTA" system, like Chicken. 2014-11-22T15:12:05Z jcowan: since in Lua you don't have access to the control stack. 2014-11-22T15:12:09Z lritter: right 2014-11-22T15:12:48Z lritter: atm i'm busy getting to something that works at all, call/cc is somewhat of a luxury 2014-11-22T15:12:53Z jcowan nods. 2014-11-22T15:13:14Z jcowan: Just be aware that to support it in full you may need to throw away some or all of what you've got. 2014-11-22T15:13:42Z lritter: if that's only on the implementation side i can live with it i think 2014-11-22T15:13:59Z lritter: also a reason why i'm currently not optimizing anything 2014-11-22T15:14:13Z jcowan notes that OpenCL doesn't allow recursion 2014-11-22T15:14:21Z lritter: neither does GLSL 2014-11-22T15:14:56Z lritter: also, i'll have to add type inference support and general compiler friendliness 2014-11-22T15:15:51Z lritter: ah well; i'll read that pdf now. thanks for the thoughts 2014-11-22T15:17:47Z hiyosi quit (Ping timeout: 245 seconds) 2014-11-22T15:18:47Z jlongster joined #scheme 2014-11-22T15:20:37Z teleScope quit (Quit: Konversation terminated!) 2014-11-22T15:21:35Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-11-22T15:22:53Z psy joined #scheme 2014-11-22T15:23:04Z jlongster quit (Ping timeout: 255 seconds) 2014-11-22T15:34:37Z marcux quit (Quit: marcux) 2014-11-22T15:36:56Z theseb joined #scheme 2014-11-22T15:37:02Z theseb quit (Client Quit) 2014-11-22T15:37:36Z theseb joined #scheme 2014-11-22T15:37:41Z theseb quit (Read error: Connection reset by peer) 2014-11-22T15:38:01Z theseb joined #scheme 2014-11-22T15:51:59Z daviid joined #scheme 2014-11-22T15:55:07Z rszeno joined #scheme 2014-11-22T15:56:14Z jaaqo quit (Ping timeout: 265 seconds) 2014-11-22T16:03:35Z mdibound_ joined #scheme 2014-11-22T16:07:22Z marcux joined #scheme 2014-11-22T16:07:47Z mdibound_ quit (Ping timeout: 245 seconds) 2014-11-22T16:18:22Z Riastradh joined #scheme 2014-11-22T16:36:08Z xyh joined #scheme 2014-11-22T16:40:15Z Riastradh quit (Ping timeout: 250 seconds) 2014-11-22T16:42:23Z Riastradh joined #scheme 2014-11-22T16:43:56Z vanila joined #scheme 2014-11-22T16:53:03Z tadni joined #scheme 2014-11-22T16:57:34Z hiroakip joined #scheme 2014-11-22T17:00:14Z hiroaki joined #scheme 2014-11-22T17:02:30Z hiyosi joined #scheme 2014-11-22T17:08:07Z kongtomorrow joined #scheme 2014-11-22T17:08:33Z jlongster joined #scheme 2014-11-22T17:08:56Z jaaqo joined #scheme 2014-11-22T17:10:17Z haroldwu quit (Ping timeout: 245 seconds) 2014-11-22T17:11:19Z haroldwu joined #scheme 2014-11-22T17:11:22Z b4283 quit (Quit: Konversation terminated!) 2014-11-22T17:13:48Z githogori joined #scheme 2014-11-22T17:17:22Z daviid quit (Ping timeout: 240 seconds) 2014-11-22T17:18:14Z karswell` quit (Read error: Connection reset by peer) 2014-11-22T17:19:22Z mdibound_ joined #scheme 2014-11-22T17:23:20Z marcux quit (Quit: marcux) 2014-11-22T17:24:01Z mdibound_ quit (Ping timeout: 264 seconds) 2014-11-22T17:26:20Z joast quit (Quit: Leaving.) 2014-11-22T17:27:17Z rszeno quit (Ping timeout: 240 seconds) 2014-11-22T17:30:47Z jumblerg joined #scheme 2014-11-22T17:31:45Z jumblerg quit (Client Quit) 2014-11-22T17:32:50Z githogori quit (Read error: Connection reset by peer) 2014-11-22T17:37:29Z xyh quit (Remote host closed the connection) 2014-11-22T17:43:48Z Ray______ quit (Read error: Connection reset by peer) 2014-11-22T17:45:46Z jcowan quit (Quit: Leaving) 2014-11-22T18:10:37Z davexunit quit (Quit: Later) 2014-11-22T18:11:25Z civodul joined #scheme 2014-11-22T18:15:19Z davexunit joined #scheme 2014-11-22T18:18:58Z joast joined #scheme 2014-11-22T18:19:08Z marcux joined #scheme 2014-11-22T18:20:01Z Adamant joined #scheme 2014-11-22T18:48:36Z mdibound_ joined #scheme 2014-11-22T18:58:10Z jumblerg joined #scheme 2014-11-22T18:58:58Z jlongster quit (Remote host closed the connection) 2014-11-22T19:01:14Z gravicappa joined #scheme 2014-11-22T19:10:21Z karswell` joined #scheme 2014-11-22T19:17:51Z joneshf quit (Ping timeout: 265 seconds) 2014-11-22T19:17:58Z joneshf-laptop quit (Ping timeout: 255 seconds) 2014-11-22T19:23:31Z pnpuff joined #scheme 2014-11-22T19:39:34Z gravicappa quit (Ping timeout: 255 seconds) 2014-11-22T19:48:13Z mdibound_ quit (Quit: Be back later ...) 2014-11-22T19:48:48Z mdibound_ joined #scheme 2014-11-22T19:53:26Z mdibound_ quit (Ping timeout: 264 seconds) 2014-11-22T19:57:21Z Riastradh quit (Remote host closed the connection) 2014-11-22T19:57:36Z Riastradh joined #scheme 2014-11-22T20:00:19Z hypermagic joined #scheme 2014-11-22T20:00:36Z hypermagic quit (Remote host closed the connection) 2014-11-22T20:00:44Z hypermagic joined #scheme 2014-11-22T20:01:25Z pera joined #scheme 2014-11-22T20:03:12Z hypermagic: hello my friends 2014-11-22T20:03:27Z karswell` is now known as karswell 2014-11-22T20:03:53Z vanila: hi 2014-11-22T20:05:37Z MichaelRaskin quit (Ping timeout: 240 seconds) 2014-11-22T20:08:26Z mdibound_ joined #scheme 2014-11-22T20:10:14Z pera quit (Ping timeout: 255 seconds) 2014-11-22T20:19:22Z hiroakip quit (Ping timeout: 244 seconds) 2014-11-22T20:19:53Z hiroaki quit (Ping timeout: 244 seconds) 2014-11-22T20:20:21Z joneshf-laptop joined #scheme 2014-11-22T20:29:36Z tadni quit (Ping timeout: 255 seconds) 2014-11-22T20:30:06Z tadni joined #scheme 2014-11-22T20:35:17Z jaaqo quit (Ping timeout: 245 seconds) 2014-11-22T20:44:12Z ecraven: Riastradh: is there any support for writing to syslog in MIT/GNU Scheme? 2014-11-22T20:47:36Z mdibound_ quit (Quit: Be back later ...) 2014-11-22T20:48:14Z mdibound_ joined #scheme 2014-11-22T20:52:50Z mdibound_ quit (Ping timeout: 264 seconds) 2014-11-22T20:56:38Z pnpuff quit (Quit: leaving) 2014-11-22T21:00:58Z kongtomorrow quit 2014-11-22T21:02:17Z kongtomorrow joined #scheme 2014-11-22T21:03:52Z ijp joined #scheme 2014-11-22T21:04:34Z oleo__ joined #scheme 2014-11-22T21:05:21Z oleo is now known as Guest71756 2014-11-22T21:05:37Z Guest71756 quit (Ping timeout: 240 seconds) 2014-11-22T21:13:29Z hiroaki joined #scheme 2014-11-22T21:13:42Z hiroakip joined #scheme 2014-11-22T21:15:17Z Vutral quit (Ping timeout: 245 seconds) 2014-11-22T21:17:50Z Vutral joined #scheme 2014-11-22T21:25:43Z theseb quit (Quit: Leaving) 2014-11-22T21:26:21Z Riastradh: ecraven: Nope. (run-shell-command "logger -t myprog")... 2014-11-22T21:27:17Z fantazo joined #scheme 2014-11-22T21:29:57Z derek_c joined #scheme 2014-11-22T21:30:43Z oleo__ quit (Quit: Verlassend) 2014-11-22T21:34:01Z oleo__ joined #scheme 2014-11-22T21:34:05Z kongtomorrow quit 2014-11-22T21:35:37Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-22T21:37:11Z jumblerg joined #scheme 2014-11-22T21:37:45Z githogori joined #scheme 2014-11-22T21:38:21Z ijp quit (Read error: Connection reset by peer) 2014-11-22T21:38:37Z ijp joined #scheme 2014-11-22T21:43:29Z githogori quit (Ping timeout: 272 seconds) 2014-11-22T21:45:57Z germ13 joined #scheme 2014-11-22T21:48:15Z oleo__ is now known as oleo 2014-11-22T21:48:40Z mdibound_ joined #scheme 2014-11-22T21:53:10Z mdibound_ quit (Ping timeout: 258 seconds) 2014-11-22T22:01:10Z ecraven: Riastradh: thanks :) I was thinking about the ffi, but that's even simpler 2014-11-22T22:06:01Z alezost quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-22T22:06:21Z pera joined #scheme 2014-11-22T22:13:44Z xyh joined #scheme 2014-11-22T22:18:47Z tr1p quit (Quit: Lost terminal) 2014-11-22T22:37:41Z Vutral quit (Ping timeout: 264 seconds) 2014-11-22T22:42:27Z xyh quit (Remote host closed the connection) 2014-11-22T22:49:29Z mdibound_ joined #scheme 2014-11-22T22:54:29Z mdibound_ quit (Ping timeout: 264 seconds) 2014-11-22T22:55:24Z civodul quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-22T22:55:29Z Vutral joined #scheme 2014-11-22T22:56:11Z mdibound_ joined #scheme 2014-11-22T22:59:26Z altphi quit (Quit: somno opus est.) 2014-11-22T23:00:22Z pera quit (Ping timeout: 240 seconds) 2014-11-22T23:17:53Z germ13 quit (Ping timeout: 258 seconds) 2014-11-22T23:18:23Z lritter quit (Quit: Leaving) 2014-11-22T23:21:00Z enitiz quit (Quit: Leaving) 2014-11-22T23:22:43Z araujo joined #scheme 2014-11-22T23:27:00Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-22T23:32:24Z jeapostrophe joined #scheme 2014-11-22T23:32:24Z jeapostrophe quit (Changing host) 2014-11-22T23:32:24Z jeapostrophe joined #scheme 2014-11-22T23:40:05Z hiroakip quit (Ping timeout: 264 seconds) 2014-11-22T23:40:05Z hiroaki quit (Ping timeout: 264 seconds) 2014-11-22T23:49:22Z sheilong joined #scheme 2014-11-22T23:52:54Z jumblerg joined #scheme 2014-11-22T23:52:57Z fantazo quit (Quit: Verlassend)