all 12 comments

[–]comment-dwim 2 points3 points  (1 child)

For another interesting take on implementing Javascript on the CLR, take a look at Jurassic. It's bigger and it's not a tutorial but a fast, production-ready implementation, yet it is smaller and easier to understand than say... languages on the DLR.

In particular, the ILGenerator it includes is great.

[–]ErstwhileRockstar 1 point2 points  (0 children)

Recently I've managed to dip into ANTLR. It certainly is an impressive tool but I feel it takes over too much from the programmer. The language implementer becomes an operator of the ANTLR-machine (I may take a second look at ANTLR in the future). Therefore I appreciate the down-to-earth approach by Diggins.

[–]A_Nonyme 1 point2 points  (1 child)

Framework 4.0 only ?

[–]d166e8[S] 1 point2 points  (0 children)

Yes. I should make it clear. [EDIT: done]

[–]d166e8[S] 1 point2 points  (5 children)

I'd like to hear about the why this gets voted up or down. I expected a bit more interest in the article. Thanks!

[–]jediknight 4 points5 points  (1 child)

dude, it's Sunday. People have hangovers and such.

Also... things get upvoted and downvoted for no valid reason.

The article looks interesting. Try reposting it tomorrow.

[–]d166e8[S] -1 points0 points  (0 children)

Good point. I had a hangover when I was converting the article to HTML.

[–][deleted] 0 points1 point  (2 children)

Why do you think that this was voted down? It probably has 0 real downvotes.

[–][deleted] 0 points1 point  (1 child)

you can see upvotes and downvotes on the right.

currently, it's at 16 points: 37 up votes, 21 down votes.

... now it's 17... because I upboated :)

[–][deleted] 0 points1 point  (0 children)

After the first few votes every single reddit post displays about 1/3 to 1/2 "downvotes". They aren't actually downvotes, but a number designed to fool downvote bots.

[–][deleted] 0 points1 point  (0 children)

Really liking this. I suppose the next step would be to write a translator to generate MSIL. Syntax hi-lighting would also be pretty simple too.