• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

exlunaproject/pLua-XE: Easily embed Lua into Delphi and Pascal projects

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

exlunaproject/pLua-XE

开源软件地址(OpenSource Url):

https://github.com/exlunaproject/pLua-XE

开源编程语言(OpenSource Language):

Pascal 100.0%

开源软件介绍(OpenSource Introduction):

A fork of the pLua project, created by Jeremy Darling (@jdarling) and originally hosted at eonclash.com.

This modification includes many additions and fixes and has been updated for Delphi XE2 or higher. It still compiles and works with the older, non-Unicode Delphi releases.

It has been mostly tested with Lua 5.1.4 (64-bit and 32-bit).

pLua is a long term effort to build a set of methods (functions and procedures), objects, and types to aid Pascal Developers (FPC, Lazarus, and Delphi at the moment) in the implementation of Lua in their projects.

What is Lua

Lua is an extension programming language designed to support general procedural programming with data description facilities. It also offers good support for object-oriented programming, functional programming, and data-driven programming. Lua is intended to be used as a powerful, light-weight scripting language for any program that needs one. Lua is implemented as a library, written in clean C (that is, in the common subset of ANSI C and C++).

Being an extension language, Lua has no notion of a "main" program: it only works embedded in a host client, called the embedding program or simply the host. This host program can invoke functions to execute a piece of Lua code, can write and read Lua variables, and can register C functions to be called by Lua code. Through the use of C functions, Lua can be augmented to cope with a wide range of different domains, thus creating customized programming languages sharing a syntactical framework. The Lua distribution includes a sample host program called lua, which uses the Lua library to offer a complete, stand-alone Lua interpreter.

Lua is free software, and is provided as usual with no guarantees, as stated in its license.

For a discussion of the decisions behind the design of Lua, see the technical papers available at Lua's web site. For a detailed introduction to programming in Lua, see Roberto's book, Programming in Lua (Second Edition).

License

pLua-XE is licensed under the MIT license. See the LICENSE file for details.

The original, unmodified code can be found here.

See Also

  • pLua+ - another pLua fork with LuaJIT support.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
qieangel2013/ngx-fastdfs: nginx + lua +fastdfs Real-time dynamic compression of ...发布时间:2022-08-17
下一篇:
Cheese0t/Aimware-Luas发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap