Connecting Tech Pros Worldwide Forums | Help | Site Map

Any good javascript parser out there?

Tom
Guest
 
Posts: n/a
#1: Apr 27 '06

Is there any good javascript parser that can evaluate your code and show where
you have syntax error and such?

/Tom

Ian Collins
Guest
 
Posts: n/a
#2: Apr 27 '06

re: Any good javascript parser out there?


Tom wrote:[color=blue]
> Is there any good javascript parser that can evaluate your code and show where
> you have syntax error and such?
>[/color]
Firefox?

--
Ian Collins.
Randy Webb
Guest
 
Posts: n/a
#3: Apr 27 '06

re: Any good javascript parser out there?


Tom said the following on 4/26/2006 10:12 PM:[color=blue]
> Is there any good javascript parser that can evaluate your code and show where
> you have syntax error and such?[/color]

A novel idea for you - try a browser. They are pretty good at showing
errors.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Assad Afzal
Guest
 
Posts: n/a
#4: Apr 27 '06

re: Any good javascript parser out there?



Tom wrote:[color=blue]
> Is there any good javascript parser that can evaluate your code and show where
> you have syntax error and such?
>
> /Tom[/color]

I don't really know of any effective parsers, but Mozilla has a really
good debugger, which lets you step through your code as it is executed.

Some text editors check basic syntax. Try the trial version of
Ultraedit, textpad or jext to see if they help.

Assad Afzal

Douglas Crockford
Guest
 
Posts: n/a
#5: Apr 29 '06

re: Any good javascript parser out there?


> Is there any good javascript parser that can evaluate your code and show where[color=blue]
> you have syntax error and such?[/color]

Try JSLint. http://www.JSLint.com/
Closed Thread