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
// Import from the base
import { &level1_config, &level1_list, BaseType } from "./pandemonium_base.mon"

{
    // Level 2 anchors that build on the imported ones
    &level2_config: {
        ...*level1_config, // Spread
        c: 3,
        b: "overridden", // Override
    },

    &level2_list: [ ...*level1_list, 3, 4],

    // A more complex type that uses an imported type
    IntermediateType: #struct {
        base(BaseType),
        is_intermediate(Boolean) = true,
    },
}