|
Hi Hudson, see below... /// Jürgen On 02/28/2019 11:59 PM, Hudson Flavio
Meneses Lacerda wrote:
There exist 2 left-overs from ancient APL 1 times:Hi Jürgen, a) ⍴⎕AV = 256, and b) every defined APL function contains only characters in ⎕AV (which is the essence of ⎕AV). The backgound of a) is that a character fits into a byte and this property is used by several transfer formats for APL data workspaces. In the old days there was no ⎕UCS and many APL programs used ⎕AV to programatically generate APL characters ro to write APL characters to bytes. As of today the ⎕AV of GNU APL is almost fully utilized and your proposal is impossible to implement without violating either a) or b) above. Another problem is, as you already mentioned, keyboards and, to some extent, displays. Keyboard not only means a mechanism to enter the new characters but also to find keycaps that show them. One of the things that I hated the most in old APL was the notorious character-backspace-character sequence used at that time. And the character ✀ in your example above does not display correctly in my email client and also not in my xterm (I could cut-and-paste it, though). For these reasons I believe that the amount of incompatibilities that your proposal would create is far bigger than its benefits. The )OFF proposal sounds reasonable, I will look into it.=2= EOF GNU APL might have some command-line option to --quit the program after running all the required scripts (without ')off'). Currently I use a bash script 'aplscript' that appends a file which only instruction is ')off'. Maybe also an option to load an alternative 'preferences' file (or to set individual options, like ^D tally to exit). Regarding an alternative preferences file, please note that a single preferences file can contain several profiles (selectable via command line option -p). Since this file is usually short, I find it more convenient to have one file with several profiles than several files, In particular when most options are the same in all files and only a few differ. Could you provide a reference? I never heard of Mr. or Mrs. Bergquist.=3= Optimization Questions That is just of curiosity: how do the 10 efficiency suggestions by Bergquist (p.34−37) apply to GNU APL?
Actually the small numbers look quite ugly on the vertical axis when
a lengthis 10 or more: ┌¹⁰─────────────────┐ ¹5 5 5 5 5 5 5 5 5 5│ ⁰5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ │5 5 5 5 5 5 5 5 5 5│ └───────────────────┘ An an extra space may look slightly better in case of numbers, but may confuse people when dealing with strings that often contain blanks. Right now the content of the frame is exactly what ⍕ produces, and that seems to me like a good property. And when it comes to aesthetics, I find the IBM style with → and ↓ more APL-like than the NARS style adapted in ]BOXING 21. Best, Hudson |
- [Bug-apl] miscellāneum Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] miscellāneum Dr . Jürgen Sauermann
- Re: [Bug-apl] miscellāneum Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] miscellāneum Dr . Jürgen Sauermann
- Re: [Bug-apl] miscellāneum Dr . Jürgen Sauermann
- Re: [Bug-apl] miscellāneum Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] miscellāneum Dr . Jürgen Sauermann
- Re: [Bug-apl] miscellāneum Dr . Jürgen Sauermann
- Re: [Bug-apl] miscellāneum Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] miscellāneum Dr . Jürgen Sauermann
- Re: [Bug-apl] miscellāneum Peter Teeson
