Skip to main content

Module native_runtime

Module native_runtime 

Source
Expand description

Runtime value support used by native value-lane code.

This module is the API boundary native code calls through helper symbols. The initial implementation deliberately stores VmValue internally so the native prototype shares VM semantics. The public helper surface is small enough that the storage can later move to a compact native value layout.

Structs§

NativeRuntimeClosure
NativeRuntimeContext

Constants§

NATIVE_PRIMITIVE_BOOL_EQ
NATIVE_PRIMITIVE_BOOL_NOT
NATIVE_PRIMITIVE_BOOL_TO_STRING
NATIVE_PRIMITIVE_FLOAT_ADD
NATIVE_PRIMITIVE_FLOAT_DIV
NATIVE_PRIMITIVE_FLOAT_EQ
NATIVE_PRIMITIVE_FLOAT_GE
NATIVE_PRIMITIVE_FLOAT_GT
NATIVE_PRIMITIVE_FLOAT_LE
NATIVE_PRIMITIVE_FLOAT_LT
NATIVE_PRIMITIVE_FLOAT_MUL
NATIVE_PRIMITIVE_FLOAT_SUB
NATIVE_PRIMITIVE_FLOAT_TO_STRING
NATIVE_PRIMITIVE_INT_ADD
NATIVE_PRIMITIVE_INT_DIV
NATIVE_PRIMITIVE_INT_EQ
NATIVE_PRIMITIVE_INT_GE
NATIVE_PRIMITIVE_INT_GT
NATIVE_PRIMITIVE_INT_LE
NATIVE_PRIMITIVE_INT_LT
NATIVE_PRIMITIVE_INT_MUL
NATIVE_PRIMITIVE_INT_SUB
NATIVE_PRIMITIVE_INT_TO_HEX
NATIVE_PRIMITIVE_INT_TO_STRING
NATIVE_PRIMITIVE_INT_TO_UPPER_HEX
NATIVE_PRIMITIVE_STRING_EQ
NATIVE_PRIMITIVE_STRING_INDEX
NATIVE_PRIMITIVE_STRING_LEN

Functions§

bool_and
bool_is_true
closure_env_get
closure_new
closure_push_env
closure_target_id
concat_string
list_empty
list_index
list_index_range
list_index_range_raw
list_len
list_merge
list_singleton
list_splice
list_splice_raw
list_view_raw
make_bool
make_float
make_int
make_string
make_unit
primitive_binary
primitive_unary
record_empty
record_insert
record_select
record_without_field
string_index_range
string_index_range_raw
string_splice
string_splice_raw
tuple_empty
tuple_get
tuple_push
value_eq
variant
variant_payload
variant_tag_eq
yulang_native_bool_and
yulang_native_bool_is_true
yulang_native_closure_env_get
yulang_native_closure_new
yulang_native_closure_push_env
yulang_native_closure_target_id
yulang_native_concat_string
yulang_native_context_free
yulang_native_context_new
yulang_native_list_empty
yulang_native_list_index
yulang_native_list_index_range
yulang_native_list_index_range_raw
yulang_native_list_len
yulang_native_list_merge
yulang_native_list_singleton
yulang_native_list_splice
yulang_native_list_splice_raw
yulang_native_list_view_raw
yulang_native_make_bool
yulang_native_make_float
yulang_native_make_int
yulang_native_make_string
yulang_native_make_unit
yulang_native_primitive_binary
yulang_native_primitive_unary
yulang_native_print_value
yulang_native_record_empty
yulang_native_record_insert
yulang_native_record_select
yulang_native_record_without_field
yulang_native_string_index_range
yulang_native_string_index_range_raw
yulang_native_string_splice
yulang_native_string_splice_raw
yulang_native_tuple_empty
yulang_native_tuple_get
yulang_native_tuple_push
yulang_native_value_eq
yulang_native_variant
yulang_native_variant_payload
yulang_native_variant_tag_eq