Twitter
Essays
Random
« An idea to trace through dynamic languages | Main | Pulling loop limits out of the loop »
Tuesday
Dec182007

Javascript Interpreter in Javascript

Just like Tamarin, we're doing a Javascript Interpreter in Javascript, just in a convoluted way. We are using narcissus as the Javascript Parser to create a Java AST. We then interpret the produced AST.

Doing this, we can use JS to create a Java AST for a Javascript Interpreter written in Javascript. Yup, we are the king of indirection.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>