I'm working on a prototype markup schema based on XML that should allow any language to construct program logic from it. That's the idea, anyway; using markup to describe a program and letting programmers from different disciplines create interpreters/APIs for it seems to be a fairly logical approach to creating cross-platform code. However, I am a tad out of my depth with some of the concepts involved, most notably (and fundamentally!) XML parsing.
I've had a good scout about in phpclasses.org and found a couple of classes that looked promising, but turned out to be flawed in some way or not compatible with PHP5. Can anyone recommend or provide a parser that will produce an associative array and preserve attribute data etc, with minimum fuss and setup time (out of the box even)?
Incidentally, I would be interested to know if this kind of thing has been attempted or speculated about before, or if there is anything currently in development. Is anyone actually interested in this kind of approach to the cross-platform conundrum?
Cheers, look forward to hearing from you!
M