Difference between revisions of "sstrict.lua"

(Documentation and source code)
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.
 +
 +
sstrict.lua is not related in any way to the strict.lua library
  
 
== 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.

sstrict.lua is not related in any way to the strict.lua library

Documentation and source code

https://github.com/2dengine/sstrict.lua