Skip to content

Fortran interface cannot be transpiled. #2

Description

@mbdevpl
interface
  real function limiter(a,b)
    real,intent(IN) :: a,b
  end function limiter
end interface

Current Fortran AST generalizer fails for files containing interfaces (e.g. above) with the message like below:

NotImplementedError: no transformer available for node "interface", a subnode of "declaration":
<interface col_begin="4" col_end="18" line_begin="274" line_end="278">
                  <interface-stmt__begin addendum="begin" rule="1203" />
                  <header />
                  <interface-stmt abstract_token="" col_begin="4" col_end="14" eos="&#10;" hasGenericSpec="false" keyword="interface" line_begin="274" line_end="274" rule="1203" />
                  <body col_begin="7" col_end="28" line_begin="275" line_end="277">
                  ...
                  </body>
                  <end-interface-stmt col_begin="4" col_end="18" eos="&#10;" hasGenericSpec="false" keyword1="end" keyword2="interface" line_begin="278" line_end="278" rule="1204" />
                </interface>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions