[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to annotate lua source-code to specify behaviour ?
- From: Michal Kolodziejczyk <miko@...>
- Date: Fri, 27 Mar 2015 01:31:08 +0100
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