Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External statement can have more than one name #217

Open
lsafina opened this issue Mar 13, 2024 · 3 comments
Open

External statement can have more than one name #217

lsafina opened this issue Mar 13, 2024 · 3 comments

Comments

@lsafina
Copy link
Contributor

lsafina commented Mar 13, 2024

Currently an External statement has property name -> String.

However, an External statement can specify several procedures or dummy procedures as external, and allows their symbolic names to be used as actual arguments.

Thus we should rather have a container of names.

To discuss: should these names be of String or of FASTFortranScalarVariable?

doc https://docs.oracle.com/cd/E19957-01/805-4939/6j4m0vn9d/index.html

@NicolasAnquetil
Copy link
Contributor

Yes for the collection of names
I would tend to make it a collection of String rather than FASTFortranScalarVariable but I am not completely sure about it.

Having an object (rather than a string) would allow to have a source anchor on it (but do we need it ?)
Using FASTFortranScalarVariable is misleading as it is not a variable ...

I propose to try with a collection of strings for now and we re-consider if some new need appears

@NicolasAnquetil
Copy link
Contributor

inviting @uNouss to the discussion

@lsafina
Copy link
Contributor Author

lsafina commented Mar 25, 2024

due to FAMIX restrictions need to be modelled as a list of scalar variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants