Difference between revisions of "sstrict.lua"

(Created page with "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...")
 
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 ==
 
sstrict.lua is not related in any way to the strict.lua library  
 
sstrict.lua is not related in any way to the strict.lua library  
  
 
https://github.com/2dengine/sstrict.lua
 
https://github.com/2dengine/sstrict.lua
 
https://love2d.org/forums/viewtopic.php?t=90074
 
  
 
{{#set:LOVE Version=Any}}
 
{{#set:LOVE Version=Any}}

Revision as of 08:50, 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.

Documentation and source code

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

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