⬆️ ⬇️

High Level Programming in 1975

In 1975, the IBM 5100 was released in versions with the programming languages ​​BASIC or APL. As you can guess, as a result, the main emphasis was placed on the BASIC interpreter due to the fact that when making decisions about what to buy, the users of this PC seemed more understandable, and APL required some minimum level of entry. It is said that APL lost its popularity due to non-ascii characters, this may be partly true, but it didn’t happen at 75m.



Perhaps the history of programming languages ​​would have turned a little differently if development had gone with a focus on the APL interpreter, but all that remains is to fantasize, so I suggest simply watching how programs were written back in 1975m.



up to 5 minutes simple math.





character description:

× - multiple

÷ - divide

/ - this is foldr1

¯123 - negative number

← - define

⍳ - index generator or index search

↑ - take

↓ - drop

∧ - and

∨ - or

⌈ - max

⍴ - shape, reshape, dimension

. - inner product, i.e. combines 0 dimension of one argument and the largest dimension of another, in the case of a matrix - it turns out the rows of one with the columns of another. V fg W -> (V1 g W1) f (Vn g Wn)

∘. - outer product, i.e. the result of the combination for each argument

Y [N] - get the N'y element, you can specify N for different levels through;


')

Source: https://habr.com/ru/post/200084/



All Articles