LuaBridge
2015-07-20 15:18
645 查看
转自:https://github.com/vinniefalco/LuaBridge
Lua (a powerful,fast, lightweight, embeddable scripting language) . LuaBridge has been testedand works with Lua revisions starting from 5.1.5., although it should work inany version
of Lua from 5.1.0 as well as
LuaJit.
LuaBridge offers the following features:
MIT Licensed
A printable
Reference Manual.
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.
Does not require C++11.
Please read the
LuaBridge Reference Manual for more details on the API.
environment. This application is cross platform and works onWindows, Mac OS, iOS, Android, and GNU/Linux systems with X11. The stand-aloneprogram should work anywhere. Both of these applications include LuaBridge,Lua version 5.2, and the code necessary to
produce a cross platform graphicapplication. They are all together in a separate repository, with noadditional dependencies, available on Github at
LuaBridge Demo and Tests.This is what the GUI application looks like, along with the C++ code snippetfor registering the two classes:
MIT License.
The original version of LuaBridge was written by Nathan Reed. The project hasbeen taken over by
Vinnie Falco, who added new functionality, wrote the newdocumentation, and incorporated contributions from Nigel Atkinson.
For questions, comments, or bug reports feel free to open a Github issueor contact Vinnie Falco directly at the email address indicated below.
Copyright 2012,
Vinnie Falco (<vinnie.falco@gmail.com>)
Copyright 2008, Nigel Atkinson
Copyright 2007, Nathan Reed
Portions from The Loki Library:
Copyright (C) 2001 by Andrei Alexandrescu
Older versions of LuaBridge up to and including 0.2 are distributed under theBSD 3-Clause License. See the corresponding license file in those versions(distributed separately) for more details.
LuaBridge 2.0
LuaBridge is a lightweight and dependency-free library for mapping data,functions, and classes back and forth between C++ andLua (a powerful,fast, lightweight, embeddable scripting language) . LuaBridge has been testedand works with Lua revisions starting from 5.1.5., although it should work inany version
of Lua from 5.1.0 as well as
LuaJit.
LuaBridge offers the following features:
MIT Licensed
A printable
Reference Manual.
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.
Does not require C++11.
Please read the
LuaBridge Reference Manual for more details on the API.
LuaBridge Demo and Unit Tests
LuaBridge provides both a command line program and a stand-alone graphicalprogram for compiling and running the test suite. The graphical program bringsup an interactive window where you can enter execute Lua statements in apersistentenvironment. This application is cross platform and works onWindows, Mac OS, iOS, Android, and GNU/Linux systems with X11. The stand-aloneprogram should work anywhere. Both of these applications include LuaBridge,Lua version 5.2, and the code necessary to
produce a cross platform graphicapplication. They are all together in a separate repository, with noadditional dependencies, available on Github at
LuaBridge Demo and Tests.This is what the GUI application looks like, along with the C++ code snippetfor registering the two classes:
Official Repository
LuaBridge is published under the terms of theMIT License.
The original version of LuaBridge was written by Nathan Reed. The project hasbeen taken over by
Vinnie Falco, who added new functionality, wrote the newdocumentation, and incorporated contributions from Nigel Atkinson.
For questions, comments, or bug reports feel free to open a Github issueor contact Vinnie Falco directly at the email address indicated below.
Copyright 2012,
Vinnie Falco (<vinnie.falco@gmail.com>)
Copyright 2008, Nigel Atkinson
Copyright 2007, Nathan Reed
Portions from The Loki Library:
Copyright (C) 2001 by Andrei Alexandrescu
Older versions of LuaBridge up to and including 0.2 are distributed under theBSD 3-Clause License. See the corresponding license file in those versions(distributed separately) for more details.
相关文章推荐
- 将Lua嵌入IOS程序
- LUA 配置 运行 异常的备忘录
- Algorithms—150.Evaluate Reverse Polish Notation
- c++ lua文章list
- c++ lua文章list
- Lua 5.1 参考手册
- Lua 5.1 参考手册
- lua——基础语法
- Lua_绑定tinyxml到Lua中解析XML
- Lua_获取文件扩展名
- Order of evaluation
- Lua语言中字符串String实现原理
- Lua模拟类,继承,私密
- lua处理PHP序列化过后的数据为table
- 【Lua正则表达式】解析匹配优酷电视剧集的下载地址用来批量下载
- lua实现类的继承
- lua面向对象编程中冒号与点号的区别
- Codeforces Round #276 (Div. 2) B. Valuable Resources 二分
- Lua中的元表和元方法
- lua语法特性(一)