MAML
Minimal. Human-readable. Machine-parsable.
Minimal. Human-readable. Machine-parsable.
{
project: "MAML"
tags: [
"minimal"
"readable"
]
# A simple nested object
spec: {
version: 1
author: "Anton Medvedev"
}
# Array of objects
examples: [
{
name: "JSON", born: 2001
}
{
name: "MAML", born: 2025
}
]
notes: """
This is a multiline raw strings.
Keeps formatting as-is.
"""
}JSON is the most popular data-interchange format. But it isn't a very good configuration language.
MAML keeps JSON’s simplicity and adds only the needed bits for a good configuration language:
MAML is human-readable and easy to parse.
MAML is a brand-new language, so feel free to create new implementations following the specification.
JavaScript
maml.js MAML v0.1
Python
maml-py MAML v0.1
C
libmaml MAML v0.1
Java
maml-java MAML v0.1
Rust
maml-rs [work in progress]
PHP
maml-php [work in progress]
Grammar
maml-grammar MAML v0.1 for TextMate, VitePress, Shiki, Linguist