dol 0.8.1

DOL (Design Ontology Language) - A declarative specification language for ontology-first development
// Test: Inline submodule declaration
// Expected: Should parse gene with inline mod block

pub gene Container {
    has id: UInt64
    has state: state.ContainerState
}

// Inline submodule
mod state {
    pub gene ContainerState {
        has value: String
    }
}

exegesis {
    Test case for inline submodule declaration.
    Submodules allow organizing tightly-coupled code within a single file.
}