Re: ANN: Ada source code decorator



Simon Wright <simon@xxxxxxxxxxxx> writes:

Georg Bauhaus <bauhaus@xxxxxxxxxxxxx> writes:

(* XML - time permitting, using Simon Wright's ASIS based GIs.)

Although that work was useful, a lot more needs to be done on it to
make it anywhere near complete. It would be a lot easier if ASIS (the
standard) was open-source.

The ASIS _standard_ is open-source; it consists of Ada specs giving the API.

The GNAT implementation is also open-source.

So what is missing?

If there is to be an ASIS 2005

There is; the ARG is starting work on it.

I hope the representation will be as an XML schema and not an API;

I don't see how that is remotely possible. The whole point of ASIS is
to access the knowledge the compiler has about the source. Thus the
compiler has to provide functions to access that knowledge.

I can see building an XML processor in which some of the XML tags
cause ASIS API calls. But that is a layer on top of the ASIS API, not
a replacement for the ASIS API.

the API makes using ASIS so very clumsy compared to the various XML
processing technologies available now. Well, that's the way it seems
from here!

Can you give a concrete example of how an ASIS-XML would work?

--
-- Stephe
.