[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java compiler implementation in SableCC needed.



Hi,

On Fri, Jan 17, 2003 at 01:32:59PM -0500, Qi Sun wrote:
> I am now trying to extend java syntax. In addition to lex/parsing, I need
> a function that can inference types for Java expressions statically. I
> guess the easiest way to do it is to find a java compiler implementation
> based on sablecc. Does any one has any idea? In fact, I need no more than
> inferencing the expression. I am afriad of writing a tools that people may
> have already done a lot.
> 
> Any suggestion or hints are welcomed. Thank you.
Its not SableCC, but should provide the functionality you need: 
http://recoder.sf.net 

Maybe you can port the actual algorithm to a SableCC generated AST. 

Bye,
kisg