|
Hello,
I am pleased to announce the release of LuaX and related softwares.
LuaX is a Lua 5.4 interpreter embedding some C and Lua modules (no external
dependency). LuaX is compiled with Zig and can run on Linux (libc and musl),
MacOS and Windows.
Some interesting LuaX modules include:
- F: functional programming inspired functions (mostly inspired by
Haskell List
and Map packages)
- fs: file system
- sh: shell command execution
- term: minimal terminal manipulation
- crypt: minimal cryptography module
as well as some great third-party modules:
- lz4: data compression
- lpeg: Parsing _expression_ Grammars For Lua
- luasocket: Network support for the Lua language
- argparse: Feature-rich command line parser for Lua
LuaX can produce standalone executables from Lua scripts and provides a REPL
that can print tables in a more user friendly way.
LuaX is used by some other tools that require an embedded scripting
language:
- bang: a Ninja file generator scriptable in LuaX
- ypp: a generic text preprocessor with Lua macros
- panda: an all-in-one Pandoc Lua filter (variable expansion, conditional
blocks, file inclusion, script execution, diagrams)
- lsvg: a Lua interpreter specialized in generating SVG images
What is great with Lua is that all these softwares can share Lua scripts
(e.g.
configuration files) very easily. E.g. this simplifies all steps in a
software
project (configuration, compilation, tests, documentation generation,
installation, ...)
These free and open source softwares can be downloaded here:
- LuaX: https://github.com/CDSoft/luax
- bang: https://github.com/CDSoft/bang
- ypp: https://github.com/CDSoft/ypp
- panda: https://github.com/CDSoft/panda
- lsvg: https://github.com/CDSoft/lsvg
Regards,
Christophe Delord.