[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?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|