Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rust integration

Programmatic integration uses the public API of the FormaSL version chosen by the project. It offers access to program formation, application invocation, and the realization and lifecycle surfaces published by the components.

Use the public interface

Locate the needed operation in the API reference generated from the version’s code. Use exported types and functions, preserving the typed identities of applications, bases and results. A mechanism’s internal modules do not replace the consuming API’s contracts.

Programmatic input must identify the same program and the same bases used by the command-line interface. An application invoked from code keeps its input and result contract.

Treat results by category

Examine the results of the application families and their outcomes. A query answer, a judgment, an admitted observation and a publication conclusion have their own structures and conditions. Preserve these categories when integrating FormaSL into another system.

When serializing a result, keep the coordinates the consumer needs to reconstruct the application, basis, provenance and completeness. The presentation representation must be derived from that result, rather than serving as a semantic identifier.

Integrate external capabilities

An external capability must go through the realization binding and interpretation boundary foreseen for its family. The adapter provides evidence and results within its guarantee. The semantic application determines how that information is admitted and used.

The execution, acquisition and incorporation surfaces use their own authorities and correlations. Keep typed records of each path, even when a single service hosts more than one of these functions.

Versions and verifications

Fix the Rust dependency revision and verify its consumers after updates. Generate the API documentation from the same code tree used in the build. The signatures extracted in this package’s catalog work as an index; the compiler-generated documentation provides the details of the actually compiled API.

Consult Workspace API to navigate the components found in the available implementation tree.