|
From: | Elias Mårtenson |
Subject: | Re: Improvements to gnuapl |
Date: | Tue, 23 Feb 2021 18:44:57 +0800 |
NARS2000-64 has already this kind of syntax while exactly having the core of gnuapl/apl2 for maybe 10 years.
if you want to experiment download it (windows only and free)
http://www.nars2000.org/download/Download.html
Xtian.
----------------------------
in feb 2015 i asked:
that said, my real question is:
how hard is it to implement the standard/or-not-as-standard-as-it-seems
:if {boolean}
do this
:else
do that
:endif
:repeat
do this
:until {boolean}
:for {var} :in {list}
do this
:endfor
:forlcl {var} :in {list}
do this
:endforlcl
I think there is a :while :endwhile too
thoses are really missing (to my point of view).
On 2021-02-23 05:09, Elias Mårtenson wrote:
> If you you want to experiment with this stuff, my project needs help. 😃
>
> Den tis 23 feb. 2021 18:07Christian Robert <christian.robert@polymtl.ca <mailto:christian.robert@polymtl.ca>> skrev:
>
> I will ask again in 6 years.
>
> Xtian.
>
> On 2021-02-22 14:36, Dr. Jürgen Sauermann wrote:
> > Hi Christian,
> >
> > I can't quite follow the argument that :IF/:ELSE etc. makes it easier for
> > newcomers to learn APL. If I remember my learning of APL some decades
> > ago correctly, then, coming straight from ALGOL and BASIC as my first
> > "high-level" languages, I was overwhelmed by the large number of symbols
> > in APL. Adding even more alternatives (read :IF/:ELSE) to the existing
> > concepts (read: →) would most likely have confused me as a newcomer
> > more than it would have helped me.
> >
> > I would also argue that a newcomer should first learn the core concepts of a
> > language before being distracted by the non-standard extensions of some
> > language dialects.
> >
> > Best Regards,
> > Jürgen
> >
> >
> > On 2/20/21 7:59 PM, Christian Robert wrote:
> >> well I saw the new thrends aka Quad-XML, Quad-JSON, Quad-FFT and so on
> >>
> >> but I think thoses will never be used in real life or quite seldom.
> >>
> >> I really think that Juergen should be looking at
> >>
> >> :if/:elseif/:else/:endif
> >>
> >> :for var :in array
> >> loop
> >> :endfor
> >>
> >> :while condition:
> >> loop
> >> :endwhile
> >>
> >> :do
> >> loop
> >> :until condition
> >>
> >> this will eases newcommers to the language.
> >>
> >> I know that APL goal is to do a whole "program" in one or two lines of code...
> >> but the language must accomodate newcommers.
> >>
> >> I asked for that several years ago (may me 8 or 10 years)
> >>
> >> Juergen ansewered at that time "this can be done" but I wont yet
> >>
> >> well my principal next improvements wish list is if/for/while/do_until
> >>
> >> my real though,
> >>
> >> Xtian.
> >>
> >
>
[Prev in Thread] | Current Thread | [Next in Thread] |