Create an Account
username: password:
 
  MemeStreams Logo

And the answer is...

search

Acidus
Picture of Acidus
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Acidus's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
And the answer is...
Topic: Miscellaneous 7:43 pm EDT, Aug 16, 2007

Can I write a recursive depth JavaScript parser in 1.5 days? The answer is yes, but it doesn't support the complete language yet. So far I don't support:

-anonymous functions
-the "with" statement
-"for...in" blocks
-labels and labeled continues (bet you didn't know JavaScript had labels!)
-any of the bitwise operators ( & | ^ << >>)
-assignment with operations ( += /= -= etc)
-the ?: construct
-array or object literals
-declaring and initializing multiple variables with a single var statement.

To be fair, I've just been writing the JS parser. I am using a JS tokenizer I wrote a few months back (though I've been finding/fixing a number of bugs in it today).



 
 
Powered By Industrial Memetics
RSS2.0