⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module js_vm

Module js_vm 

Source
Expand description

JavaScript Virtual Machine

A stack-based bytecode interpreter for JavaScript. Uses arena allocation for objects and 32.32 fixed-point arithmetic for numbers (no floating point).

Structs§

CallFrame
A function call frame on the call stack
JsObject
A JavaScript object stored in the arena
JsVm
JavaScript virtual machine

Enums§

JsValue
JavaScript value (no floating point)
JsVmError
Errors produced by the JavaScript virtual machine
ObjectType
Object internal type

Type Aliases§

FunctionId
Arena index for functions
ObjectId
Arena index for objects