On Wed, Jun 06, 2001 at 12:09:26PM -0700, Brian Ingerson wrote:
| "Clark C . Evans" wrote:
| > When we have a reference node,
| > I'd like the remaining of the
| > content to be a comment...
| > node: % &01
| > name: aNode
| > data: Some data
| > ref: *01 aNode
| The comments won't round trip. I guess you're saying that these comments
| are always generated by the emitter, so roundtripping isn't an issue,
| unless some handcoded the comments.
Right. They are not in the information model. The
comment reflects the "default" value of the node...
so "name" should be "=" in the above example. I'm
generating some seriously long YAML documents with
Jumps... and having to hunt down the references
without a human readable handle is a pain.
| BTW, Did we drop substituability on non-classed nodes. I hope so. That
| was my only remaining issue, and I don't recall if it was resolved.
(a) Substitutability will be mandatory
at the parser level.
(b) It is recommended that each Binding
have an "asSclar()" stand-alone function
which takes any form of internal
represenation (as it may) and return
a scalar value, if possible.
(c) Bindings may have other mechanisms
for accomplishing this.