lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On 27.03.2015 00:22, Valerio Schiavoni wrote:
> Hi,
> is there some easy way to annotate Lua source, similarly to what happens
> with the @Annotate mechanism in Java? 
> Ideally, such annotations should assigned to variables, tables and
> functions. 
> Annotations should be assigned to behaviours triggered by operations
> that are specific to each type of annotation. 

There is nothing built-in, but see wiki for ideas:
http://lua-users.org/wiki/DecoratorsAndDocstrings

Regards,
miko