Re: translator tools
27 Oct 1999 14:07:11 -0400

          From comp.compilers

Related articles
translator tools (1999-10-19)
Re: translator tools (Chris Angus) (1999-10-21)
Re: translator tools (Ira D. Baxter) (1999-10-21)
Re: translator tools (Ira D. Baxter) (1999-10-21)
Re: translator tools (1999-10-27)
| List of all articles for this month |

Newsgroups: comp.compilers
Date: 27 Oct 1999 14:07:11 -0400
Organization: - Before you buy.
References: 99-10-092
Keywords: translator

> I was wondering if anybody could give me any pointers on tools
> for translating from one language to another
> The target language is Java and the aim is to be able to edit it
> by hand after translation.

The ANTLR toolkit was designed specifically with translation in mind.
I've written two serious translators with it, one from ARev R/BASIC to
Visual BASIC, the other from GCC to GCC which provides a framework for
things like Design by Contract or Safe-C.

The antlr user community is very helpful too. They have their own
newsgroup (PCCTS was ANTLR's predecessor.)
The discussions on the antlr-interest mailing list are pretty lively
as well.

I've spent a bit of time working out a good way to output
human-readable and editable source, as have others in the antlr
community, and I'll be happy to help you out if you get that far.


Post a followup to this message

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