Skip to main content

Crate rexlang

Crate rexlang 

Source

Modules§

json

Macros§

assert_pointer_eq

Structs§

AdtConflict
AdtDecl
A type declaration for an algebraic data type.
ClassMethodCapability
ClassMethodRequirement
CollectAdtsError
CompileError
CompiledExterns
CompiledProgram
CompiledProgramBoundary
Compiler
Engine
EngineOptions
EnumPatch
EvalError
Evaluator
EvaluatorRef
Export
GasCosts
GasMeter
Heap
Instance
JsonOptions
Options for handling enum JSON encodings.
Library
A staged host library that you build up in Rust and later inject into an Engine.
NativeCapability
NativeRequirement
Parser
ParserErr
ParserLimits
Pointer
Predicate
Program
ReplState
RuntimeCapabilities
RuntimeCompatibility
RuntimeEnv
RuntimeEnvBoundary
RuntimeLinkContract
Scheme
Symbol
Type
TypeSystem
TypeVarSupply
ValueDisplayOptions

Enums§

BuiltinTypeId
Decl
EngineError
ExecutionError
Expr
PreludeMode
Token
A Token represents a lexical token in the Rex programming language. It includes the values of literals, identifiers, and comments.
TypeError
TypeKind
Value

Constants§

PRELUDE_LIBRARY_NAME
ROOT_LIBRARY_NAME

Traits§

AsyncHandler
FromPointer
Handler
IntoPointer
RexAdt
Shared ADT registration surface for derived and manually implemented Rust types.
RexDefault
RexType

Functions§

closure_debug
closure_eq
collect_adts_error_to_engine
Convert ADT collection conflicts into an embedder-facing EngineError.
collect_adts_in_types
Collect all user-defined ADT constructors referenced by the provided types.
eval
intern
json_to_rex
Convert a JSON Value into a typed Rex runtime value (Pointer) allocated on heap.
pointer_display
pointer_display_with
prelude_typeclasses_program
rex_to_json
Convert a typed Rex runtime value (Pointer) to a JSON Value.
sym
value_debug
value_eq
virtual_export_name

Type Aliases§

AsyncNativeCallable
AsyncNativeCallableCancellable
NativeFuture
SyncNativeCallable

Derive Macros§

Rex