OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

luabridge-2.8

lightweight, dependency-free library for binding Lua to C++

Back to search · Project homepage

Description

LuaBridge is a lightweight and dependency-free library for mapping data, functions, and classes back and forth between C++ and Lua, a powerful, fast, lightweight, embeddable scripting language. LuaBridge has been tested and works with Lua revisions starting from 5.1.5, although it should work in any version of Lua from 5.1.0 and later. It also works transparently with LuaJIT. LuaBridge offers the following features: - MIT Licensed, no usage restrictions! - Headers-only: No Makefile, no .cpp files, just one #include! - Simple, light, and nothing else needed (like Boost). - No macros, settings, or configuration scripts needed. - Supports different object lifetime management models. - Convenient, type-safe access to the Lua stack. - Automatic function parameter type binding. - Easy access to Lua objects like tables and functions. - Written in a clear and easy to debug style. - C++11 compliant.

Package information

Ports path
lang/luabridge
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
lang
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Used by (1 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON