3 ms·
So there are two distinct aspects to APL that make it mysterious - the semantic philosophy of array manipulation, and the syntactic philosophy of terse characte
by dTal 7y ago
So there are two distinct aspects to APL that make it mysterious - the semantic philosophy of array manipulation, and the syntactic philosophy of terse characters and very simple grammar. These are no longer unique to APL, though the combination is unique: the semantics have been copied very closely in the form of Numpy (which even adopts some of its terms, like 'roll' and 'reshape'), and terse character syntax is found in many DSLs like regex and basic math syntax (a DSL so ubiquitous that it's easy to forget that it is one).
APL makes perfect sense if you think of it as 'regex for numpy'. I'm actually quite surprised no one's made an APL->numpy syntax shim.