shingarov / MachineArithmetic

A mathematical foundation for Smalltalk-25
MIT License
17 stars 6 forks source link

Thread-safe CGState #203

Open shingarov opened 8 months ago

shingarov commented 8 months ago

In the current codebase, there is a "global CGState" which gets reset at the beginning of vcgen and there can be only one vcgen running in an image. This Issue calls to fix this situation (perhaps by using the existing Reader monad).