--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Michal Wallace <[EMAIL PROTECTED]> wrote: > > (My plan for this week was to do something very similar, > > and try to get a simple lisplike language to integrate > > with python) > > I'm thinking of a AST text interface for imcc/parrot too. The lispish > AST-dump produced by YAL is handy for debugging and testing, and it > can > be parsed easily to reconstruct the AST again.
OK. This is where I would like to get involved. Currently I have been working on documenting the GCC ast, in hopes of making that generatly useful. See my last mail about that here : http://sourceforge.net/mailarchive/forum.php?thread_id=3080551&forum_id=7974 My plan is to make a generic RDF interface to save, manip. and restore ASTS. This will also include some of the parrot languages. 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. 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. The other advantage of using redland is that you can exchange ASTs in memory or using one of the storage systems that plug-in like the berkleydb interface. That allows high-speed exchange of large amounts of ASTS. I hope that you do not get annoyed at this suggestion, if you feel it is off topic, please tell me. Thanks, mike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com