tame/tamer/src/asg
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
..
air tamer: Re-use prior AirAggreagteCtx for subsequent parsers 2023-05-19 13:38:15 -04:00
graph tamer: Re-use prior AirAggreagteCtx for subsequent parsers 2023-05-19 13:38:15 -04:00
.gitignore tamer: Embed ASG ontology visualization in rustdoc-generated docs 2023-03-10 14:28:00 -05:00
air.rs tamer: Re-use prior AirAggreagteCtx for subsequent parsers 2023-05-19 13:38:15 -04:00
error.rs tamer: asg::air::ir::AirPkg::PkgStart: Require name 2023-05-10 13:57:45 -04:00
graph.rs tamer: asg::air: Root AirIdent operations using AirAggregateCtx 2023-05-17 12:23:36 -04:00
mod.rs tamer: asg::graph::visit::topo: Cycle detection 2023-04-27 16:28:57 -04:00