in reply to Re: Parsing and converting Fortran expression
in thread Parsing and converting Fortran expression [solved]

Heh, that's thinking outside the particular box I happened to be in.

However, it's not really suitable after all, because it wants to translate complete programs, not just expressions.

  • Comment on Re^2: Parsing and converting Fortran expression

Replies are listed 'Best First'.
Re^3: Parsing and converting Fortran expression
by Laurent_R (Canon) on Aug 25, 2015 at 21:07 UTC
    Then wrap your Fortran expressions into a dummy Fortran program and you should be able to find your ways. It might even be possible to make the process more or less automatic (using Perl, perhaps). But it has been quite a long time since I last used Fortran and f2c, I think it was back in 1996, so I don't really remember the details.

    Update: afoken was faster with that idea.