About this project
klb (klua) is a Lua programming solution oriented toward embedded devices. Its core design is that business logic is written in Lua, while C is responsible for extensions and tailoring. It has integrated commonly used libraries such as coroutines, GUI, networking, cjson/lfs, etc., allowing for out-of-the-box use via require.
Usage: Write business logic in Lua, obtain capabilities through C bindings such as require("kco")/require("kgui"), and use script libraries like GUI pages, net/rtsp via require("klbcore.*"). At runtime, the klua executable can be used, or libklb can be linked into the product process.
The file directory structure includes: bin (Lua scripts and klbcore support libraries), inc (C header files), src_c (C implementation files, covering application shells, basic libraries, GUI, memory, networking, platform-related, third-party libraries, etc.), src_packages (extension packages such as GUI control packages), and proj (project files, VS2015). Third-party libraries include ffmpeg basic code, zlib-1.2.11, and qrencode-4.1.1.
Related repositories within the same organization include: klua_doc (documentation repository), portfs (cross-platform portable file system), wlua (Windows desktop Lua host based on SDL), and pubfw (public framework). The license is LGPL-3.0.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.