|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] Feature suggestion: multiple function arguments |
Date: | Wed, 16 Mar 2016 13:17:36 +0800 |
On Tue, Mar 15, 2016 at 11:35:59AM +0800, Elias Mårtenson wrote:
The lexical rewriter could be a plugin, but it could also be an APL function. Imagine being able to assign an APL function to quad-SOMETHINGOROTHER to define your own local syntax. You'd still be running APL2 code under the covers, but you'd be able to define your own syntax for anything that can be rewritten (presumably less conveniently) in APL2. Remember that the rewriter would have full access to the underlying APL2 interpreter, so you'd be able write entire programs to support the processing of some new syntax.
(If the above sounds familiar, it's probably because it's an amalgamation of ideas from Lisp.)
Also, quad-SOMETHINGOROTHER would be a nightmare in shared code unless there was a good way to support localization (in the APL sense, not the I18N sense).
> Jürgen has previously explained that there are technical difficulties
> in expanding the character repertoire outside 255 characters, but I
> still feel this is one old limitation that deserves being eliminated.
I understand why we need to limit quad-AV to 256 elements. But what about composed characters? Would it be enough to alias the Unicode "compose" codepoint to the ASCII "backspace" (that is already, I'm assuming, in quad-AV...)?
[Prev in Thread] | Current Thread | [Next in Thread] |