LuaBridge is a lightweight, dependency-free library for making C++ data, functions, and classes available to 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.
The LuaBridgeDemo is a stand-alone graphical program for compiling and running the LuaBridge test suite with an included interactive window where you can enter and execute Lua statements in a persistent environment. The demo has these features:
-
Cross platform: Compiles on Mac OS, Windows, iOS, Android, and GNU/Linux
-
No external dependencies: Comes with Lua, LuaBridge, and JUCE, just build and run!
-
Demonstrates the usage of LuaBridge with functional code.
Also included is a separate project for building a command line version of the test suite, suitable as a starting point for building an automated testing suite.
This is the LuaBridge Demo application, and the corresponding registration code
to export classes A
and B
to Lua.
LuaBridgeDemo repository tracks the LuaBridge branches:
JUCE is licensed separately, visit http://rawmaterialsoftware.com for more details.
Copyright (C) 2012, Vinnie Falco (e-mail)
Copyright (C) 2007, Nathan Reed
Portions from The Loki Library:
Copyright (C) 2001 by Andrei Alexandrescu
License: The MIT License