[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua parser enhancement request
- From: Dibyendu Majumdar <mobile@...>
- Date: Wed, 29 Jul 2015 22:08:05 +0100
On 29 July 2015 at 21:26, Coda Highland <chighland@gmail.com> wrote:
> You could go the opposite direction, you know:
>
> local i --[[:integer]] = 0
>
> Ravi could parse the --[[: prelude and treat it as a type annotation,
> while Lua will simply ignore it. This is what some typed Javascript
> tools do.
>
Sure, but I am keen to keep the syntax clean for Ravi.
Regards