Difference between revisions of "sstrict.lua"
(→Documentation and source code) |
|||
Line 6: | Line 6: | ||
{{#set:LOVE Version=Any}} | {{#set:LOVE Version=Any}} | ||
{{#set:Description=Parses and detects mistakes in your Lua source code}} | {{#set:Description=Parses and detects mistakes in your Lua source code}} | ||
− | {{#set:Keyword= | + | {{#set:Keyword=Debug}} |
[[Category:Libraries]] | [[Category:Libraries]] |
Revision as of 09:53, 5 October 2024
Super Strict is a pure Lua library that finds undeclared variables and other minor mistakes in your source code through static analysis. You do not need to execute any code to find your mistakes: Super Strict will check the code during loading. Just include the "sstrict.lua" file and any subsequent calls to "require","dofile","loadfile" or "loadstring" will be checked through Super Strict. To exclude a specific Lua file from the being checked just place the "--!strict" line at the top of your source code.