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-11 year ago51 downloads
1.0-11 year ago(revision: 2)3 downloads
0.2-11 year ago(revision: 2)10 downloads

Dependencies

lua >= 5.1

Manifests