Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Powerful VerySimple.Lua Embeddable Scripting Language Library For Delphi

Lua is with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft). It is currently the leading scripting language in games and it has a deserved reputation for performance. To claim to be “as fast as Lua” is an aspiration of other scripting languages.

What’s new in v2.0?

Dynamic library vs. static library VerySimple.Lua uses the lua dynamic library if compiled for Windows, Mac OS X or Android and uses the static library if compiled for iOS (all libraries included).

Note the below sample code is available from the author of the library.

Automatic get/setters for properties, etc.
As the name implies: it is just a very simple Lua <-> Delphi binding. Feel free to add those functions by yourself.

Example 1 – Simple usage

[crayon-676cb25ba4dff517654763/]

Example 2 – Extend Lua with own functions

[crayon-676cb25ba4e04832072123/]

For more information or if you want to test this product, please check out https://github.com/Dennis1000/verysimplelua

Exit mobile version