Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ykst/llint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llint

How to build

$ brew install haskell-platform
$ make

How to use

./llint a.lua b.lua c.lua
find . -name "*.lua" | xargs ./llint

Analysis

  • global definition
  • masking global definition by local definition
  • duplicated local definition
  • unused local variale
  • too long function
  • redundant step index in for block
  • redundant conditional block
  • inconsistent syntax in table literal
  • empty control block
  • constant conditional expression
  • unused variable
  • use of undefined variable
  • modification of index variable inside loop

Supported Lua Version

5.1 5.2 (module is not fully supported)

License

MIT

About

Lua-5.x static analyzer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published