hash-org / hashc

The Hash programming language compiler :zap:
https://hash-org.github.io/hashc/
MIT License
25 stars 2 forks source link

Introduce an eviction mechansim to all of the static stores that are used in the compiler #1035

Open kontheocharis opened 9 months ago

kontheocharis commented 9 months ago

Currently, there is no mechanism to clear all of the static stores that are being used in the compiler. This task involves changing the static stores interface to have a function to evict() the contents of the static stores.

All of the evictions should then happen when a new CompilerState is created.