Test ran at 2025-02-22 01:29:57.175421+00:00
SOLUTION:
libadalang2xml=1.0.2: Generates XML for Ada source, using libadalang.
Origin: commit 99ee1dd171cd66736f38e770a751a15ad7ffc334 from https://github.com/simonjwright/libadalang2xml.git
Properties:
Author: Simon Wright
Build Switches:
Description: Generates XML for Ada source, using libadalang.
Executable: libadalang2xml
License: GPL-3.0-or-later
Long_Description: Libadalang2XML is a tool to extract syntatic aspects of Ada source code into XML.
The Ada source is initially read using [Libadalang](https://github.com/AdaCore/libadalang). The resulting tree is then traversed, and its structure output in an XML form.
The [document type definition](https://en.wikipedia.org/wiki/Document_type_definition) isn't explicit; it's simply derived from the tree elements created by Libadalang. Note that Libadalang includes much more semantic information than the surface structure generated by this tool, but nevertheless there's enough there to --- for example --- create a scriptable body for a package spec.
## Building on macOS ##
Using the standard `langkit_support`, `libadalang` crates, you **must** build with `LIBRARY_TYPE` set to `relocatable`.
You can obtain versions of those crates adjusted to not require those features, which can therefore build the (default) static libraries, by visiting https://github.com/simonjwright/alire-index.mac.
## Example ##
As an example of the output, this code
``` ada
package Demo is
procedure Square (X : in out Integer);
end Demo;
```
generates
``` xml
Demo
procedure
Square
X
in out
Integer
Demo
```
Maintainer: Simon Wright
Maintainers_Logins: simonjwright
Name: libadalang2xml
Tag: ada
Tag: xml
Version: 1.0.2
Website: https://github.com/simonjwright/libadalang2xml
Dependencies (direct):
libadalang*
Dependencies (solution):
adasat=25.0.0
gnat=14.2.1 (gnat_native)
gnatcoll=25.0.0
gnatcoll_gmp=25.0.0
gnatcoll_iconv=25.0.0
langkit_support=25.0.0
libadalang=25.0.0
libgpr=25.0.0
libgpr2=25.0.0
prettier_ada=25.0.0
vss=25.0.0
xmlada=25.0.0
Dependencies (missing):
libgmp* (indirect,hinted)
Dependencies (graph):
gnatcoll=25.0.0 --> gnat=14.2.1 (gnat_native) (>=13)
gnatcoll=25.0.0 --> libgpr=25.0.0 (~25.0.0)
gnatcoll_gmp=25.0.0 --> gnatcoll=25.0.0 (~25.0.0)
gnatcoll_gmp=25.0.0 --> libgmp*
gnatcoll_iconv=25.0.0 --> gnatcoll=25.0.0 (~25.0.0)
langkit_support=25.0.0 --> adasat=25.0.0 (^25)
langkit_support=25.0.0 --> gnatcoll=25.0.0 (^25)
langkit_support=25.0.0 --> gnatcoll_gmp=25.0.0 (^25)
langkit_support=25.0.0 --> gnatcoll_iconv=25.0.0 (^25)
langkit_support=25.0.0 --> prettier_ada=25.0.0 (^25)
libadalang=25.0.0 --> gnatcoll=25.0.0 (^25)
libadalang=25.0.0 --> gnatcoll_gmp=25.0.0 (^25)
libadalang=25.0.0 --> gnatcoll_iconv=25.0.0 (^25)
libadalang=25.0.0 --> langkit_support=25.0.0 (^25)
libadalang=25.0.0 --> libgpr2=25.0.0 (^25)
libadalang2xml=1.0.2 --> libadalang=25.0.0 (*)
libgpr=25.0.0 --> gnat=14.2.1 (gnat_native) (/=2020)
libgpr=25.0.0 --> xmlada=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnat=14.2.1 (gnat_native) (>=14)
libgpr2=25.0.0 --> gnatcoll=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnatcoll_gmp=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnatcoll_iconv=25.0.0 (~25.0.0)
prettier_ada=25.0.0 --> gnatcoll=25.0.0 (^25)
prettier_ada=25.0.0 --> vss=25.0.0 (^25)
vss=25.0.0 --> gnat=14.2.1 (gnat_native) (>=11 & <2000)
xmlada=25.0.0 --> gnat=14.2.1 (gnat_native) (>=11)
Dependencies cannot be met
LOG: