The redland rdf api provides a good C api into rdf.
The advantages of using rdf instead of a homegrown format are the amount of tools available, you then have filters, and visualization tools immediatly available.
First I have to admit: I don't like XML. Second I don't want an external library at such a central place inside Parrot. I also think (hvaing a short look at redland-0.9.14, that this might be some overkill to use that as the AST interface for parrot.
OTOH ...
Later on when we have a two-way gateway, then you will be able to use a proof engines to do rule-based tweaking of your AST before sending this off to the backend for execution.
... ab interface to RDF would be for sure a nice to have.
I hope that you do not get annoyed at this suggestion, if you feel it is off topic, please tell me.
No, not at all. Thanks for your input.
leoThanks, mike