app.d 221 B

123456789101112131415
  1. import toml;
  2. import std.stdio : writeln;
  3. import std.file : read;
  4. TOMLDocument toml_s;
  5. void main(){
  6. toml_s = parseTOML(cast(string)read("dopp.toml"));
  7. writeln("indent_matter: ", toml_s["indent_matter"]); // 4
  8. }