Overview
simple_toml provides TOML parsing and writing for Eiffel. Used as the format for UCF (Universe Configuration Files) in simple_lsp.
Part of the Simple Eiffel ecosystem. Backend for simple_codec.
API Preview
-- Parse TOML file
toml: SIMPLE_TOML
data: TOML_TABLE
create toml
data := toml.parse_file ("config.toml")
-- Access values
name := data.string_item ("name")
version := data.string_item ("version")