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
It might make sense to be able to import other files using an import or include statement. These might use a new extension since they won't be complete programs:
Possibilities:
allow import statements only in the model section and allow anything other than the model section in them (*.amodi)
allow them per-section (except 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.
The text was updated successfully, but these errors were encountered:
It might make sense to be able to import other files using an
import
orinclude
statement. These might use a new extension since they won't be complete programs:Possibilities:
model
section and allow anything other than themodel
section 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.
The text was updated successfully, but these errors were encountered: