Lua Runtime

[中文]

Overview

brookesia_runtime_lua runs Lua runtime apps through the shared Runtime Manager contract.

Core Responsibilities

  • Provides a Lua backend for runtime app packages.

  • Exposes host bridge functions to script code.

  • Shares package discovery and lifecycle handling with other runtime backends.

Integration Position

This component is an independent ESP-Brookesia release component. It can be integrated through ESP-IDF component dependencies and combined with peer framework components as needed.

API Reference

Header File

Classes

class Backend : public esp_brookesia::runtime::IRuntimeBackend

Lua runtime backend registered with the runtime manager.

Public Static Functions

static inline Backend &get_instance()

Get the singleton Lua backend instance.

Returns

Lua backend singleton.