From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Seed7 as inspiration for Ada202X Date: Sun, 22 Jun 2014 14:29:41 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: kMMTbwlmT3/jg84pSbSULw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:20509 Date: 2014-06-22T14:29:41+02:00 List-Id: Funny, it uses a syntax where type name comes first then entity name. Ex= . = `Natural: Width` instead of `Width: Natural`. That's counter intuitive, = as = with most natural languages (at least English and french), the `:` sign = = introduces explanations, details or a definition. Le Thu, 15 May 2014 15:30:41 +0200, Dan'l Miller a= = =C3=A9crit: > http://seed7.sourceforge.net/faq.htm > As seen in Seed7's FAQ and reference webpages, Seed7 has a variant of = = > some of the bold fresh features that were mentioned by various posters= = > in the recent Ada202X-wishlist thread here on comp.lang.ada. For = > example, Seed7 has: > 1) types as truly first-class citizens (as objects with stage-n+1 = > reflection of properties of types generated in stage-n) that can bloss= om = > in the next stage of: > 2) multistage programming that not only rejects modern C++'s misguided= = > poor-man's emulation of functional programming, but also fundamentally= = > integrates/imbues the concept of a generic/template throughout the res= t = > of the language, which blurs the line between: > 3) stage-n interpreter within the stage-n+1 compiler as a compile-time= = > source-code-generator-like presentation of source code to the n+1 stag= e = > that not only rejects C's, C++'s, and gnatprep's misguided preprocesso= r, = > but Seed7's breadth of compile-time variant selection/generation seems= = > to go so far as to eclipse such Ada's narrower-vision patchwork of = > discriminants and child-package substitution for tailoring source-code= = > to compile in multiple variant targets or for multiple variant = > problemspaces. > 4) extensible syntax for creating domain-specific problem-space-specif= ic = > "little languages" (=C3=A0 la OCaml & its p4), as well as a multistage= = > progression of compiler-frontends because: > 5) all statements are effectively user-defined syntax (with some basic= = > usual branching constructs provided as a sort of standard library); > 6) multiple dispatch. > > The worst complaint that I have with Seed7 is that it is not a proper = = > superset of Ada, especially regarding the lack of low-level bit & = > bit-string declarations and the apparent lack of ability to declare = > constraints on subtypes. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity