comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Record operations (Algebraic Data Types and printing)
Date: Sat, 06 Oct 2018 17:56:07 +0100
Date: 2018-10-06T17:56:07+01:00	[thread overview]
Message-ID: <lyzhvrj9p4.fsf@pushface.org> (raw)
In-Reply-To: 46e2479f-a695-450f-a201-790015eddc87@googlegroups.com

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> On Friday, October 5, 2018 at 11:17:39 PM UTC-7, Henrik Härkönen wrote:
>> > Auto_Text_IO in Stephe's Ada Library[1]: might need some fixups for
>> > newer compilers/standards.
>> > 
>> > [1] http://stephe-leake.org/ada/sal.html
>> 
>> Alright, seems that there's other nice stuff too, thanks. :)
>
> That has some packages that were generated by or support auto_text_io,
> but not the actual auto_text_io code, which you need to generate a
> Text_IO package for your record types.

Oh, sorry for misleading people.

> I stopped supporting the auto_text_io tool, mostly because ASIS was
> not ported to the newer language versions.

AdaCore's ASIS still works, their own implementation to deal with modern
language versions.

> These days the best way to reimplement auto_text_io is to start with
> libadalang (https://github.com/AdaCore/libadalang). If anyone wants to
> try that, I can probably dig up the auto_text_io code.

I find libadalang a bit distressing, mostly because of the extensive
reliance on external Python utilities: from REQUIREMENTS.dev,

Mako==1.0.1
PyYAML==3.11
Sphinx==1.3.1
coverage==3.7.1
enum==0.4.6
enum34==1.1.2
psutil==3.4.2
sphinx-rtd-theme==0.1.9
funcy==1.7.1
-e git+https://github.com/AdaCore/langkit.git#egg=langkit
docutils==0.12
autopep8==1.2.4
yapf==0.16.0

and Quex.

Of course, the libraries required for GPS make a long list too.

Also, there are also difficulties using the latest Github libadalang,
which relies on a recent libgpr (more recent than the one I included
with the macOS GCC 8.1.0, but OK with GNAT CE 2018).

I suppose I just have to man up, bite the bullet, ...


  reply	other threads:[~2018-10-06 16:56 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 17:46 Record operations (Algebraic Data Types and printing) Henrik Härkönen
2018-10-05 17:58 ` AdaMagica
2018-10-05 18:11   ` Henrik Härkönen
2018-10-05 18:46     ` Niklas Holsti
2018-10-05 20:33       ` Henrik Härkönen
2018-10-06  5:38   ` J-P. Rosen
2018-10-06  7:08     ` Henrik Härkönen
2018-10-06 16:42       ` Lucretia
2018-10-08 23:08         ` Randy Brukardt
2018-10-09  1:12           ` Lucretia
2018-10-09 22:20             ` Randy Brukardt
2018-10-10  7:17               ` Dmitry A. Kazakov
2018-10-10 18:13                 ` G. B.
2018-10-10 18:36                   ` Dmitry A. Kazakov
2018-10-11 11:29                   ` Björn Lundin
2018-10-11 14:45                     ` Jacob Sparre Andersen
2018-10-11 18:34                       ` Björn Lundin
2018-10-12 19:08                     ` G. B.
2018-10-12 19:20                       ` Randy Brukardt
2018-10-11 21:32                   ` Randy Brukardt
2018-10-10 18:38                 ` Shark8
2018-10-11  8:36                   ` Dmitry A. Kazakov
2018-10-11 21:35                 ` Randy Brukardt
2018-10-12  7:14                   ` Dmitry A. Kazakov
2018-10-12 19:16                     ` Randy Brukardt
2018-10-06 16:18     ` Jeffrey R. Carter
2018-10-06 17:19       ` Dmitry A. Kazakov
2018-10-08 23:03   ` Randy Brukardt
2018-10-09  6:22     ` Henrik Härkönen
2018-10-09  7:32       ` Paul Rubin
2018-10-09  7:38         ` Henrik Härkönen
2018-10-09 22:25         ` Randy Brukardt
2018-10-05 18:32 ` Niklas Holsti
2018-10-05 18:43   ` Henrik Härkönen
2018-10-05 19:41   ` Simon Wright
2018-10-06  6:17     ` Henrik Härkönen
2018-10-06 16:04       ` Stephen Leake
2018-10-06 16:56         ` Simon Wright [this message]
2018-10-08  6:44           ` briot.emmanuel
2018-10-08 14:09             ` Simon Wright
2018-10-08 14:21               ` Bill Findlay
2018-10-08 14:42                 ` Simon Wright
2018-10-08 16:46                   ` Bill Findlay
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox