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
{
    Config: #struct {
        host(String),
        port(Number),
    },

    my_config :: Config = {
        host: "localhost",
        port: 8080,
        debug_mode: true, // Invalid: extra field not in struct definition
    },
}