You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the interpreter uses the Type of a variable to determine how to initialize it, types having an InitializationMethod enum value.
It'd be more flexible, and better for the separation of concerns, if the Grammar could define a SpecialName.TYPE_CONSTRUCTOR nullary function for types, and the Interpreter would call that on initialization. These would be implemented as instructions, at least initially.
The text was updated successfully, but these errors were encountered:
Currently the interpreter uses the Type of a variable to determine how to initialize it, types having an InitializationMethod enum value.
It'd be more flexible, and better for the separation of concerns, if the Grammar could define a SpecialName.TYPE_CONSTRUCTOR nullary function for types, and the Interpreter would call that on initialization. These would be implemented as instructions, at least initially.
The text was updated successfully, but these errors were encountered: