Allen is a Lua library which provides a set of utilities and helpers for strings operations. Allen can be considered as an extension of the built-in Lua string library.
Allen's API was heavily inspired by the Javascript library Underscore.string.
Link:
https://github.com/Yonaba/Allen
Comments
Can the link (and the other library Moses) be added to the wiki or relevant area @atilim, @gorkem
These libraries may be useful to a good number of Gideros users.
Currently everyone needs to manually download/copy/paste into each project, and keep track of the latest versions to update them.
Some may think that it's just a helper library/utility, so it doesnt update very frequently and it's ok to update all in 6 months of time frames (I'm also inclined to think like that).
So if someone takes the lead, collect all Lua helpers/utilities in Wiki, we can always include it in the distribution (@atilim probably wants to comment here too). I can also do that, but I'm not very sure where to look at those. The "curated" set is here, we know where they are, but how about other libraries scattered around?
I'd suggest this:
Setup a repo in http://github.com/gideros, for helper libraries that are to be included in core.
The community can help with suggesting adding new libraries, and sending pull requests for updates.
You can assign someone to make decisions whether a library goes in or not.
And when the time to release an update comes, just pull the current versions of the libraries from that repo.
And if you don't have the time to manage the repo, maybe someone from this community could help?
I am not used to Github (I am Bitbucket+Hg guy anyway) but it should possible to add people to create their repo (or fork) under Gideros right? Something like what Marmalade guys do https://github.com/marmalade
Oh and @gorkem and @atilim i think Gideros community is increasing in size with many talented devs coming. Maybe there's way for us to help you more? Is there any list of things that needs helping hands from community to you?
Likes: ar2rsawseen
http://www.nightspade.com
Fact is, when I started working on this, I wanted to merge those helpers (Moses and Allen). But, when it started to grow, I made them distinct, as their purposes were different (strings for Allen, tables for Moses).
Though they may not be conflicting issues with function names clashing, I won't mix them.
Handle them into different variables, or mix them with string and table libraries.
If you want, we can discuss it on IRC some time (better during evening near UTC timezone like 21:00 PM UTC, or similar) ?
Or, someone can come up and say "dont make things hard with IRC, it's dead simple, here's the Github entry, here's the Wiki entry, so come add your library here" - I'd be more than happy heh
Can ownership be shared?
A central repo would be better than 10 of us creating separate repos.
I would prepare list of all Gideros related projects which are available on Github and contact other authors to place their contributions on Github and assist them.
@gorkem etc can just visit the repo before release, pull projects, and put them into Gideros
How about that @ar2rsawseen?
You do have cygwin or something to run bash on Windows 7, right?
Let me know which one would be best for others. Ruby is best for me
@gorkem can updater script created by @___ be hosted on Gideros hosting and added to cronjob?
If not we'll look into other options
https://github.com/gorkem-cetin/gideros-community-libs/
Feel free to send me your username and I'll add there.
I'm writing a small Ruby script for this.
A libraries.yml file (yaml because it's the cleanest format for this thing)
A script which will fetch all the libraries declared in the yml file into vendor/
And if anyone cares about it, I'll create a pretty auto generated list of the libraries present, and make it available on my username.github.com url.
Your views?
-
libraries.txt contains list of libs
run "bash fetch.sh" to fetch all the libraries
commit and push
@ar2rsawseen want to contribute?