Support module semantics
will62794 opened this issue · 7 comments
For the use cases I envision, I was not planning to implement full blown semantics of modules and module imports e.g. EXTENDS
, etc. For example, for now I'm just considering operators from the standard modules to be globally available at all times, even without being explicitly imported. This behavior could be re-considered in the future, though, if necessary.
See module notes: http://lamport.azurewebsites.net/tla/newmodule.html.
Preliminary implementation in 6c12345, starting with limited support of EXTENDS
based imports.
Handling INSTANCE
based imports is a remaining task. Will also need to handle LOCAL INSTANCE
semantics.
Can the CommunityModules be added to the default search path? The root modules of both the CCF Consistency spec and the Azure CosmosDB spec extend them.