Archive

Posts Tagged ‘JavaScript’

JASPA on WebDevGeekly podcast

March 14th, 2009 No comments

After a brief exchange of tweets with @jsmag I discover this web development ‘podcast’ : webdevgeekly.com, which appears to be run by the same people as jsmag.com. About 9 minutes into the following podcast there is a 2 minute discussion about JASPA. Conveniently just 24 hours after I rescued my site from a hardware crash.

> http://www.webdevgeekly.com/r/www.webdevgeekly.com/mp3/geekly6.mp3

Read more…

jParser grammar

February 26th, 2009 No comments

I’ve been asked how I generate the JavaScript parse table for jParser, so I’m posting the grammar file here for anyone else who’s interested.

↓ JavaScript grammar file for jParser

Read more…

jParser release in the pipeline

February 24th, 2009 7 comments

I’ve received quite a few emails recently asking me where the code is for jParser.

I’ve had to disappoint so far, because it’s not currently available for download. My web analytics also tells me that a lot of people are finding this blog by Googling “php javascript parser“. There’s clearly a need out there, so I’d better do something about it.

I know why I want a JavaScript parser, but what kind of things might you need it for? What API features/functions would you like to see? Please post a comment and let me know. Watch this space for a release, and in the mean time here’s some food for thought …

Read more…

The law of leaky abstractions

January 17th, 2009 1 comment

I’m suspicious of people who don’t enable commenting on their blog – that just makes it a book. But this gripe aside, I like what Joel Spolsky has to say about abstraction in modern programming. Well, it pushes one of my buttons; perhaps “like” has nothing to do with it.

Sadly the people I feel need to appreciate his point the most probably won’t get past the second paragraph. That point, or at least the one I took away from it, is best summarized by this quote:

“[...] as we have higher and higher level programming tools with better and better abstractions, becoming a proficient programmer is getting harder and harder.”

Read more…

A response to jQuery

January 3rd, 2009 1 comment

JavaScript language abstraction

I just read this blog article by John Resig, the author of jQuery. The article in general is a criticism of various projects like my very own “JASPA” – A criticism of frameworks that attempt to bring JavaScript into the 21st century by abstracting it into a different language. Read more…