contract

Type-checking for function args using contracts

$ luarocks install contract

This is a small library for LUA that implements a design by contract
approach to writing code. In general, function calls are compared
against a "contract string" at run time that defines what types are
allowed for each function argument.

Versions

1.1-18 days ago2 downloads
1.0-19 days ago(revision: 2)1 download
0.2-111 days ago(revision: 2)8 downloads

Dependencies

lua >= 5.1

Manifests