seqlua

an extension for simplified handling of sequential data in Lua

This package is an experimental extension for the Lua 5.2 programming language which:

  • allows ipairs(seq) to accept either tables or functions (i.e function
    iterators) as an argument,
  • adds a new function string.concat(separator, seq) that concats either
    table entries or function return values,
  • provides auxiliary C functions and macros to simplify iterating over both
    tables and iterator functions with a generic statement.

More information can be found in the project's README file.

Download

The current development version of seqlua may be obtained using mercurial by executing the following command:

hg clone http://www.public-software-group.org/mercurial/seqlua

The source code may also be browsed online at:
http://www.public-software-group.org/mercurial/seqlua/file