xsl-list
[Top] [All Lists]

imperative/OO language with XML syntax?

2005-03-30 16:53:41
Anybody seen an imperative/Object Oriented language which
uses and XML syntax?

I've been writing code generators in XSLt for some time.
My current generators create code in specific languages
such as perl, php, sql, etc.

I'd like to put my generated code into an XML format and
*then* transform it into the language of choice.  This will
allow me to define a transform for each language which
recreates the common logical constructs in each language
according to its capabilities.
(ie, generating 'try' blocks in php5, and eval{} blocks
in perl... and a nested set of if/thens or something else
simulating try blocks in php4 etc..)

I don't think it'd be that difficult to do it myself, but
if there's a standard out there, I'd like to write to that
instead.  I looked around quite a bit and couldn't find one.
Any references or suggestions would be appreciated.

Thanks,
Brian Chrisman

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>