[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is it possible to point out all the errors in an already written Lua script? Is there a IDE that could achieve this goal?
- From: 孙世龙 sunshilong <sunshilong369@...>
- Date: Mon, 25 Jan 2021 20:45:36 +0800
>Luacheck might do the job.
Luacheck is a choice, but it seems not a good one for me.
Firstly, Luacheck could not support the command that I register to Lua
by lua_register.
Secondly, Luacheck is written in Lua other than C/C++/C#, which is
hard to integrate into our project (C/C++/C#).
Thank you for your attention to my question.
On Mon, Jan 25, 2021 at 8:16 PM Les Farrell <lesfarrell@gmail.com> wrote:
>
> Luacheck might do the job. https://github.com/mpeterv/luacheck
>
> On Mon, 25 Jan 2021 at 12:04, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
>>
>> > Maybe luac can do it.
>>
>> luac uses the Lua library, just like lua does. Therefore, it stops
>> compilation at the first error.