moosetechnology / FAST-Fortran

MIT License
0 stars 1 forks source link

`INTRINSIC` statement functions modelled as variables, shouldn't be just strings? #227

Open lsafina opened 1 month ago

lsafina commented 1 month ago

INTRINSIC statement (https://docs.oracle.com/cd/E19957-01/805-4939/6j4m0vna7/index.html) has a form

INTRINSIC fun [, fun] ...

where fun is a name of a function used in the same program unit. Currently fun is modelled as a variable (as FASTFortranIntrinsicStatement implements FASTFortranTVariableGroup). The question is if it is correct or names of functions should be just plain strings.

NicolasAnquetil commented 1 month ago

it is not a variable for sure.

We could have a FASTFortranIntrinsicStatement or something along these lines And this would have a name which is a plain Pharo String (it would be a named entity).