On Thursday 14 August 2003 01:35 pm, you wrote:
> You could let the user decide where the anchors should go.
> Some languages have reference counting, so users could
> use those decide on the anchors.
You're right, I should provide means for the user to override the anchori=
> (OK, someone might point into the graph from the outside,
> but you would typically only add a few redundant anchors.)
I wouldn't use reference counting. If I did, then in almost every case t=
top node would have an anchor.
> This is what the use of my C++ wrapper looks like, btw:
> (Alas, C++ doens't have introspection)
> .. definitions ...
> and then, to read a struct2:
> struct2 * pdg =3D yaml::Load<struct2>(fp);
Wow. This is cool!
You have much better ideas than I do for emitting. I wrote the current=20
emitter with very few ideas and I finished it just to finish it. But you=
sparking some very cool ideas.
Keep talking. Let me know where you go with this. (Oh, and post to the=20
yaml-core list as well. All this Syck e-mail we're exchanging is complet=
pertinent there. Plus, it provides some documentation for others who are=
quietly becoming Syckos.)