Skip to main content

Crate tidepool_runtime

Crate tidepool_runtime 

Source
Expand description

High-level runtime for compiling and executing Haskell source via Tidepool.

Provides compile_haskell (source to Core) and compile_and_run (source to evaluated result), with filesystem caching of compiled CBOR artifacts.

Enums§

CompileError
Errors that can occur during Haskell compilation.
JitError
Error type for JIT compilation/execution failures.
RuntimeError
Unified error type for compile + run pipeline.
Value
Runtime value for the tree-walking interpreter.

Traits§

DispatchEffect

Functions§

compile_and_run
Compile Haskell source and run it with the given effect handlers, using the default nursery size (1 MiB).
compile_and_run_with_nursery_size
Compile Haskell source and run it with the given effect handlers, using the specified nursery size.
compile_haskell
Compiles Haskell source code to Tidepool Core at runtime.

Type Aliases§

CompileResult
Result of successful Haskell compilation: a Core expression and its associated DataCon metadata.