mon-core 0.0.3

A robust parser and validator for the Mycel Object Notation (MON) language, designed for fast, efficient, and human-friendly configuration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    User: #struct {
        id(Number),
        name(String),
        email(String) = null
    },

    valid_user :: User = {
        id: 1,
        name: "Alice"
    },

    user_with_defaults :: User = {
        id: 2,
        name: "Bob",
        email: "bob@example.com"
    }
}