Internationalisation
Bundled Plugins API
moses
A Lua utility-belt library for functional programming. It complements the built-in Lua table library, making easier operations on arrays, lists, collections.
Moses was deeply inspired by Underscore.js.

Download & Installation

Bash

1
git clone git://github.com/Yonaba/Moses.git
Copied!

Archive

LuaRocks

1
luarocks install moses
Copied!

MoonRocks

1
moonrocks install moses
Copied!
or :
1
luarocks install --server=http://rocks.moonscript.org/manifests/Yonaba moses
Copied!

Usage

Put the file moses.lua inside your project folder and call it using require command.
Note: the full source moses.lua is quite heavy (~63 kiB). You can alternatively use the minified version (~20 kiB).

Tutorial

Find a complete set of code examples in tutorial.md

Documentation

  • Available in HTML-format for download : see doc.
  • Read it in your browser : see online doc

Credits and Acknowledgement

Specification

Spec tests have been included. Run them using Telescope with the following command from the root folder:
1
tsc -f spec/*
Copied!

License

This work is under MIT-LICENSE Copyright (c) 2012-2017 Roland Yonaba. See LICENSE.