Time Nick Message 03:26 kilbith oh shit, looks like the Luacheck author and maintainer is dead: https://cs.hse.ru/news/227017595.html 03:27 kilbith thus the source is left unmaintained 03:34 MTDiscord not really unmaintained, see the update at https://github.com/mpeterv/luacheck/issues/198 12:52 MTDiscord kilbith: I highly doubt that they'd add a feature to ignore syntax errors 16:00 kilbith I'll have to change of linter... 16:04 kilbith this one is interesting: https://github.com/FPtje/GLuaFixer 16:04 kilbith --stdin Process stdin instead of specified file or directory when linting. 16:19 MTDiscord kilbith: what you have is effectively a basic, error-prone, pattern-based preprocessor written in Lua, which executes at runtime 16:20 MTDiscord so treat it like one: stop using Lua as a file extensions as your preprocessor does more than just backport newer Lua features; 16:20 MTDiscord write your own grammars for linting; 16:20 MTDiscord and highlighting 16:20 MTDiscord write your own formatters 16:20 kilbith this is not error-prone if I know what I am doing 16:21 MTDiscord alternatively, for a quick hack, you might consider linting the generated output 16:22 kilbith there is no way to process the generated output with Luacheck 16:23 MTDiscord there is 16:24 MTDiscord you could just walk your directory and write the output to a tmp dir and lint that 16:25 kilbith well yes, I could write a script for all of that 16:28 erlehmann luatic is right, you are doing a hack job right now while you have proven you can do better 16:28 erlehmann linting the generated output is the laziest solution that works 16:29 erlehmann so why not do it, is the build step too much? 16:32 erlehmann kilbith, do not lint at runtime though for reasons https://nitter.snopyta.org/pic/media%2FB20YoFiIIAAHCYf.jpg%3Fname%3Dorig 16:32 erlehmann well 16:37 kilbith your link crashes my HexChat client for some reason 16:46 erlehmann kilbith clicking on it or just reading it? 16:47 kilbith clicking 16:48 erlehmann software was a mistake 17:11 MTDiscord Could do similar what python has done with .pyc and write compiled stuff to .luac files, will it cause confusion if those wont work with lua controller? ? 17:56 MTDiscord erlehmann: agreed 18:02 kilbith https://github.com/minetest-mods/i3/blob/main/luacheck.lua 18:42 erlehmann Krock, please reopen https://github.com/minetest/minetest/issues/5916 if you can verify my claim in https://github.com/minetest/minetest/issues/5916#issuecomment-982914011 18:43 erlehmann or is this a different bug? 19:01 Krock same error message, different bug. that's my guess 19:03 Krock erlehmann: error in your provided patch: https://github.com/minetest/minetest/issues/11797 19:05 erlehmann Krock, i can't into C++! 19:05 erlehmann Krock, sorry 19:06 erlehmann i fix it 19:08 Krock erlehmann: is there any other occurrence of the style? 19:08 erlehmann https://github.com/minetest/minetest/issues/11797#issuecomment-982933876 19:08 erlehmann Krock, what do you mean, the style? new-delete-mismatch? 19:08 Krock yes 19:09 erlehmann no idea, i was already so confused the first time i saw it bc i assumed it was correct (but sfan5 explained it to me) 19:09 erlehmann if i find more, i report it 19:10 erlehmann Krock, give me a minute or five 19:10 erlehmann i have an idea 19:10 Krock the other uses of wgettext are OK 19:23 erlehmann is the eat sound item in devtest supposed to make an actual audible sound? 19:31 Krock yes. it does produce an 8-bit style drum sound 19:33 erlehmann Krock, not for me