"D De Villiers" <[EMAIL PROTECTED]> wrote in message news:73666@palm-dev-forum... > > Hello Everybody, > > Has most of you may already know, is that I'm working on a PL/I for Palm > project (see signature below!).. I've receive the following comment from > Pietro F. Maggi: > > > I agree with what Mr Gorsline says 100%, what I likes the most is the > > possibility to target multiple compiler (currently I'm working with CW). > > My be that is possible to use some kind of XML "meta-code" generation. > > What I'm thinking about is that your program can generate some kind of XML > > "meta-code" with different XSL to target the different compiler/system. > > I'm thinking about this after a quick look to "Code generation templete > > using XML and XSL" on the C User Journal of Jan/02, available on-line: > > > > http://www.cuj.com/articles/2002/0201/0201a/0201a.htm?topic=articles > > What do you guys think? Can CW/PRC-Tools compile XML "meta-code" ? I > unfortunatly have no knowledge of XML/XSL. The goal is to make that compiler > support all new/existing PalmOS API features. The compiler will translate > PL/I code to PRC-Tools, which afterwards can be compile to a final Palm > application (*.prc) using the PRC-Tools Builder.
This is probably best continued on the tools-forum, not palm-dev. CW can hook lots of things into the build process using plugins. However, right now, we do not have a XSLT processor available as a plugin. Hooking up a command line tool isn't too difficult, but it does require some code to be written. The full CodeWarrior plugin API is included on the CW Professional "documentation" disk, and the Windows version can be downloaded from http://www.metrowerks.com/support/api/. We do support compiler plugins generating source code for other compilers -- look at how the PiLRC plugin make a .r file for the Rez plugin for an example. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
