@oml/language
v0.10.0
Published
The language specific package
Readme
OML Language
@oml/language contains the core language layer for OML.
It is responsible for:
- the Langium grammar and generated AST
- language service composition through
createOmlServices(...) - validation, scope, completion, hover, rename, edit, formatting, and serialization
- OML workspace and document mechanics
It does not contain the semantic web layer anymore. OWL/RDF mapping, reasoning, SPARQL, and SHACL now live in @oml/owl.
Package Boundary
@oml/languageis the base language package@oml/owldepends on@oml/language@oml/markdowndepends on@oml/owl
Main Exports
createOmlServicesOmlModuleOmlSharedModule- generated AST and grammar exports
- language service implementations and request registrations
Instructions
Use this package when you need language tooling without the semantic layer.
Typical usage:
import { createOmlServices } from '@oml/language';
const { shared, Oml } = createOmlServices(context);Run the language package tests with:
npm run --workspace packages/language test