5 ms·
Is that 425,000 lines of APL?!
by spit2wind 3y ago
Is that 425,000 lines of APL?!
- webel0 3y agoYeah, I wonder if that is 425k _formatted_ lines of APL? I'm blanking: wasn't there someone who wrote their hedge fund's entire data processing pipeline in 4 lines of APL?
- cduzz 3y agoCharacters maybe?
- rak1507 3y agoMost "production" APL is pretty verbose. See https://github.com/Dyalog/Jarvis/blob/master/Source/Jarvis.dyalog https://github.com/Dyalog/Jarvis/blob/master/Source/Jarvis.d... for example
- avgcorrection 3y agoAmong Us comment char.
- eminence32 3y agoSome of this seems readable to me (someone who's never seen APL before), but some of this is just wild: →0⍴⍨0∊⍴i←⍸127<c←⎕UCS w
- abrudz 3y agoBut to me as a relatively experienced APLer, it reads very clearly as "return if there are no non-ASCII chars in `w`" (and if there are, the indices of those chars will be stored in `i` and the code point of every char will be stored in `c`).