Re: Coding a translator between languages with high abstraction levels

"Christopher Diggins" <cdiggins@gmail.com>
10 Nov 2006 13:19:58 -0500

          From comp.compilers

Related articles
Coding a translator between languages with high abstraction levels alfonso.acosta@gmail.com (Alfonso Acosta) (2006-11-08)
Re: Coding a translator between languages with high abstraction levels DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-11-08)
Re: Coding a translator between languages with high abstraction levels p_ludemann@yahoo.com (Peter Ludemann) (2006-11-10)
Re: Coding a translator between languages with high abstraction levels cdiggins@gmail.com (Christopher Diggins) (2006-11-10)
| List of all articles for this month |

From: "Christopher Diggins" <cdiggins@gmail.com>
Newsgroups: comp.compilers
Date: 10 Nov 2006 13:19:58 -0500
Organization: Compilers Central
References: 06-11-029
Keywords: interpreter, translator

Hi Alfonso,


My reason in designing the Cat language was specifically for this
purpose, to provide a strongly typed intermediate language for
translation between arbitrary targets. I have a public domain
implementation of the Cat language posted at
http://www.cat-language.com/download.html . The current Cat
specification though is not yet sufficiently expressive to do
arbitrary language translation. Specifically it doesn't yet support
tuples (but that is on the horizon). Anyway, the source code and
language specification might help you in creating the implementation
of an intermediate language.


Let me know if I can help,
Chrsitopher Diggins
http://www.cdiggins.com


On Nov 7, 9:18 pm, "Alfonso Acosta" <alfonso.aco...@gmail.com> wrote:
> Hi all,
>
> I'm a computer science engineering student, writing his masters thesis
> about a VHDL translator for ForSyDe
> (http://www.imit.kth.se/info/FOFU/ForSyDe/, a Hardware Description
> Language embedded in Haskell,http://www.haskell.org/). ...


> In order to get part of the work for free I decided to design the
> translator as a Haskell compiler backend (ForSyDe is just Haskell
> after all), which would allow me to start the translation at the
> chosen compiler intermidate representation and only leaving
> code-generation left. ...


> Can anyone recommend any books/articles which cover translation
> between high level languages? Pointing to an open source project with
> similar characteristics would also be helpful.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.