Difference between revisions of "sstrict.lua"
Line 1: | Line 1: | ||
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. | 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. | ||
− | |||
− | |||
== Documentation and source code == | == Documentation and source code == |
Revision as of 08:51, 4 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.