Syntax check everything without run

Is there a way to app to syntax everything in my code without running each line of code?

I has a function that contained an invalid line that was not being picked up

someVar = fawslse

it should have been

someVar = false

I must must have mistyped a command in sublime.

I have since added the following to my code

local function onGenericAlertBox( event )     if "clicked" == event.action then         local i = event.index         if 1 == i then            end     end     return true end local unhandledErrorListener = function( event )     -- todo: remove before launch      print( "Houston, we have a problem: " .. event.errorMessage )      native.showAlert( "Unhandled Error", event.errorMessage(),onGenericAlertBox()) end Runtime:addEventListener( "unhandledError", unhandledErrorListener )

@FearTec,

I believe, if you build your project for Android or OS X, syntax errors will be detected and printed to the console.

https://www.youtube.com/watch?v=96nFVC5eeME&feature=youtu.be&hd=1

However, what your really want is a ‘Lint’ like tool for Lua:

-Ed

Some editors have syntax checking abilities. Not sure about Sublime but MY Developers Glider which I use definitely detects errors such as someVar = fawslse and flags them. Might be an option to consider.  

Thanks Guys

Always a pleasure.

hey just a heads up, that line that you said was invalid was actually perfectly valid. (i think, correct me if im wrong!)

(local somevar = fawlse) = (local somevar = nil)

@FearTec,

I believe, if you build your project for Android or OS X, syntax errors will be detected and printed to the console.

https://www.youtube.com/watch?v=96nFVC5eeME&feature=youtu.be&hd=1

However, what your really want is a ‘Lint’ like tool for Lua:

-Ed

Some editors have syntax checking abilities. Not sure about Sublime but MY Developers Glider which I use definitely detects errors such as someVar = fawslse and flags them. Might be an option to consider.  

Thanks Guys

Always a pleasure.

hey just a heads up, that line that you said was invalid was actually perfectly valid. (i think, correct me if im wrong!)

(local somevar = fawlse) = (local somevar = nil)