Files @ 031c9d14adaa
Branch filter:

Location: CSY/reowolf/src/lib.rs

031c9d14adaa 422 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
MH
Merge branch 'feat-bytecode'

Adds size/alignment/offset computations to the type system and detects
potentially infinite types. If the type is potentially infinite but
contains a union that can break that type loop, then all other variants
of that union are supposed to be allocated on the heap. If the type
is potentially infinite but cannot be broken up, then we throw the
appropriate error.

The size/alignment/offset computations are not yet employed in the
runtime. But prepares Reowolf for a proper bytecode/IR implementation.
#[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;