Re: xml as intermediate representation

TOUATI Sid <touati@prism.uvsq.fr>
30 Sep 2005 02:05:18 -0400

          From comp.compilers

Related articles
[2 earlier articles]
Re: xml as intermediate representation jeffrey.kenton@comcast.net (Jeff Kenton) (2005-09-22)
Re: xml as intermediate representation touati@prism.uvsq.fr (TOUATI Sid) (2005-09-22)
Re: xml as intermediate representation kers@hpl.hp.com (Chris Dollin) (2005-09-23)
Re: xml as intermediate representation vidar.hokstad@gmail.com (Vidar Hokstad) (2005-09-23)
Re: xml as intermediate representation demakov@ispras.ru (Alexey Demakov) (2005-09-27)
Re: xml as intermediate representation vidar.hokstad@gmail.com (Vidar Hokstad) (2005-09-27)
Re: xml as intermediate representation touati@prism.uvsq.fr (TOUATI Sid) (2005-09-30)
| List of all articles for this month |

From: TOUATI Sid <touati@prism.uvsq.fr>
Newsgroups: comp.compilers
Date: 30 Sep 2005 02:05:18 -0400
Organization: Universite de Versailles Saint-Quentin-en-Yvelines
References: 05-09-078 05-09-110 05-09-112
Keywords: tools

The advantage of using XML as an intermediate representation is :


- it allows to pass complex information between compiler passes in
textual form -> easier to debug/explore compared to complex data
structure in memory. Also, this would help decomposing a big compilation
project into smaller independent sub-projects.
- in case of compiler design changes, an XML representation is "easier"
to redesign compared to the case other data structure.
- XML is not as complex commonly thought.
- XML is a standard, so many (free) tools treat XML files : parsers, etc.


S


Post a followup to this message

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