comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: Put the access value
Date: Tue, 21 Apr 2020 00:07:10 -0700 (PDT)
Date: 2020-04-21T00:07:10-07:00	[thread overview]
Message-ID: <92fe38c5-ba1d-4b26-b35b-8d74b684a2ea@googlegroups.com> (raw)
In-Reply-To: <wcck129hibh.fsf@shell02.theworld.com>

> > In Ada, a pointer is not an integer and has no 'Image attribute.
> 
> Sure it does.  ;-)


Hey, that's GNAT specific again, no other compiler implements that yet ! :-)

This is very nice, indeed. We (and I would guess a lot of others) have come up with some code-generation scheme to generate those output routines for our types.
We use libadalang for now (distributed with GNAT). Although our home-made solution
is mode flexible (with binary or text output, for instance, as well as backward compatibility with older type definitions), having this service part of the compiler definitely removes some of the needs for custom frameworks...

Some of the difficulties I had in implementing the code generation was for generics and their instances, or class-wide types. Are those handled natively
by the compiler now, when using 'Image ?


Thanks for letting us know Bob

  reply	other threads:[~2020-04-21  7:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14  7:15 Put the access value ldries46
2020-04-14  7:42 ` J-P. Rosen
2020-04-18 15:08   ` Oliver Kellogg
2020-04-20 23:02   ` Robert A Duff
2020-04-21  7:07     ` briot.emmanuel [this message]
2020-04-21 22:29       ` Robert A Duff
2020-04-14 11:05 ` Jeffrey R. Carter
2020-04-14 12:09   ` ldries46
2020-04-15  7:20     ` briot.emmanuel
2020-04-15  8:02       ` AdaMagica
2020-04-15  8:51         ` J-P. Rosen
2020-04-15 16:23           ` AdaMagica
2020-04-17 14:20         ` Björn Lundin
2020-04-21 21:06           ` Randy Brukardt
2020-04-22 12:31             ` Björn Lundin
2020-04-22 17:33               ` AdaMagica
2020-04-23 11:37                 ` Björn Lundin
replies disabled

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