Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 872 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 872 Bytes

NOTE: Use fortran-yaml-c instead. I am not longer maintaining this project.

fortran-yaml-cpp

This is YAML parser for Fortran matching the YAML 1.2 spec.

This package uses the C++ package yaml-cpp to parse yaml documents, then stores the data in Fortran derived types created by fortran-yaml. Hence the name fortran-yaml-cpp.

Building

First, clone this repository

git clone --recursive /~https://github.com/Nicholaswogan/fortran-yaml-cpp.git

Next, navigate to the root directory of fortran-yaml-cpp. Finally, run the following commands to build with cmake and run the test and example.

mkdir build
cd build
cmake ..
make
./test_yaml
./example