tame/tamer/benches
Mike Gerwitz c671bf6a9c tamer: xir: Introduce {Ele,Open,Close}Span
This isn't conceptally all that significant of a change, but there was a lot
of modify to get it working.  I would generally separate this into a commit
for the implementation and another commit for the integration, but I decided
to keep things together.

This serves a role similar to AttrSpan---this allows deriving a span
representing the element name from a span representing the entire XIR
token.  This will provide more useful context for errors---including the tag
delimiter(s) means that we care about the fact that an element is in that
position (as opposed to some other type of node) within the context of an
error.  However, if we are expecting an element but take issue with the
element name itself, we want to place emphasis on that instead.

This also starts to consider the issue of span contexts---a blob of detached
data that is `Span` is useful for error context, but it's not useful for
manipulation or deriving additional information.  For that, we need to
encode additional context, and this is an attempt at that.

I am interested in the concept of providing Spans that are guaranteed to
actually make sense---that are instantiated and manipulated with APIs that
ensure consistency.  But such a thing buys us very little, practically
speaking, over what I have now for TAMER, and so I don't expect to actually
implement that for this project; I'll leave that for a personal
project.  TAMER's already take a lot of my personal interests and it can
cause me a lot of grief sometimes (with regards to letting my aspirations
cause me more work).

DEV-7145
2022-06-24 14:16:29 -04:00
..
asg.rs tamer: asg::Ident{Object=>}: Rename 2022-05-19 11:17:04 -04:00
asg_lower_xmle.rs tamer: Move Dim and {Sym=>}Dtype into num module 2022-05-19 10:39:21 -04:00
iter.rs tamer: iter::trip: Flatten Result 2022-05-20 16:08:16 -04:00
memchr.rs Copyright year update 2022 2022-05-03 14:14:29 -04:00
sym.rs Copyright year update 2022 2022-05-03 14:14:29 -04:00
xir.rs tamer: xir: Introduce {Ele,Open,Close}Span 2022-06-24 14:16:29 -04:00