Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: And the answer is.... You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

And the answer is...
by Acidus at 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).


 
RE: And the answer is...
by Yeager at 8:39 pm EDT, Aug 16, 2007

This had better go in the next release of WI. ;)


 
RE: And the answer is...
by k at 12:34 am EDT, Aug 21, 2007

Acidus wrote:
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).

Still pretty impressive mang.

Still, my question is, what's left of the grey goose?

What IS the ratio of kloc's to Billy-compliant girly drinks?


 
 
Powered By Industrial Memetics