The swift-modelling package provides a comprehensive Model-Driven Engineering (MDE) toolkit with CLI tools for working with Ecore, ATL, and MTL.
Add to your Package.swift:
dependencies: [
.package(url: "https://github.com/mipalgu/swift-modelling.git",
branch: "main"),
]
Swift 6.0 or later
macOS 15.0+ or Linux
swift-ecore - EMF/Ecore metamodelling
swift-atl - ATL model transformations
swift-mtl - MTL code generation
swift-aql - AQL model queries
The package provides three CLI tools: swift-ecore for model validation and conversion, swift-atl for model-to-model transformations, and swift-mtl for template-based code generation. For details, see Getting Started and Understanding Swift Modelling.
34 tutorials