PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

TOML

TOML

TOML, aka Tom's Obvious, Minimal Language, is a data notation created in 2013 by Tom Preston-Werner.

#192on PLDB 9Years Old 19.9kUsers
0Books 0Papers 8Repos

Try now: Riju

Tom's Obvious, Minimal Language


Example from Riju:
output = "Hello, world!"
Example from hello-world:
Hello = "World"
Example from Linguist:
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. [[projects]] branch = "master" name = "golang.org/x/net" packages = ["context"] revision = "2491c5de3490fced2f6cff376127c667efeed857" [[projects]] branch = "v2" name = "gopkg.in/tomb.v2" packages = ["."] revision = "d5d1b5820637886def9eef33e03a27a9f166942c" [solve-meta] analyzer-name = "dep" analyzer-version = 1 inputs-digest = "841a246fc6ac2a2ccb2ae3907a0ff3432f13e3fc44bb3c09388b0c931ef7d641" solver-name = "gps-cdcl" solver-version = 1

Language features

Feature Supported Example Token
Integers
# \d{4}-\d{2}-\d{2}(?:T| )\d{2}:\d{2}:\d{2}(?:Z|[-+]\d{2}:\d{2})
Floats
# (\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?j?
Comments
# A comment
Line Comments
# A comment
#
Semantic Indentation ϴ
hy.html · toml.html · xaml.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com