Hi,

I have not looked into Dyalogs implementation myself, but if they
have it then we should aim at being as compatible as it makes sense.
No problem if some of their capabilities are not supported (please avoid
going over the top in the GNU APL implementation)

Unfortunately ⎕R is already occupied in GNU APL (inherited from IBM APL2),
so some other name(s) are needed.

Before implementing too much in advance, it would be good to present the
intended syntax and semantics on bug-apl and solicit opinions.

/// Jürgen


On 09/22/2017 04:59 PM, Elias Mårtenson wrote:
I did not know this. I took a look at Dyalog's API and it's not possible to implement it fully, as it relies on their object oriented features. However, the basic functionality wouldn't be hard to replicate, if that is something that is desired.

Jürgen, what is your opinion on this?

On 22 September 2017 at 20:21, Jay Foad <jay.f...@gmail.com> wrote:
FYI Dyalog has operators ⎕S (search) and ⎕R (replace) which are implemented with PCRE:

      ('[Aa]..'⎕S'&')'Dyalog APL'
┌───┬───┐
│alo│APL│
└───┴───┘
      ('red' 'green'⎕R'green' 'blue')'red orange yellow green blue'
green orange yellow blue blue


Jay.


Reply via email to