Crate shared

Source
Expand description

§Shared module

The shared module contains code that is shared between the different parts of the SAP interpreter. This includes the error data structures, the span module, and the output module.

Modules§

error
This module contains the error handling code for the interpreter. It provides the Error struct, which is used to represent errors that occur during execution.
output
span
Contains the Span struct, which represents a span of characters in the source code.

Macros§

err
A macro to create a new error with a kind and a message.
stdout
Identical to the print! macro.
stdoutln
Identical to the println! macro.