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

Subject: Re: Can XSL be used for code generation in Compilers?
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Fri, 25 Jun 1999 15:02:35 -0400
Keith Visco wrote:
>
> You could probably represent your abstract syntax trees using XML, but
> you would probably want to deal with the DOM directly to generate any
> machine dependant code.
>
    Since we have decided that XML technologies are a desired way to
generate assembler :-), what advantage would the DOM have over XSL in terms
of machine dependencies? Since XSL can readily be used to generate code
(e.g. SAXON, Cocoon etc.) why not assember ... or even base64 encoded binary
images? When generating code from XSL multiple passes/transforms are
helpful, where the output of intermediary transforms is XML but the final
output can be arbitrary text.

Jonathan Borden
http://jabr.ne.mediaone.net



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


Current Thread