[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol |
Date: |
Fri, 20 Aug 2010 02:02:22 -0000 |
#322: SRFI 88 violation of keyword v symbol
-----------------------------+----------------------------------------------
Reporter: kon | Owner: felix
Type: task | Status: assigned
Priority: major | Milestone:
Component: core libraries | Version: 4.5.x
Resolution: | Keywords: read-syntax keyword
-----------------------------+----------------------------------------------
Comment(by kon):
I really expected this to be "back burner". Wow, fun with quoted symbols.
SRFI-88 says |abc:| is a symbol & |abc|: is a keyword. This makes some
sense. The "keyword quote" (':') is much like the quote - '|'foo| has
printname "'foo" & '|abc:| has "foo:".
So, given the examples above, I think:
'|abc|:xyz|def|: is a keyword but '|abc|:xyz|def| is a symbol.
'abc\ def: is a keyword, since only the space is escaped .
'|abc|:|def| is a symbol & '|abc|:|def|: a keyword? This one is tricky
because quoted symbol concatenation is an issue for people who don't like
whitespace. Should '('|foo||bar|) be '('foo bar), as it is in Chicken
4.5.7 or '('foobar), as I guess it would be in [experimental 55ad083]?
Seems the idea is if a "keyword quote" is directly outside of the symbol
quote then a keyword. For Chicken, assuming keyword-style is #:prefix,
':|abc|xyz|def| is a keyword & '|abc|xyz|def|: is two tokens? When
keyword-style is #:suffix, ':|abc|xyz|def| is two tokens?
What about '|abc|:|def| & prefix keywords? A quoted symbol & a keyword?
Just a quoted symbol?
(Still kinda think this is a lower priority.)
--
Ticket URL: <http://bugs.call-cc.org/ticket/322#comment:6>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #322: SRFI 88 violation of keyword v symbol, Chicken Trac, 2010/08/09
- [Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol, Chicken Trac, 2010/08/11
- [Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol, Chicken Trac, 2010/08/14
- [Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol, Chicken Trac, 2010/08/17
- [Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol, Chicken Trac, 2010/08/17
- [Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol, Chicken Trac, 2010/08/18
- [Chicken-janitors] Re: #322: SRFI 88 violation of keyword v symbol,
Chicken Trac <=