boolangery / py-lua-parser

A Lua parser and AST builder written in Python.
MIT License
124 stars 39 forks source link

wrong precedence parsing the length operation (#) #41

Closed tony-song closed 1 month ago

tony-song commented 1 year ago

`

tab+1

is parsed to LengthOp(AddOp(tab,1)) `

It should be AddOp(LengthOp(tab), 1)

fabi321 commented 1 year ago

as far as I can tell, this is a duplicate of #38

boolangery commented 1 month ago

Fixed on master, will release a version soon