Re: ANN: Ada source code decorator



Stephen Leake escribió:
"Jeffrey R. Carter" <spam.not.jrcarter@xxxxxxxxxxxxxxxx> writes:

Stephen Leake wrote:
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.
The point of ASIS is to provide a standard way to access information
about the source that the compiler has saved. The format of this
information is not specified. I suspect Wright is hoping an Ada-0X
version of ASIS will specify the format, using XML.

Ok, now I see; that does make sense.
...
I have not used XML processors, so I can't comment on whether they are
"less clunky" than using the ASIS API. But I can see that having a
standard XML representation of the Ada source would make it easier for
people who are familiar with XML to build useful tools. And since
there are certainly more people familiar with XML than with ASIS, that
would be a good thing for Ada.

That's my case. I would love an ASIS export utility that provides the full ASIS-accesible information about a single compilation unit as a single XML document.

--
Manuel Collado
.



Relevant Pages

  • Re: ANN: Ada source code decorator
    ... compiler has to provide functions to access that knowledge. ... The point of ASIS is to provide a standard way to access information ... version of ASIS will specify the format, using XML. ...
    (comp.lang.ada)
  • Re: ANN: Ada source code decorator
    ... compiler has to provide functions to access that knowledge. ... For example, internal trees, where ... XML based representation because an XML document instance is a tree ... I suspect Wright is hoping an Ada-0X version of ASIS will specify the format, ...
    (comp.lang.ada)
  • Re: next ISO/ANSI standard for C++
    ... > to XML widespread-ness, but mostly to the length of one's career, no? ... 3rd party libraries. ... Wouldn't it be good to just provide a standard ... The more the compiler has to decide, the less probable it is to ...
    (comp.lang.cpp)
  • XML-based object orientated pre-Assembler
    ... I have been promising an object orientated ASM IDE for a while now. ... Trying to make the best of what is already here, I have made a compiler, ... that will parse XML code and output ASM files. ...
    (alt.lang.asm)
  • Re: xml as intermediate representation
    ... > [I agree that if you're going to pass stuff from phase to phase, XML ... otherwise have a tendency to tie you closely in to both the compiler ... writers preferred language and data model. ... data would give a tremendous amount of flexibility, ...
    (comp.compilers)