-
-
Notifications
You must be signed in to change notification settings - Fork 5
{amod} Importing #114
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestlanguageamod language changesamod language changes
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlanguageamod language changesamod language changes
It might make sense to be able to import other files using an
importorincludestatement. These might use a new extension since they won't be complete programs:Possibilities:
modelsection and allow anything other than themodelsection in them (*.amodi)model) to import just initializers or productions for example (so files don't contain sections) ( *.amodi for initializers, *.amodp for productions?)Need to consider how it affects readability vs. understanding of the model vs. maintainability.
Related to #5 since that might change the use-case for including initializers separately.