• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java AST Tree

Can you expand a little more? What exactly do you mean by AST? Abstract Syntax Tree? If so, in what context?
Also... if it is a "tree" it should have only one root... or else it's not really a tree.
 
Writing a compiler? Seems to me there's a few ways you could look at it. Each file is it's own tree, sure. Of course you can't compile a single java file without taking other things into account. You could probably view the package hierarchy as a tree, with either source code or a pre-compiled class at each node. I don't think you'd need anything outside of that. I'm trying to think of how classloading could come into play during compilation and I don't think it can...
 
Back
Top