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
{
    // A base template for credentials, to be reused and overridden
    &base_credentials: {
        user: "guest",
        pass: "password",
        method: "scram-sha-256",
    },

    // A base set of permissions
    &base_permissions: ["READ_ONLY"],

    // A base struct for all addressable components
    Component: #struct {
        id(String),
        name(String),
        tags([String...]) = [],
    },
}