Skip to main content
Ctrl+K
TOML Fortran - Home TOML Fortran - Home
  • Tutorials
    • Getting started
    • Building a linter
    • Writing a custom lexer
  • How-Tos
    • Installing TOML Fortran
    • Using TOML Fortran
    • Working with tables
    • Working with arrays
    • Reporting errors
    • Date time compatibility
    • Serializable base class
    • Compatibility with JSON
  • References
    • TOML specification
    • API documentation
  • News
  • External resources
    • Modern Fortran by Philipp Engel (English)
    • Fortran in Action by Zuo Zhihua (Chinese)
  • Repository
  • Suggest edit

How-to guides

How-to guides#

This section contains practical guides for working with TOML Fortran. Each recipe is tailored for a specific problem and use case it is trying to solve.

Contributions are welcome!

If you have written on TOML Fortran and want to contribute to the documentation, feel free to fork the repository and submit a pull request.

  • Installing TOML Fortran
    • Installing from conda-forge
    • Debian
    • FreeBSD ports
    • Arch Linux User Repository
    • Building with spack
    • Using EasyBuild
    • Using Homebrew
    • Building from source
      • Using Meson
      • Using CMake
    • Supported compilers
  • Using TOML Fortran
    • Using the Fortran package manager
    • Integrate with meson
    • Integrate with CMake
      • Imported Targets
      • Result Variables
      • Cache variables
    • Other build systems
  • Working with tables
    • Accessing tables
    • Accessing nested tables
    • Direct access via key paths
    • Iterating over keys
    • Array of tables
  • Working with arrays
    • Accessing whole arrays
    • Accessing nested arrays
  • Reporting errors
    • Loading with rich context
    • Multiline reports
    • Color support
  • Date time compatibility
    • datetime-fortran
    • M_time
  • Serializable base class
  • Compatibility with JSON
    • Using Jonquil

previous

Writing a custom lexer

next

Installing TOML Fortran

By Sebastian Ehlert

© Copyright 2019-2026, Sebastian Ehlert.