Peter Melnichenko
Peter Melnichenko
test.lua: ``` lua local parser = require "metalua.compiler".new() local inspect = require "inspect" local s = "local a" print(inspect(parser:src_to_ast(s))) ``` Output(omitting lineinfo, etc): ``` { { { { -- `Id...
test.lua: ``` lua x = function(y) print(y) end (function() end)() ``` Standard Lua interprets this block as two separate statements, and executing it prints nothing. However, metalua-parser considers it one...
Currently the rock is marked as Lua 5.1 only in the rockspec. I'm using it for [a very basic static checker](https://github.com/mpeterv/luacheck) and it works fine on Lua 5.2, too. So,...
It looks like this: ``` Downloading https://luarocks.org/luacheck-0.15.0-1.src.rock Got 1.03 MiB (100%) | 20.77 KiB/s ``` Current downloaded size, percentage and download speed are updated on each luasocket step. Redirections are...
It seems that description shown on module's page is not updated when a new rockspec is uploaded.
I expected `@tab` to be same as `@tparam table`, including linking to table docs, but instead it means `@tparam tab`. This PR changes some built-in tparam aliases to expand to...
Currently calling `finally` a second time overwrites the first finalizer, so that only the last `finally` call in the test has an effect. This is inconvenient when there are several...
Currently functions in public `luacheck` module do not load config, which limits their usability when embedding luacheck in an editor with Lua interface (e.g. dit, far). Implement a new interface...
Right now options for CLI, config, and inline comments are documented separately in different doc pages. Some options can be used in all three scopes, some can't. It would be...