Crate sdml_core

Source
Expand description

Provides the core in-memory implementation of the Simple Domain Modeling Language (SDML).

This package also includes the traits used to describe module loading as well as artifact generators.

§Features

§repr-write

Includes a trait [RepresentationWriter] for implementers, and clients, of model representation forms requiring more than simply Serde support.

§serde

Support for serde derived serialization and de-serialization for all the model types.

§stdlib

Includes support for the standard library definitions.

§stdlib-ext-config

Includes support for external configuration of standard library content.

§terms

Includes support for term checking as a part of the standard validation process.

§tree-sitter

Modules§

config
One-line description.
error
Provides the project-wide Error and Result types as well as helper functions.
load
This module provides the traits for loading modules from some source.
model
Provide the Rust types that implement an in-memory representation of the SDML Grammar.
repr
One-line description.
stdlib
This module provides modules corresponding to the SDML standard library.
store
This module provides a trait for module stores, and an implementation for in-memory caches.
syntax
Constants for the syntactic elements of the language.

Macros§

annotation
annotation_body
cardinality
datatype
id
idref
import_statement
lang
member
module
module_function
property
range
rdf
rdf_str
structure
union
unvar
url
v
vs