Files @ b4a9c41d70da
Branch filter:

Location: CSY/reowolf/src/lib.rs

b4a9c41d70da 422 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
MH
Initial casting implementation

Explicit casts can be performed with the syntax 'cast<type>(input)'
and implicit casts can be performed with the syntax 'cast(input)'
where the output type is determined by inference.

To prevent casting shenanigans we only allow casting of primitive
types and of types to themselves (essentially creating a copy).
#[macro_use]
mod macros;

mod common;
mod protocol;
mod runtime;
mod collections;

pub use common::{ConnectorId, EndpointPolarity, Payload, Polarity, PortId};
pub use protocol::ProtocolDescription;
pub use runtime::{error, Connector, DummyLogger, FileLogger, VecLogger};

// TODO: Remove when not benchmarking
pub use protocol::input_source::InputSource;
pub use protocol::ast::Heap;

#[cfg(feature = "ffi")]
pub mod ffi;