lua-users home
lua-l archive

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


After I have done some tests, I find the conclusion((i.e Luac would
stop to compile after
encountering the first error as Lua does) aforementioned in last email
is correct.

On Mon, Jan 25, 2021 at 4:16 PM 孙世龙 sunshilong <sunshilong369@gmail.com> wrote:
>
> >Maybe luac can do it.
> As far as I can see, luac could not achieve this goal.
>
> As per the documentation(https://www.lua.org/manual/5.3/luac.html#),
> which says that:
> luac is the Lua compiler. It translates programs written in the Lua
> programming language into binary files containing precompiled chunks
> that can be later loaded and executed.
>
> So I can draw the conclusion that Luac would stop to compile after
> encountering the first error as Lua does.
>
> Sunshilong
>
>
> On Mon, Jan 25, 2021 at 4:02 PM Suote127 <tswuyin_st127@163.com> wrote:
> >
> > Maybe luac can do it.
> >
> > ——Suote127