2009-10-02

LOLCode

Found out about LOLCode yesterday so of course I had to do something with it.
I made a JavaScript interpreter for it, playing around with JavaScript...
It needs some methods of of version 1.7 so it only works in Firefox at the moment.

Its irritating how all the browsers seem to be different, for example: Chrome supports JavaScript 1.7 but the way to specify it is completely different.
Not really sure why but you have to tell the browser specifically to use 1.7 in the script tag. There may be another way but I didn't find one. I have no idea how to get it to work in Opera, and didn't try IE (I'm using Linux). Also the layout seems slightly different in Opera???

I suppose I could just not use the 1.7 stuff as its only needed for pausing execution to wait for input. Using prompt() would work but that is not so neat.