Skip to content

About FoXy

FoXy is a KISS (Keep It Simple and Stupid) pure Fortran library for parsing and emitting XML files and tags.

What is FoXy?

Modern Fortran standards (2003+) introduced better support for string manipulation. Exploiting these capabilities, FoXy provides an easy-to-use module library to parse and emit XML, suitable for use in scientific and engineering codes written in modern Fortran.

  • Pure Fortran — no C bindings, no ISO_C_BINDING, no wrappers
  • Fortran 2008+ standard compliant
  • OOP designed — two clean classes: xml_tag and xml_file
  • FOSS — multi-licensed (GPL v3 for open-source, BSD 2/3-Clause and MIT for commercial use)

Why FoXy?

Other Fortran XML libraries exist — xml-fortran, xmlf90, fox, tixi — but FoXy was created to fill gaps in:

  • Active maintenance
  • Modern Fortran design (OOP, deferred-length allocatable characters)
  • Pure Fortran implementation (no C binding layer)
  • Parallel architecture safety (thread/process safe)
  • Comprehensive testing

Compiler Support

CompilerStatus
GNU gfortran ≥ 14.2.0Supported
Intel ifort ≥ 16.xSupported
IBM XL FortranNot tested
g95Not tested
NAG FortranNot tested
PGI / NVIDIANot tested

Authors

Contributions are welcome — see the Contributing page.

Copyrights

FoXy is distributed under a multi-licensing system: