💾 Archived View for blitter.com › apl-books › apl.maxhost.org › apl-3bsd.txt captured on 2024-05-12 at 16:35:17.

View Raw

More Information

⬅️ Previous capture (2022-07-16)

-=-=-=-=-=-=-

Notes on apl\11 for 3bsd
------------------------

/usr/ucb/apl	  executable
/usr/src/cmd/apl  source code

run make to compile (via makefile)

a p l \ 1 1    `` 1 june 1979 ``

a _ 1 2 3    assignment

5 # 3        5 multiplied by 3

a _ 2 3 .rh .it 6
b _ 3 2 .rh .it 6

a +.# b

.tr 1 2  returns 2 1

a _ 1 2 3 4
b _ 3 4 5 6
a .ep b  returns .0  .0 1.0 1.0

       &  E    and                 #    x    times
       -  -    minus               +    +    add
       <  <    less than           >    >    greater than
       =  =    equal to            ,    ,    comma
       %  /    divide              *    *    exponential (power)
       !  !    factorial and combinations    ??deal
      .le _    less than or equal  .ge  _    greater than or equal
      .ne /    not equal           .om  Z    omega (not used)
      .ep S    epsilon             .rh  K    shape (rho)
      .nt _    not (also '~')      .tk  ^    take (also '^')
      .dr      drop                .it  i    iota
      .ci O    circular function   .al  A    alpha (not used)
      .cl |    maximum (ceiling)   .fl  |    minimum (floor)
      .dl W    del (not used)      .de  [    upside down del
      .jt      small circle (null) .qd  []   quad
      .ss      right U (not used)  .sc       left U (not used)
      .si      Down U              .su  U    U (not used)
      .[^ [    upside-down del     .bv  |    decode (base)
      .rp |    encode (rep)        .br  |    residue (mod)
      .sp <-   assignment (also '_')    .go  ->goto
      .or V    or                  .nn  ~    nand
      .nr ~    nor                 .lg  O    log
      .rv |    reversal            .tr  \    transpose
      .rb      reverse bar         .cb  -    comma bar ( not used)
      .sb -    slash bar           .bb  -    blackslash bar
      .gu |    grade up            .gd  |    grade down
      .qq ['   quote quad          .dm  [:   domino
      .lm      lamp                .ib  |    I-beam
      .ex      execute (not used)  .fr       format(not used)
      .di      diamond (not used)  .ot       out (not used)