From: Brian I. <in...@tt...> - 2001-11-30 18:20:29
|
On 30/11/01 11:28 +0200, Oren Ben-Kiki wrote: > Oren Ben-Kiki [mailto:or...@ri...] wrote: > > So instead of having a prefix indicator, here we have an > > infix one (contains '=' -> keyed; contains ',' -> series). > > A problem with that. Using @ and %, we allow quoted values in in-line > collections: > > in-line: % "," = separator, "%" = keyed, "@" = series I don't see the problem. I could definitely parse that without conflict. > A similar problem: how does one give properties to the first key or entry: > > dates: !deadlines @ ! 2001-11-31 12:50:00, ! 2001-12-01 08:30:00 The first property goes to the first element. One simply cannot give properties to the inline collection as a whole. They need to use the normal structure in this case. This is perfectly reasonable since this mechanism is supposed to be for simple things. > So: we must > - keep the indicators, or > - require that all keys/values must be unquoted (always implicitly > transfered) scalars without any property annotation. > > I say we keep the indicators. And I still don't like [] and {} :-) Or not. :) Cheers, Brian |