Hello everyone:
I expect to parse Lua syntax through x3, and I have the following results
My question is, in this definition, [auto const expdef=simexp | (simexp>>binop>>simexp) | (unop>>simexp);]
Why not choose (simexp>>binop>>simexp) when it fails。
The Complete Syntax of Lua:https://www.lua.org/manual/5.3/manual.html#9
Hello everyone: I expect to parse Lua syntax through x3, and I have the following results My question is, in this definition, [auto const expdef=simexp | (simexp>>binop>>simexp) | (unop>>simexp);] Why not choose (simexp>>binop>>simexp) when it fails。 The Complete Syntax of Lua:https://www.lua.org/manual/5.3/manual.html#9
Here is my test code: