lua-users home
lua-l archive

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


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