⚙️ toml
TOML Parser - Tom's Obvious Minimal Language
~350 satır
~30 fonksiyon
v1.0.0
📖 Genel Bakış
TOML modülü, configuration files için human-friendly TOML v1.0.0 parser sağlar. Strings, integers, floats, booleans, arrays, tables ve inline tables destekler.
🚀 Hızlı Başlangıç
içe_aktar toml
// Parse TOML
değişken config = toml.parse("
[database]
host = \"localhost\"
port = 5432
[server]
bind = \"0.0.0.0:8080\"
workers = 4
")?
değişken host = config.get("database.host")?
değişken port = config.get_int("database.port")?
🔗 İlgili Modüller
yaml- YAML parserjson- JSON parser