Skip to main content

Crate shape_ext_typescript

Crate shape_ext_typescript 

Source
Expand description

Shape TypeScript language runtime extension.

Provides a shape.language_runtime capability that embeds V8 via deno_core for executing foreign "typescript" { ... } blocks in Shape programs.

§ABI Exports

  • shape_plugin_info() – plugin metadata
  • shape_abi_version() – ABI version tag
  • shape_capability_manifest() – declares LanguageRuntime capability
  • shape_capability_vtable(contract, len) – generic vtable dispatch
  • shape_language_runtime_vtable() – direct vtable accessor

Modules§

error_mapping
V8 exception -> Shape error string conversion.
marshaling
Shape <-> V8 type conversion via MessagePack.
runtime
V8/TypeScript runtime management via deno_core.

Functions§

shape_abi_version
shape_capability_manifest
shape_capability_vtable
shape_language_runtime_vtable
shape_plugin_info