tame/tamer/src/asg/air
Mike Gerwitz 7857460c1d tamer: Re-use prior AirAggreagteCtx for subsequent parsers
A new AirAggregate parser is utilized for each package import.  This
prevents us from moving the index from `Asg` onto `AirAggregateCtx` because
the index would be dropped between each import.

This allows re-using that context and solves for problems that result from
attempting to do so, as explained in the new
`resume_previous_parsing_context` test case.

But, it's now clear that there's a missing abstraction, and that reasoning
about this problem at the topmost level of the compiler/linker in terms of
internal parsing details like "context" is not appropriate.  What we're
doing is suspending parsing and resuming it later on for another package,
aggregating into the same destination (ASG + index).  An abstraction ought
to be formed in terms of that.

DEV-13162
2023-05-19 13:38:15 -04:00
..
expr tamer: asg::air: Utilize AirAggregateCtx for index lookups 2023-05-18 01:10:23 -04:00
test tamer: asg::air: Include package in opaque identifier scope 2023-05-19 09:46:36 -04:00
tpl tamer: asg::air: Utilize AirAggregateCtx for index lookups 2023-05-18 01:10:23 -04:00
expr.rs Revert "tamer: asg::air::ir::AirBind::RefIdent: New optional canonical name" 2023-05-09 12:35:06 -04:00
ir.rs tamer: asg::air: Include package in opaque identifier scope 2023-05-19 09:46:36 -04:00
opaque.rs tamer: asg::air: Include package in opaque identifier scope 2023-05-19 09:46:36 -04:00
pkg.rs tamer: asg::air: Include package in opaque identifier scope 2023-05-19 09:46:36 -04:00
test.rs tamer: Re-use prior AirAggreagteCtx for subsequent parsers 2023-05-19 13:38:15 -04:00
tpl.rs Revert "tamer: asg::air::ir::AirBind::RefIdent: New optional canonical name" 2023-05-09 12:35:06 -04:00