Moses and Allen, tools to extend Lua's native string and table library

Hi folks,

I’ve been working the past days on two distincts libraries. They are now both fully working and ready for share.
Allen and Moses can be considered as extensions to the Lua’s native table and string libraries. In almost every Lua project, little or larger, these native libraries are needed.

Allen was designed for strings. Using Allen, you can operate on strings to perform quoting, insertions, deletions,get Ascii codes, capitalize/uncapitalize each word in a sentence, or specific letters, turn a table into a string, or a human-readable sentence, splice a string, trim it, clean specific chars, etc.
You can also use arithmetic operators on strings, such as +,-,%,/ as shortcuts to specific operations.

Moses was designed for tables.Using Moses, one can traverse tables, mapping functions, reverve it, seek for a specific values, switch values with keys, select values matching a specific criteria, append, push , shift values, and a lot more.

Both Moses and Allen functions can be imported inside native table and string libraries.

Hope you like it.

Github: Moses and Allen [import]uid: 142361 topic_id: 29382 reply_id: 329382[/import]

I love Allen! I don’t use tables much, but when I do, I have a feeling I’ll love Moses too!

Thank you, @roland.yonaba, for sharing!

Naomi [import]uid: 67217 topic_id: 29382 reply_id: 118092[/import]

Hi all,

I’ve been lately working on nifty updates, bringing Moses to version 1.2
New functions are availables.
See the project page, and feel free to like it, pull requests, fork it on Github.

Link: http://yonaba.github.com/Moses
Github: http://github.com/Yonaba/Moses [import]uid: 142361 topic_id: 29382 reply_id: 120162[/import]

Hi all,

I’ve been lately working on nifty updates, bringing Moses to version 1.2
New functions are availables.
See the project page, and feel free to like it, pull requests, fork it on Github.

Link: http://yonaba.github.com/Moses
Github: http://github.com/Yonaba/Moses [import]uid: 142361 topic_id: 29382 reply_id: 120162[/import]

Hi everyone,

I’ve been working the past days on a full update of Moses , fixing lots of inconsistencies, briging several patches, adding new features and setting a clean specification code. I’ve released the latest stable.

As a recall, Moses (deeply inspired by Underscore.js) is a utility-belt library providing support for functional programming.

It complements the built-in Lua table library , making easier operations on arrays, lists,
collections, objects, through an easy-to-use API of 98 functions.
 

Project lives at: Moses (Github)

Latest stable: Moses 1.3.2.1

A fully complete documentation is available in both markdown and Html output (thanks to the awesome LDoc, from S. Donovan).

Thanks reading!

Regards,

Roland.

Hi everyone,

I’ve been working the past days on a full update of Moses , fixing lots of inconsistencies, briging several patches, adding new features and setting a clean specification code. I’ve released the latest stable.

As a recall, Moses (deeply inspired by Underscore.js) is a utility-belt library providing support for functional programming.

It complements the built-in Lua table library , making easier operations on arrays, lists,
collections, objects, through an easy-to-use API of 98 functions.
 

Project lives at: Moses (Github)

Latest stable: Moses 1.3.2.1

A fully complete documentation is available in both markdown and Html output (thanks to the awesome LDoc, from S. Donovan).

Thanks reading!

Regards,

Roland.