annotate

A decorator for docstrings and type checking

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-13 years ago14 downloads

Dependencies

LPeg >= 0.6
lua >= 5.1, < 5.3

Labels