|Building a translator. Want to know if this is feasible... email@example.com (socrates) (2002-11-06)|
|RE: Building a translator. Want to know if this is feasible... firstname.lastname@example.org (Onder Karpat) (2002-11-07)|
|From:||"Onder Karpat" <email@example.com>|
|Date:||7 Nov 2002 00:49:07 -0500|
|Posted-Date:||07 Nov 2002 00:49:07 EST|
First you had better be sure about if Java or target language is
sufficient to represent all kinds of original language
If you sure about it. Then check if the original language grammar is
available. Existence of grammar will ease your task.
If original language is having a preprocessor then target language had
better have too.
If you know the expected results of available programs for original
language then I think there is a chance that you can get a good
I would start by first developing a preprocessor / lexer / parser for
original language which accept all the original language source
programs. Then you can build a parse tree and generate target language
Studying compiler front-end related documents/books should be
sufficient for this task. It is pretty similar to any compiler
Return to the
Search the comp.compilers archives again.