./textproc/lua-utf8, UTF-8 module for Lua 5.x

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.1.2, Package name: lua53-utf8-0.1.2, Maintainer: nia

This module adds UTF-8 support to Lua. It's compatible with Lua's
own string module, and passes all string and pattern matching tests
in Lua's test suite.

It also adds some useful routines against UTF-8 features:

- a convenient interface to escape Unicode sequences in strings.
- string insert/remove, since UTF-8 substring extract may be expensive.
- calculate Unicode width, useful when implementing e.g. console emulator.
- a useful interface to translate Unicode offsets and byte offsets.


Required to run:
[lang/lua53]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 6f3b411cc6d76237fbf9c2427f2c2343d5b99ef8
RMD160: dcedeafb89c94481872f2040c3f5e713b197c3ef
Filesize: 40.223 KB

Version history: (Expand)


CVS history: (Expand)


   2020-07-11 17:14:30 by Nia Alarie | Files touched by this commit (8)
Log message:
Add LUA_LINKER_MAGIC variable that centrally sets LDFLAGS on Darwin,
as should probably have been done to begin with. Remove per-package hacks.
   2020-07-11 16:48:58 by Nia Alarie | Files touched by this commit (4)
Log message:
also use -bundle
   2020-07-11 16:20:06 by Nia Alarie | Files touched by this commit (1)
Log message:
Help the macOS linker understand that these are runtime-loaded modules.
   2020-07-02 19:13:38 by Nia Alarie | Files touched by this commit (5)
Log message:
textproc: Add lua-utf8

This module adds UTF-8 support to Lua. It's compatible with Lua's
own string module, and passes all string and pattern matching tests
in Lua's test suite.

It also adds some useful routines against UTF-8 features:

- a convenient interface to escape Unicode sequences in strings.
- string insert/remove, since UTF-8 substring extract may be expensive.
- calculate Unicode width, useful when implementing e.g. console emulator.
- a useful interface to translate Unicode offsets and byte offsets.