You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LuaParseException prints tokens in wrong case (ie 'Then' rather than 'then') #113
It should suffice to call .ToLower() on the token when printing it even though 'greaterthanorequal' may be hard to read (if it ever gets printed), but it beats confusing the user by suggesting to add incorrect tokens and then bouncing the 'suggested' token with a "syntax error near 'Then'" .
Expected tokens now use Lua spelling/categories and include the offending token or EOF. Missing closers include opening-line context where appropriate; the execution compiler's reserved-token truncation is also fixed.
Validation: 397 runtime tests and 24 source generator tests passed; four Release targets build without warnings/errors; PR CI passed. Execution-compiler benchmarks were within about -1% to +2% of main. Public AST parser optimizations are deferred.
Activity
akeit0 commentedon Oct 10, 2026
Fixed by #351 (merged).
Expected tokens now use Lua spelling/categories and include the offending token or EOF. Missing closers include opening-line context where appropriate; the execution compiler's reserved-token truncation is also fixed.
Validation: 397 runtime tests and 24 source generator tests passed; four Release targets build without warnings/errors; PR CI passed. Execution-compiler benchmarks were within about -1% to +2% of main. Public AST parser optimizations are deferred.