On Mar 26, Robin Berjon wrote:
> Dan Sugalski wrote:
> >I think that the issue here isn't so much good perl support for XML as
> >it is good support for attributed DAGs, something which would be of
> >general good use for perl, since the ASTs the parser feeds to the
> >compiler will ultimately be DAGs of a sort.
++good
> >So, rather than jumping on the "XML [insert verb here]!" bandwagon,
> >perhaps we'd be better served figuring out what would be useful
> >operations and support for/on DAGs and suchlike things?
>
> Fast and efficient graphs of all sorts would be very useful. A way to
> define a complex graph of interlinked arbitrary objects while being
> reasonable on memory and good with GC would be a definitive big win,
> especially if it can be lazy. Especially with nice ways to write visitors
> and easy searches in the graph based on object properties (but I could be
> asking for too much ;).
>
> DAGs wouldn't enough though, most XML tree representations aren't really
> trees, they're very cyclic.
Pardon me? Could you please provide an example?
- Kurt