comp.lang.ada
 help / color / mirror / Atom feed
From: Olivier Henley <olivier.henley@gmail.com>
Subject: Re: Compile-time function execution.
Date: Thu, 15 Jun 2017 14:38:32 -0700 (PDT)
Date: 2017-06-15T14:38:32-07:00	[thread overview]
Message-ID: <21e06913-e5b0-4f9b-ba6c-ed65bfa6b950@googlegroups.com> (raw)
In-Reply-To: <5307045c-c829-4183-908c-107293b66b40@googlegroups.com>

On Monday, June 5, 2017 at 7:49:14 PM UTC-4, Shark8 wrote:
> I recently came across this article describing a compile-time sort in D -- https://dlang.org/blog/2017/06/05/compile-time-sort-in-d/ -- and vaguely recall reading something on how Ada could have compile-time execution of functions too.
> 
> Does anyone have a similar example in Ada?

Speaking of which: https://hookrace.net/blog/what-is-special-about-nim/

It covers short and sweet, CTFE, Template and Macros(analyze and manipulate the AST) in Nim. Great stuff.


  parent reply	other threads:[~2017-06-15 21:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05 23:49 Compile-time function execution Shark8
2017-06-06 13:15 ` AdaMagica
2017-06-15 21:38 ` Olivier Henley [this message]
2017-06-18  0:49 ` Ivan Levashev
replies disabled

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