From: Oren Ben-K. <or...@be...> - 2003-01-05 07:30:29
|
Rich Morin [mailto:rd...@cf...] wrote: > So, here's another issue: allowing funny characters in scalars. We allow as much as possible while avoiding ambiguity. > - [ isa, '?FROM', SocialBeing ] > > but this is a bit ugly. A bit. Luckily, the following is legal: > - [ isa, ?FROM, SocialBeing ] Because '?' is a "space indicator". > I strongly suspect that this is not the only situation where > someone will want to expand the character set of scalars, so > some sort of general solution is in order. Is there one? There's no way that, say, '!' would ever be a valid first character in a plain scalar. That would be ambiguous with a transfer method. Likewise for '&', '*' and so on. The only truly 'general solution' is to use quotes :-) Have fun, Oren Ben-Kiki |