Re: [Readable-discuss] treatment of quote symbol
Am 06.12.2013 07:01, schrieb David A. Wheeler: I'm guessing Joerg Wittenberger wants something else, though :-). So let's talk about that. I just wanted to know whether the current behavior was an accident or intentional. John's reply http://trac.sacrideo.us/wg/wiki/QuoteDelimiter made me aware that I overlooked a compatibility issue within Scheme itself. So I'll eat the food (and insert spaces into my code where they are missing now). /Jörg -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] treatment of quote symbol
David A. Wheeler scripsit: To be honest, I think we should treat x'x as an error in the sample implementation (though guile treats x'x as a single symbol). You can always use |x'x| if you mean that, and if you mean (x 'x), we already have several much clearer ways to express that: +1 -- Henry S. Thompson said, / Syntactic, structural, John Cowan Value constraints we / Express on the fly. co...@ccil.org Simon St. Laurent: Your / Incomprehensible http://www.ccil.org/~cowan Abracadabralike / schemas must die! -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] treatment of quote symbol
I said: To be honest, I think we should treat x'x as an error in the sample implementation (though guile treats x'x as a single symbol). You can always use |x'x| if you mean that, and if you mean (x 'x), we already have several much clearer ways to express that: On Fri, 6 Dec 2013 10:58:25 -0500, John Cowan co...@mercury.ccil.org wrote: +1 Okay, I've pushed that change, and it now reports more specifically what the problem is. That means that x'y is no longer legal... and it will *immediately* identify that as an error (and report the failing character, ' in this case). This was never specified in SRFI-110 (or Scheme), so it's not a spec change... it's just a way to more strict in a standards-compliant way. --- David A. Wheeler -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
[Readable-discuss] treatment of quote symbol
Hi all, it's beginning to annoy me: normal Scheme readers treat quote and quasiquote symbols as terminating charachters when reading symbols. With the readable reader they suddenly become part of a symbol. That's all rather confusing and causes so much incompatibility. Its this really intended or just an oversight? /Jörg -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] treatment of quote symbol
On Thu, 05 Dec 2013 13:14:34 +0100, Jörg F. Wittenberger joerg.wittenber...@softeyes.net wrote: Hi all, it's beginning to annoy me: normal Scheme readers treat quote and quasiquote symbols as terminating charachters when reading symbols. With the readable reader they suddenly become part of a symbol. That's all rather confusing and causes so much incompatibility. Its this really intended or just an oversight? What do you think x'x *should* mean? That's incredibly ugly! --- David A. Wheeler -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] treatment of quote symbol
David A. Wheeler scripsit: What do you think x'x *should* mean? That's incredibly ugly! Its meaning is specifically left up to the implementation. Apostrophe is neither a subsequent (required to be treated as part of the identifier) nor a delimiter (required to be treated as not part of the identifier). Its general category is Po, which means that in R6RS and R7RS implementations are explicitly allowed to treat it as part of the identifier. http://trac.sacrideo.us/wg/wiki/QuoteDelimiter reports what Schemes actually do. Only a few of the major implementations actually allow x'x as an identifier. -- Only do what only you can do. John Cowan co...@ccil.org --Edsger W. Dijkstra's advice to a student in search of a thesis -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss