DLRScript update

I have begun working on DLRJScript-JavaScript compatibility. I was actually successful running my first externally created JavaScript -- EcmaUnit 0.4 (which is a small JS testing framework). I did have to make a couple modifications.

I’m becoming aware of the size of this job though. I’m currently porting a Mozilla-compatible XmlHttpRequest object which I think will work with all the major Ajax frameworks. I’m not sure which Ajax Framework I’ll actually target as the first on to run. I could stick with the man and make it work with the MS Ajax client library, I could go with Prototype that so many people swear by or I could use something else (JQuery is looking rather interesting to me in this regard). The biggest thing I require though is either an extensive sample project or a test suite itself. This makes it easier to see if my JavaScript replacement is working OK or not. Once I have a reasonable compatibility (one or more frameworks working fairly good with minimal issues) then I’ll move over to making the various languages capable of communicating with one another (so I can loadup JQuery and then use it, clientside, from Iron Ruby).

In case you forget why you might want to do this, it’s simple really; DLRJscript is faster (because it’s compiled) then traditional JavaScript (which is interpreted).

Print | posted on Thursday, April 24, 2008 11:46 AM

Feedback

# re: DLRScript update

left by Duncan Smart at 4/24/2008 5:44 PM Gravatar
jQuery FTW! I suspect jQuery will be more straightforward because it acts as a wrapper, rather than screwing around with all and sundry's base prototypes as does Prototype.
Yours,
jQuery fanboy :-)
Title  
Name
Email (never displayed)
Url
Comments   
Please add 6 and 5 and type the answer here: