From: T. O. <tra...@ru...> - 2004-09-09 19:19:26
|
On Thursday 09 September 2004 01:00 pm, Clark C. Evans wrote: > So, while I personally think the rule sucks, it sucks less than all of > the other alternatives. =A0And thus, unless someone posts a brilliant > alternative that helps resolve this dissonance, I'd rather keep the > status quo. =A0If it were just me and the wall, I'd always make unquoted > and quoted the same... and alas, with a bit of parser configuration, > aka 'strings are king', I can do just that. Intersting. I'm really trying understand the ins and outs of ?variants in=20 relation to %TAG. The exception to the rule of ! bugs me. %TAG ! tag:yaml.org,2002:str # is this legal? --- - ! "23" # !!str 23 or ?variant 23 If we think of ! as NULL-tag the all maps and seqs would be strs too? Sill= y.=20 Is %TAG ! and %TAG !! limited to just a "domain"? What does this mean? --- - !! "23" On the other hand, is ! just a shorthand for ?variant --that would kind of= =20 second guess the whole "you can't write em in the doc" thing.=20 I know we can't use just '?' b/c of map keys, right? So this would not even= be=20 thinkable: --- - ? "23" Why was '?' chosen for null-value maps anyway? Perhaps, --- - !? "23" now I'm getting excitedly confused ;) Please Help! T. |