Guile now uses #:ident as the normal syntax for keywords, and has a
reader option (off by default) to recognize the :ident syntax as
well. According to R4RS, both :ident and ident: should be treated as a
symbol, There is Scheme code out there that depends on identifiers of
both forms being symbols.
> What does this DSSSL document specify? (BTW, where can I find it
> on-line?)
>
A lot of info on DSSSL can be found off of http://www.jclark.com/dsssl/
> What's the right syntax for keywords? Is it possible for Guile to
> recognize <ident>: keywords as well?
It depends on what you mean by "right". Common Lisp and most
traditional Lisp systems use :ident for keywords, DSSSL (and
apparently some Scheme implementations) use ident:, and R4RS says
neither of these may be a non-symbol. Since keywords are a
non-standard extension to Scheme, there's no absolute agreement on
what the correct syntax is.
- Maciej Stachowiak