It's a bit out of topic for this Usenet, but I also believe it's a good place to discuss it, as the question rose about the integration of ATS in various IDE.
The big issue with PL in IDE, is that there is no standard at all (I'm not to discuss the benefit of standards, I assume everyone know), not even for syntax colorization. Everything has to be made for every single IDE, which has its own way of doing this, often on a per developer basis. I'm not the only one to search for this, as attested by this question on SO:
From time to time I search the web to see if something emerges in this area. I found about various standard XML formats for graphs, which may be good candidates for syntax tree with or without name/binding resolution and semantic interpretation attached to it. Especially this one, which seems stable (not a toy) and rather well adopted:
But I never found any concrete use of it for this application (to use GXL to deal with PL), so it's hard to believe in its potential acceptance.
Another option I see, is RDF. RDF is about relations, can represent trees and is well suited to various languages semantic needs, as it knows about about references to definitions of concepts (at least, about a way to unambiguously refer to definitions of relations).
I landed today into something I already seen before: an application of RDF for SQL AST :
That's a good point, as this use case may be an experience to study (I will read the document a future day).
I see another advantage of using RDF: its query language. Having a query language could allow an IDE to query about things without having to generate or deal with the whole bunch of data. It's the tool conforming to the standard which would have to deal with data generation and storage.
XML has XQuery though, and may be that would be nice to compare both in the context of dealing with programming language source: abstract syntax and bindings and other kinds of semantic resolutions.
Basically: which base for a standard? Rather XML or RDF? Which query language? Rather XQuery or RDF query language? In particular if XML, what already existing XML standard? One of the XML standards (or more or less standard) for graphs? GXL or another?
Note: I'm not asking this question in the context of ATS2 only, rather with ATS2 in mind too.
Now remains the question of publishing a real standard to be recognized as such (at least from people who care). ISO is far too laborious and expensive for individuals or tiny groups of people. The OMG does not target this issue. The W3C even less. So what about submitting an ECMA standard? I feel to understand ECMA is rather accessible and has low cost (or I hope).
What are your own thoughts and opinions on the topic?