toml 创建的时间并不长,它是在 2013年被 [Tom Preston-Werner](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=Tom+Preston-Werner&zhida_source=entity) 创建出来的。理由也很简单,就是他在折腾 [Jekyll](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=Jekyll&zhida_source=entity) 配置时被各种格式([YAML](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=YAML&zhida_source=entity)、[JSON](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=JSON&zhida_source=entity)、[INI](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=INI&zhida_source=entity))折磨得够呛。
最后发现,
- • [[JSON]] 格式,对机器友好,但对人类来说,可读性较差。
- • **YAML** 格式,十分强大,但很容易出错。
- • **ini** 格式,简单,但不支持嵌套,也没有一个统一标准。
- • **[XML](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=XML&zhida_source=entity)** 格式,... 已经没人再用了。
于是他干脆创造了一种新的格式:[TOML](https://zhida.zhihu.com/search?content_id=264533513&content_type=Article&match_order=1&q=TOML&zhida_source=entity)
> _TOML:Tom‘s obvious, Minimal Language._
> _(Tom 自己的显而易见的、最小化的语言)_
从名字就能感受到一种非常工程师式的自嘲。