From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:6214:14ae:: with SMTP id bo14mr20085083qvb.16.1610900429664; Sun, 17 Jan 2021 08:20:29 -0800 (PST) X-Received: by 2002:a25:4148:: with SMTP id o69mr31289162yba.462.1610900429496; Sun, 17 Jan 2021 08:20:29 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 17 Jan 2021 08:20:29 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=84.209.88.37; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 84.209.88.37 References: <4370e6f1-4504-4dff-8208-e1ad7eeac9a5n@googlegroups.com> <38687765-d3ee-4966-a4e3-c975bd73ceadn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7d0f4046-76e7-47ae-ab56-751941fc1a5fn@googlegroups.com> Subject: Re: ANN: Simple Components v From: reinert Injection-Date: Sun, 17 Jan 2021 16:20:29 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:61159 List-Id: I use it as part of a system processing scripts. The terms (a, b, c,..) and operations (op1, op2,...) may represent functions to be defined. reinert s=C3=B8ndag 17. januar 2021 kl. 07:54:16 UTC+1 skrev Dmitry A. Kazakov: > On 2021-01-17 06:34, reinert wrote:=20 > >>> Convert between prefix, infix, postfix notation?=20 > >> Convert what?=20 > >> --=20 > >=20 > > Here is a reference to the topic:=20 > >=20 > > https://www.geeksforgeeks.org/convert-infix-prefix-notation:=20 > >=20 > > Simple example:=20 > >=20 > > a + b <-> +(a,b) > And what is the problem? I mean this is trivial, or I do not understand= =20 > your question. > > The expressions could be more complex:=20 > >=20 > > (a op1 b op2 (c + (d op3 e))) op4 ((f op5 g) op6)=20 > >=20 > > where op1, op2 etc are operators (functions).=20 > >=20 > > This may be standard for those making compilers.=20 > > I use it to process sets (where operators are intersection, union etc)= =20 > > and a, b, c, ... above can be references to functions returning Ordered= _Sets. > I do not understand this either. Set-theoretic operations form a=20 > lattice, no different from Ada's logical operations "and", "or", "not"=20 > plus "in", "not in". Same rules. Are asking about syntax or types involve= d? > --=20 > Regards,=20 > Dmitry A. Kazakov=20 > http://www.dmitry-kazakov.de