n2liquid's sandbox

Using Elsa to achieve CXXJS

Posted on: May 16, 2011

Elsa is a very thorough (and seemingly general-purpose) C/C++ parser that supports template instantiation and function body parsing. It can be used to output an unambiguous (post-type checking) C++ AST.

There’s a tutorial on Elsa’s website explaining how to modify it, so I’m assuming it shouldn’t be hard to make it recognize CXXJS::* expressions and pass them to an external CXXJS translator to patch the original C++ file.

This is really exciting to me. I hope I can try it out soon!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Cute bouncing pixels


Twitter (technical)

Error: Please make sure the Twitter account is public.

Twitter (personal)

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Get messaged when I post something new!
Just enter your e-mail and hit Follow:

Join 171 other followers

%d bloggers like this: