Skip to content
Snippets Groups Projects
Verified Commit f0005fcf authored by Giannis Nikiteas's avatar Giannis Nikiteas
Browse files

Rewrote the Fortran API implementation

Use lists instead of strs to store the argument names and types
This is necesseary because a Fortran procedure/interface needs both
a dummy argument list and a variable declaration following the arg list.

This also make it easier to add argument `intent` and also provide an
interface for optional arguments.

Optional arguments could either be defined on the `interface` block
or create a module implementation which calls `present`.
I think in the former case the optional arguments would be handed to
the C backend so e.g. stderr will be reported through C not Fortran
parent 3e5ca059
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment