Hi folks,
Just wanted to share with you these two utility libraries i've been working on the past days.
Moses is a utility library to manipulate tables in Lua.
Allen stands for the same purposes, but was designed for strings.
A full documentation and usage examples are given on their respective projects pages on Github.
Credits and thanks:
Those libraries were heavily inspired by Javascript Underscore.js (by Jeremy Ashkenas) and Underscore.string (by Edward Tsech and Esa-Matti Suuronen).
Credits to Underscore.lua (by Marcus Irven).
Also, thanks to Kikito who proposed the names Moses, and Allen...
Any feedback, comment or contribution would be highly appreciated. Thanks in advance!
Links:
Moses on Github
Allen on Github
Moses And Allen, Lua Tools for Tables and Strings
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Moses And Allen, Lua Tools for Tables and Strings
Last edited by Roland_Yonaba on Mon Jul 30, 2012 1:10 pm, edited 1 time in total.
- dreadkillz
- Party member
- Posts: 223
- Joined: Sun Mar 04, 2012 2:04 pm
- Location: USA
Re: Moses And Alles, Lua Tools for Tables and Strings
New toys! Will save just in case the need arises. Thanks
Re: Moses And Alles, Lua Tools for Tables and Strings
Great job !
Just one thing. In this file : https://github.com/Yonaba/Allen/blob/ma ... _Tests.lua you are saying that '+' is commutative. But I don't think this is the case of your implementation, right?
Unless
Which is not likely to happen.
Just one thing. In this file : https://github.com/Yonaba/Allen/blob/ma ... _Tests.lua you are saying that '+' is commutative. But I don't think this is the case of your implementation, right?
Unless
Code: Select all
"hello " + "world" == "world" + "hello " == "hello world"
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: Moses And Alles, Lua Tools for Tables and Strings
Typo error. Thanks so much for pointing that out, i fixed it.Elena5 wrote:Great job !
Just one thing. In this file : https://github.com/Yonaba/Allen/blob/ma ... _Tests.lua you are saying that '+' is commutative. But I don't think this is the case of your implementation, right?
In the meanwhile, i am open to any new suggestions for new functions that one may find useful. Let's make this a contributive work!
Also, one may find some better/faster ways of implementing some of the functions provided. I'll be pleased to have their feedbacks
Who is online
Users browsing this forum: No registered users and 0 guests