fgof-toml Public
Go to file
T
Code
Use Git or checkout with SVN using the web URL.
No matching headings.
fgof-toml
TOML parsing helpers for modern Fortran.
fgof-toml is a small standalone library for reading configuration and theme
files in tools that are part of the FortranGoingOnForty ecosystem.
Status
Sprint 05 has started.
Current slice:
toml_document,toml_value,toml_table,toml_array, andtoml_errorparse_stringandparse_file- dotted-path document queries for strings, integers, floats, booleans, tables, and arrays
- common TOML values: strings, integers, floats, booleans, arrays, inline tables, key/value pairs, dotted keys, and standard table headers
- strict lowercase TOML keywords for booleans and special floats (
inf,nan) - multiline arrays with comments and trailing commas
- array-of-tables, including nested array-of-tables under the latest parent entry
- basic and literal multiline strings, including unicode escape handling for basic strings
- local dates, local times, local datetimes, and offset datetimes stored as datetime values
- duplicate key, table redefinition, inline table mutation, and scalar collision errors with source line and column
- curated valid/invalid TOML corpus coverage for common config and theme shapes
- external
toml-testTOML v1.0 valid/invalid parser subset coverage
Still pending for full TOML v1.0 coverage:
- full upstream
toml-testdecoder harness with tagged JSON semantic comparison
Build And Test
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
ctest --test-dir build
With fpm:
fpm test
License
MIT