Re: Code generation tool

Scott Nicol <snicol@apk.net>
5 Oct 2005 01:28:56 -0400

          From comp.compilers

Related articles
Code generation tool doru-cat@student.matnat.uio.no (Doru-Catalin Togea) (2005-10-05)
Re: Code generation tool snicol@apk.net (Scott Nicol) (2005-10-05)
Re: Code generation tool jatin.bhateja@amdocs.com (Jatin Bhateja) (2005-10-06)
Re: Code generation tool murdesi@yahoo.com (2005-10-13)
Re: Code generation tool eeide@cs.utah.edu (Eric Eide) (2005-10-13)
| List of all articles for this month |
From: Scott Nicol <snicol@apk.net>
Newsgroups: comp.compilers
Date: 5 Oct 2005 01:28:56 -0400
Organization: Compilers Central
References: 05-10-038
Keywords: tools
Posted-Date: 05 Oct 2005 01:28:55 EDT

Doru-Catalin Togea wrote:
> I wonder what tools do the CORBA, ICE and the like compilers use to
> translate from their respective IDLs to other languages, like C++,
> Java, Python, and so forth.


Typical compiler tools. You build a parser to pull the IDL into an
internal representation, then build back-ends to generate the code for
each supported target language.


> I need a formalized description of what the output (translation) of
> parsing a structured text (not XML) should be.


If you are talking about internal representation, it depends on what
structure the text has. You often (but not always) build your data
structure to match the structure of the input language.


--
Scott Nicol
snicol@apk.net


Post a followup to this message

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