idl to java compiler: startup

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

 



Hi all,

I'm going to develop an Open Source idl to java mapper.
I'm a little experienced in writing compilers or language translators in general,
so I'll be glad to receive information from experienced peoble about:

. estimation of the project effort (man-month, lines of code)
. reference architecture
. tools or libraries that can save a lot of work
. considerations about two following proposed architectures


Both architectures are based on a first IDL processing step by mean of ANTLR generated
parser. The output of this step is an AST tree. (www.antlr.org)


FIRST SOLUTION
This solution introduces an intermediate step that produces an XML document from the AST
tree. My idea is to produce the final java code using XSL technology.

I introduced the XML/XSL step because I feel more comfortable with this kind
of development than with the direct processing of the AST tree, but I'm not sure that
XSL will give me the required flexibility.

So in this solution the BIG job is to write an XSL stylesheet for the XML->java
transformation.


SECOND SOLUTION
This solution perform a direct tranformation AST->java output without the XML/XSL step.

In this case the BIG job is to write the Java code for this transformation.



Yesterday my preference was for the first one, but this morning
I think the second one is better.

So I need feedback from experienced people:
I'm going for the second one please stop me in time if you think
I'm going into troubles!!!

Thanks,
Vittorio

PS: hope my english was clear.






	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux