Fortran-YAML implements a sub-set of the YAML specification in a Fortran library.
The YAML figure is taken from here
This is a lightweight YAML parser written in object-oriented Fortran.
This parser handles a subset of YAML only, currently subject to the following limitations:
Comments (starting with #) are allowed. As per the YAML specification, indentation must consist of spaces only (no tabs!)
instances: P1: model: pml/ersem/vphyt parameters: mu_max: 2.2 K: 1 coupling: R: pom/R6
While this is not an attempt to write a complete YAML parser in Fortran, it is meant to only accept documents that are valid YAML. If you find that this parser permits constructs that the YAML specification disallows (but not vice versa), please contact the author.
This software is copyright 2013-2016 Bolding & Bruggeman ApS.
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of the license is provided in the COPYING file.