Re: [xsl] imperative/OO language with XML syntax?

Subject: Re: [xsl] imperative/OO language with XML syntax?
From: Tim Lewis <lewist@xxxxxxxxxxx>
Date: Thu, 31 Mar 2005 08:42:03 -0500
You might want to take a look at:

They have a full implementation of an xml-based OO language with various extensions for database access, unit testing, and other goodies.

Tim Lewis

Brian Chrisman wrote:

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.

Brian Chrisman

Current Thread