[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to annotate lua source-code to specify behaviour ?
- From: Nagaev Boris <bnagaev@...>
- Date: Thu, 26 Mar 2015 23:56:10 +0000
On Thu, Mar 26, 2015 at 11:42 PM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> Hi,
> I assume LDoc, as the name says, seems to be a documentation tool, which are
> then fed to some parsing tool to produce documentation.
> I'm not sure how this is relevant for my use-case, where the annotation
> should somehow guide/modify the runtime behaviour of the annotated entity
> (be it a table, a function, a variable, etc).
>
> best,
> valerio
Sorry, I misunderstood your original question. I saw LDoc-like syntax
and made the connection.
Now I see that this thing is more close to Python's decorators. Am I correct?
Can you provide complete use case, please?
Best regards,
Boris Nagaev