Changes between Initial Version and Version 1 of Ticket #956


Ignore:
Timestamp:
08/31/23 04:35:23 (11 months ago)
Author:
arango
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #956

    • Property ResolutionDone
    • Property Status newclosed
  • Ticket #956 – Description

    initial v1  
    1 The YAML Parser (**ROMS/Utility/yaml_parser.F**) requires features of the **Fortran 2003** standard and a couple of elements of the **Fortran 2008** standard, available in modern compilers. In the past, we have reports of Users having issues compiling with older versions of **gfortran** or incomplete implementation of the Object-Oriented Programming (**OOP**) principles from the 2003 standard. Therefore, a standalone program is added (**ROMS/Programs/yaml_parser_test.F**) to test the compilers.
     1The **YAML** Parser (**ROMS/Utility/yaml_parser.F**) requires features of the **Fortran 2003** standard and some elements of the **Fortran 2008** standard, available in modern compilers. In the past, we have reports of Users having issues compiling with older versions of **gfortran** or incomplete implementation of the Object-Oriented Programming (**OOP**) principles from the 2003 standard. Therefore, a standalone program is added (**ROMS/Programs/yaml_parser_test.F**) to test the compilers.
    22
    33To compile and link, use the following:
     
    1818  Enter YAML filename:
    1919}}}
    20  The YAML tree dictionary and extraction are written to standard output.
     20The YAML tree dictionary and extraction are written to standard output.
    2121
    2222Examine that program if you are interested in modern **OOP Fortran** code that uses **CLASS** objects, inheritance, and other advanced capabilities. Unfortunately, modern Fortran does not use templates like C++. Maybe they will considered in the future.
    2323
    24 For example, for roms_cmesp.yaml. I get:
     24For example, for **roms_cmeps.yaml**, I get:
    2525
    2626{{{