A pure Swift implementation of the Acceleo Query Language (AQL).
- Pure Swift: No Java/EMF dependencies, Swift 6.0+ with strict concurrency
- Cross-Platform: Full support for macOS 15.0+ and Linux
- AQL Compatibility: Implements core AQL concepts and syntax
- EMF Integration: Built on top of
swift-ecorefor seamless model querying - Performance: Optimized for fast model navigation and querying
- Swift 6.0 or later
- macOS 15.0+ or Linux
Add the following to your Package.swift:
dependencies: [
.package(url: "https://github.com/mipalgu/swift-aql.git", branch: "main")
]And add "AQL" to your target's dependencies.
# Build the library
swift build
# Run tests
swift testSee the details in the LICENCE file.
This implementation is based on the following standards and technologies:
- Eclipse Acceleo - The reference AQL implementation
- OMG OCL (Object Constraint Language) - The query language foundation
- Eclipse Modeling Framework (EMF) - The metamodelling foundation