stanford-ppl / spatial

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
https://spatial.stanford.edu
MIT License
271 stars 33 forks source link

Moves scoping information into an explicit stack #312

Closed pyprogrammer closed 4 years ago

pyprogrammer commented 4 years ago

This should enable metaprogrammed applications to "escape" the inner scope at stage at a higher scope by saving the scope index of the parent and replacing the current scope with the parent scope when necessary.

For non-metaprogrammed applications there should be no functional change.