[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Can XSL be used for code generation in Compilers?

Subject: Re: Can XSL be used for code generation in Compilers?
From: Niclas Hedhman <niclas@xxxxxxxxxxxx>
Date: Fri, 25 Jun 1999 14:45:11 +0800
code generation in compilers
NO. Firstly, you can not represent the intermediary code of a 'any' compiler as a
XML document, but you can write a compiler that uses XML to represent the
intermediary code. If the XML structure is VERY carefully designed, it would
probably be possible to write XSL stylesheets to generate a CPU/Plattform specific
result tree, that a _specialized_ formatter would output to either Assembler text
or machine code.

But to me it sounds like crossing the river to get water...

Niclas

S Manimaran wrote:

> Hi,
>         If we can represent the intermediate code during a compiler pass
> as a XML document, can then XSL be used to generate assembly code? i.e Is
> it possible to write a XSL stylesheet for each machine architecture
> (Pentium, SPARC etc.,) so that the assembly code for each of this
> architecture is generated as the output when the intermediate code
> converted to XML document is given as input to a XSL engine ?
>
> Thanks,
> -S.Manimaran,
>
> -------------------------------------------------------------------------------
> URL::http://www2.csa.iisc.ernet.in/~mani/
> Indian Internet Chess Server IICS::telnet 144.16.67.53 5000
> Join frenchlist by sending a mail to french@xxxxxxxxxxxxxxxxx
> f16    Fingerprint16 = EC FF 4D 6C 3A 09 84 30  AA B5 F0 A2 38 A0 4C A4
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.