Tom's Obvious Minimal Language
References:
Status: In Development
- toml-test has about 80% compliance por TOMLv1.0.0
- Missing object notation
{ key1 = value1, key2 = value2 }
- Missing some validations (mainly around keys and strings)
libraryDependencies +=
"dev.librecybernetics.Monorepo" %%% "toml" % "lib-toml-v0.1.0-M1"
Reading a TOML file string:
import dev.librecybernetics.types.TOML
import dev.librecybernetics.parser.readTOML
val toml = readTOML[Either[Parser.Error, *]](string)
- Deserializer Typeclass
- auto-derivation