Module ffi

Module ffi 

Source
Expand description

C-FFI interface for Aether language bindings

This module provides C-compatible functions for use with other languages through Foreign Function Interface (FFI).

Structs§

AetherCacheStats
Cache statistics
AetherHandle
Opaque handle for Aether engine
AetherLimits
Execution limits configuration

Enums§

AetherErrorCode
Error codes returned by C-FFI functions

Functions§

aether_cache_stats
Get cache statistics
aether_clear_cache
Clear the AST cache
aether_clear_trace
Clear the trace buffer
aether_eval
Evaluate Aether code
aether_free
Free an Aether engine handle
aether_free_string
Free a string allocated by Aether
aether_get_global
Get a variable’s value as JSON
aether_get_limits
Get current execution limits
aether_new
Create a new Aether engine instance
aether_new_with_permissions
Create a new Aether engine with all IO permissions enabled
aether_reset_env
Reset the runtime environment (clears all variables)
aether_set_global
Set a global variable from host application
aether_set_limits
Set execution limits
aether_set_optimization
Set optimization options
aether_take_trace
Get all trace entries as JSON array
aether_trace_records
Get structured trace entries as JSON
aether_trace_stats
Get trace statistics as JSON
aether_version
Get the version string of Aether