Related articles |
---|
Intermediate compiler output format cdiggins@videotron.ca (christopher diggins) (2004-08-15) |
Re: Intermediate compiler output format cdc@maxnet.co.nz (Carl Cerecke) (2004-08-23) |
Re: Intermediate compiler output format kamalp@acm.org (2004-08-23) |
Re: Intermediate compiler output format nick.roberts@acm.org (Nick Roberts) (2004-08-23) |
Re: Intermediate compiler output format csy1032@nitc.ac.in (2004-08-23) |
Re: Intermediate compiler output format cdiggins@videotron.ca (christopher diggins) (2004-08-25) |
Re: Intermediate compiler output format cdiggins@videotron.ca (christopher diggins) (2004-08-25) |
From: | "christopher diggins" <cdiggins@videotron.ca> |
Newsgroups: | comp.compilers |
Date: | 25 Aug 2004 14:51:12 -0400 |
Organization: | Compilers Central |
References: | 04-08-100 04-08-118 |
Keywords: | code, UNCOL |
Posted-Date: | 25 Aug 2004 14:51:12 EDT |
"Nick Roberts" <nick.roberts@acm.org> wrote in message
> On 15 Aug 2004 22:19:24 -0400, christopher diggins <cdiggins@videotron.ca>
> wrote:
>
> There are several de facto standards (none that are de jure, that I
> know of). I could point you to SUIF:
>
> http://suif.stanford.edu/
>
> but this is really only one of many.
Thank you for the link.
> I've never heard of an intermediate code being output (or input) in
> XML format, but to me there seems to be some sense in this idea.
> Well, it depends on the level of the code, but it might not be
> possible to do complete prior type checking for modular languages.
In Heron it is not a problem, Heron links during compilation.
> But, if so, this checking can be readily done by the compiler phase
> reading the XML, so I don't see a problem.
I want the XML to represent only fullly legal and valid programs. The goal
is to have the XML format be as easy to work with for a third party as
possible, if the XML is known to be valid that simplifies the work of the
final stage translator.
> > platform independant
>
> Do mean independent of the target architecture?
Yes.
> > and relatively easily translated to languages like C or assembly.
>
> Well, yes, that being the purpose of any compiler :-)
:-)
> > I am planning on performing optimizations on this output.
>
> May I ask, please, which is/are the source language or languages of
> your Heron compiler? Is there a web site with any further
> information? I might be interested in collaborating. Please see:
>
> http://sourceforge.net/projects/eclat
The source is in Delphi, but since my original post I have put the XML
generation on hold temporarily. I am very interested in collaborating on an
intermediate XML format. I have already designed a big part of it, and I
would be interested in knowing what it would take to make the format
interesting to you and to others.
> --
> Good luck,
> Nick Roberts
Thank you, and everyone else for their responses and suggestions.
Christopher Diggins
http://www.heron-language.com
Return to the
comp.compilers page.
Search the
comp.compilers archives again.