Related articles |
---|
from INDIA: Compiler vs. Translator paras.singh@indiamobility.com (paras singh) (2005-10-26) |
From: | "paras singh" <paras.singh@indiamobility.com> |
Newsgroups: | comp.compilers |
Date: | 26 Oct 2005 14:17:10 -0400 |
Organization: | Compilers Central |
Keywords: | translator |
Posted-Date: | 26 Oct 2005 14:17:10 EDT |
Well, I have developed a Part Compiler (Part Translator) for my own
language 'Astra'. The task of building it (still under
development.....) was similar to that of a compiler for it does
syntax error checking, macro substitution, actual translation to C
code, and now it has started executing some Astra programs on its own.
Therefore, Translators for the languages somewhat similar are also
like compilers if one wants to put in the effort to produce an
error-free code. Mine does the same and is on its way to becoming a
complete independent Astra code executer.
Paras Singh,
Research Engineer, India
[A useful translator has to do just about everything a compiler does. That's
because there are always small semantic differences between the source and
target language so that the obvious 1 for 1 translation doesn't quite do
the right thing, and the translater has to generate code to work around
the differences. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.