[antlr-interest] Building translators for MSIL

Loring Craymer lgcraymer at yahoo.com
Thu Apr 2 13:59:57 PDT 2009


Jevitha--

Take a look at the papers on converting Java byte code to JIMPLE (referenced in the wikipedia article; also look at http://www.sable.mcgill.ca/soot/); that will give you a handle on the analysis pass(es) you need to go through to map data representations.  Once you have mapped data representations, almost any tree structure will do for generating JIMPLE method code.  Your only use of the JIMPLE grammar should be for informational purposes and to guide you in what the generated code should look like.

--Loring




________________________________
From: jevitha <jevitha at gmail.com>
To: antlr-interest at antlr.org
Sent: Thursday, April 2, 2009 1:34:50 AM
Subject: [antlr-interest] Building translators for MSIL

Hi,

  Im a newbie to ANTLR.  Im trying to build a translator from Microsoft Intermediate Language (MSIL) to another intermediate language which is used by one of the libraries which i wanted to use in my research project. Currently i have the Grammar for MSIL (source language) and JIMPLE (Target Language). Im unable to get a hold in creating ASTs for doing the same. Can anyone point me in the right direction to follow to build the convertion module.

-- 
Best Regards,
Jevitha


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090402/ddf60ef8/attachment.html 


More information about the antlr-interest mailing list