annotate

A decorator for docstrings and type checking

$ luarocks install annotate

This Lua module provides a decorator that allows to associate Lua
values with docstrings. A plugin that parses function signatures
in those docstrings and compiles them to argument and return value
type checking functions is included.

Versions

0.1-110 years ago371 downloads

Dependencies

LPeg >= 0.6
lua >= 5.1, < 5.3

Labels

Manifests