« first day (1095 days earlier)      last day (24 days later) » 

3:12 AM
one sticking point for me is the way mixing nested strings pads them out to the same length with spaces; and if it did the padding with nulls instead, it would be possible to split them back to their original lengths. Presumably having the padding for character vectors be space is useful for some situations?
 
 
1 hour later…
4:19 AM
⎕←(↑⎕A (819⌶⎕A) ⎕d)∊'pretend password 1 2 3'
 
@TessellatingHeckler
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 1 1 1 0 0 1 0 0 0
0 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
 
here, say, the mix of uppercase letters, lowercase letters, and digits, has been padded to width 26, which means "space" now counts as a digit.
feel like it must be possible to use each, or rank, but can't work out how
⎕←(⎕A (819⌶⎕A) ⎕d)∊¨'pretend password 1 2 3'
 
@TessellatingHeckler
LENGTH ERROR
 
nm, just worked out how
enclose of the password string
scalar extension? not quite
 
 
14 hours later…
6:38 PM
there has been discussion previously on jelly's left-"binding" functions vs apl's right-"binding", what do you think of an apl (so right-"binding") written right-to-left?
 
7:08 PM
@JeffZeitlin Not officially, since there hasn't been much demand for it. That said, you can start dyalog from bash on Windows, and it will run in that console. Be warned, that is is extremely unstable and comes with no guarantee or support whatsoever. E.g. it will quit on any error, so it is useful to start by entering ⎕TRAP←0 'E' '↑⎕DM'.
@TessellatingHeckler TryAPL still runs 16.0 which doesn't have TAO (Total Array Ordering). You'd have to mix first.
@KritixiLithos It'd be awkward to type Latin alphabet identifiers, but I guess it'd be more natural for Hebrew and Arabic writers.
@TessellatingHeckler If you prepend a zero (or any other non-character type scalar) to each, they'll get padded with that type:
⎕←(↑0,¨⎕A (819⌶⎕A) ⎕d)∊'pretend password 1 2 3'
 
@Adám
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 1 1 1 0 0 1 0 0 0
0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 
@Adám yeah, i was also thinking of having identifiers being in hebrew/arabic, maybe abjad names are more "apl-y", eg: see identifier names in ngn/k and arcfide's code
i found myself recently doing, ⌽ <left> ∘ <left> ⍉ <left> ∘ <left> ⌽, so i thought maybe writing apl would be easier if it went right-to-left
 
@KritixiLithos However, it keeps coming back to APL reading nicely from left to right. If APL executed left to right, or if one attempts to read APL from right to left (e.g. due to the code being in Hebrew/Arabic) then if becomes very "do-y" instead of "is-y"
@KritixiLithos Yeah, me too. My home key is worn smooth. I'd still really love to try my hands on a true, and thoroughly designed, left-to-right LPA.
 
@Adám "executed left to right" left as in appearing earlier, or positionally?
 
@KritixiLithos because of that, i once thought about making a right-to-left input for apl, but it seemed too crazy
 
7:22 PM
@KritixiLithos I'm not sure what you're asking. I'm saying if 12÷3+1 gave 5.
 
@Adám what's an LPA?
 
@KritixiLithos ⌽'APL'
 
@Adám my idea was that that would give 3
in RTL languages, aren't numbers are read LTR?
 
@KritixiLithos It already gives 3, so what are you suggesting changing?
 
@dzaima i suppose you'd need a special apl to properly support that
 
7:27 PM
@KritixiLithos I don't know about Arabic, but Israelis read numbers big-endiany, though the Bible sometimes uses bing-endian, and some-times little-endian spelling.
@KritixiLithos The interpreter would be the same. It is simply an input method, no?
 
again i'm confused, by 12÷3+1 do you mean that ÷ is the second character of the program, or the 4th character? (1-indexed)
 
@KritixiLithos 3rd.
 
oops, i was in ⎕io←0 temporarily
@Adám hm i had a good reason why the interpreter would't be the same (something along multiline dfns?), but i forgot now, i have to sleep now, so i will reply tomorrow
wait maybe it is multiline dfns, well not necessarily multiline, but multi-statement
 
my idea was to completely leave the interpreter alone, just input text differently. perhaps jumping to the end on , who knows. these kind of problems are what came up
 
I guess diamonds should conveniently work in reverse, but then, you don't need diamonds; just use
 

« first day (1095 days earlier)      last day (24 days later) »