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

Fortran interface cannot be transpiled. #2

Open
mbdevpl opened this issue Jan 26, 2018 · 0 comments
Open

Fortran interface cannot be transpiled. #2

mbdevpl opened this issue Jan 26, 2018 · 0 comments

Comments

@mbdevpl
Copy link
Owner

mbdevpl commented Jan 26, 2018

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>
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

1 participant