A lua wrapper around the libfort library.
- No external libraries required
- Tiny implementation
- Easy to integrate into an embedded lua environment
- Resizes cells to content of tables
- Cusomization of Appearance
- Text colors
- Border style
- Background style
- Different Methods of filling in the formatted table
- UTF-8 support (More details)
The fort
module directly maps the API from c to lua with the FT_*
/ft_*
prefixes.
- No wchar support (Not needed for lua)
ft_printf
/ft_printf_ln
aren't used directly.- lua's string.format method is used to do formatting
- String splitting on column separator is done in lua
- all functions are UTF-8 compatible
There are a few things that I would like to add with lua fort. This list is in chronological order.
- lua ≥ 5.1 support
- CI testing across versions
- Documentation site
- UTF-8 support
- Unit testing
- Examples (from libfort)
- First release on luarocks