@Adám In this particular case, 1 and 3 should both return 1, right? The visual pun with 1 is kind of nice, though 1⍨ is arguably more semantically clear, since the intent is to just "tally" the members.
Probably don't need to worry about performance, right?
Ah, okay. That's interesting. Guess ('EOL' 'LF')('NEOL'1) might be desirable, depending on semantic intent.
Testing on ~1200 grapheme lorem ipsum, however, I'm getting different results between the ascii and the zalgo versions. Really hard to visually count Zalgo text though :P
I should stop getting distracted by this :P Just got sniped by the "More information can be found in the PCRE documentation" comment in the UCP explanation.
Thank you for all the time you put in. In addition to the contents produced, it's also just really nice knowing I can always throw things in this chat and get high-quality feedback/answers.
@B.Wilson Not at the moment. I'm finishing up the array notation proposal/spec but it isn't really technical at this point. Later, I'll get involved more in the intricacies of Link and associated startup procedures which can get really hairy. And then I'll be looking at RIDE issues and what we can do to improve RIDE (feedback is always welcome). I can paste my official objectives for 2023 if you're interested.
There are also a bunch of smaller issues with various pieces of APL code. I currently have 98 internal and 17 external issues assigned to me…
115 pies! That's indeed a lot. Definitely looking forward to the Link and startup stuff.
Pretty trivial startup thing, but I was wondering why the -script flag exists at all. The first two bytes of workspace files are always 0xaa03, right?
It looks like dyalogscript's entire role is to add some extra options and then insert -script in the right place before handing the args off to dyalog.
@B.Wilson Separate executable, no? dyalogscript calls dyascript, not dyalog iirc.
Iirc, there were some intricacies in the implementation that made it easier to set up the stage before going into the interpreter, maybe something to do with the various platforms we ship on.
Speaking of debugging, let's say I start debugging some intricate function with ctrl-enter, and spend some time stepping through, executing expressions deeper in the stack. I find my issue, drop out, fix my function and then I want to start again.
Now I have to shift-ctrl-backspace through a gazillion expressions I typed whilst deeper in the stack to get back to my original expression I started debugging in the first instance.
The dyalog executable can handle it, but that doesn't start RIDE, so I agree there should be a RIDE shell command that just passes args to the interpreter.
@xpqz You mean in the interactive session? Are you suggesting that things you type while you have a stack should not be added to the session log, or maybe to a separate sub-log?
@xpqz You might be able to step out to the top level, and then continue execution from line 0. By never clearing the stack entirely, you don't even need to re-trace-into.
@B.Wilson ÐƉĐ look the same in uppercase, but all different in lowercase ðɖđ which isn't so unusual. Only the first are in Latin-1, which is basically what Dyalog allows for names.