Re: New win32lib and XML

new topic     » goto parent     » topic index » view thread      » older message » newer message

Isaac Raway wrote:
> I'd prefer to express the sample object above as a LISP object because 
> there is really only one way to do it (Once you decide on an over all 
> structure that is. See below.):

> (root
>    (object
>        (name "TestObject")
>    )
> )

> Also, of course, expressible in terms of a Euphoria sequence.

Then why not use SMEL: it has advanced features, but you don't have
to use all the features. The LISP-example above in SMEL:

root {
    object {
       name "TestObject";
    }
}

Remember: a SMEL-parser for Euphoria already exists, and can already
be used TODAY.

> Well, how about this. Create a middle layer with a data file spec that 
> allows people to add support for whatever structured data format they 
> like? Along with a tool to translate between the formats (as long as you 
> have the data file for both the formats you want to move between), the
I'm working on SMELT, a SMEL-application for transforming SMEL-documents
to other SMEL-documents, or to other text-based files. Can be compared
to XSLT (but will be easier to write).
> better one would emerge as the leader. Well, at least the one people are 
> most comfortable with, which may in fact not be the better one. Heh. 
> LISP has always been better, but almost no one (including me, who thinks 
> it's better) uses is very much. The world had a structured data language 
> a very long time before XML came out. It's sad really...but oh well. 
> Perhaps we can bring it back a little tiny bit?
When I was looking for a name for the format that is now called SMEL,
I posted a message to the XML-newsgroup and described what it would
look like. And in that newsgroup, LISP was also mentioned as a possible
structured data language.

I've created SMEL a few months ago, and I was wondering if somebody is
actually using it already.
Derek, you were right about the fact that attributes in SMEL don't
support nesting. But you don't have to use attributes if you don't
want to. See example above.
-- 

Tommy Carlier
tommy online: http://users.pandora.be/tommycarlier

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu