Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Invoking the compiler with an AST?
Invoking the compiler with an AST? [message #1285589] Sat, 05 April 2014 19:38 Go to next message
Bryan Hunt is currently offline Bryan HuntFriend
Messages: 366
Registered: July 2009
Senior Member
Is it possible to invoke the compiler with an AST and have it produce the bytecode? If I understand correctly, there's a public AST that is used by the IDE, and an internal AST used by the compiler. I think I found the internal AST, but I'm a bit lost in the compiler code. Could someone get me headed in the right direction? A hello world example would be even better Smile

Bryan
Re: Invoking the compiler with an AST? [message #1315804 is a reply to message #1285589] Sat, 26 April 2014 05:31 Go to previous message
Noopur Gupta is currently offline Noopur GuptaFriend
Messages: 58
Registered: December 2012
Member
Have a look at:
http://www.eclipse.org/articles/article.php?file=Article-JavaCodeManipulation_AST/index.html
Previous Topic:How to run eclipse Code CleanUp from commandline
Next Topic:Extra tabs for certain files missing?
Goto Forum:
  


Current Time: Sat Jul 27 10:54:46 GMT 2024

Powered by FUDForum. Page generated in 0.03219 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top