Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • lfortran lfortran
  • lfortran lfortran
  • Issues
  • #72

Rewrite code to an older Fortran standard

Once code is parsed into an ASR, be able to rewrite this ASR into a form that can be understood by other Fortran compilers, and then generate Fortran source code. That will allow to use the latest Fortran features (and even LFortran specific extensions such as the custom use extension #44) with any other Fortran compiler.

This is a similar approach that TypeScript uses, it is able to generate JavaScript that works in all browsers.

Edited Mar 25, 2019 by Ondřej Čertík
Assignee
Assign to
Time tracking