Conversation
mcgibbon
left a comment
There was a problem hiding this comment.
You mentioned there's a lot of converting between different representations of "interval", it may be worth formalizing these representations into classes and providing conversion class methods NewClass.from_old_class(old_instance) to make it clear which representation is used (through type hints).
I started by making a class with a few classmethods and converters, but exposing that in the gtscript frontend file causes some circular dependencies, because it's meant to lower representations throughout the compilation process, and the dependencies mirror that. I cleaned up the conversions as best I could using separate methods and a wrapper |
|
Closing for now, but I will open another one soon. |
Description
Implements the GDP-2 region() feature in:
To do: