Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

TOML

TOML - Data notation

< >

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

#194on PLDB 10Years 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 Token Example
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 X
makefile.html · toml.html · lean.html

View source

- Build the next great programming language · Search · Day 214 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com