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 <[email protected]>
To: [email protected]
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


      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to