Measures Concepts
GitHub icon

TOML

TOML - Data notation

< >

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

Source code:
git clone https://github.com/toml-lang/toml
#186on PLDB 11Years Old 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

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout