Expand description
Builtin op handlers (compiler-emitted CallBuiltin ids) plus the JS standard
library (console, Math, JSON, Object, array/string methods) reachable
from the host. Handlers pop their arguments off the VM operand stack and
return the result value, which the VM pushes back.
Functionsยง
- call_
builtin_ function - Call a resolved builtin function (global or
namespace.method). - call_
type_ method - Dispatch
recv.name(args)for the built-in prototype methods. - construct_
builtin - Construct via
newfor the builtin constructors. - install
- Register every node-js builtin id on a VM.
- is_
known_ builtin - numeric_
hook - Host callback for arithmetic fusevm cannot complete natively (a non-
Int/ non-Floatoperand). Supplies JavaScript+concatenation and coercion.