GNU APL: Difference between revisions

Jump to navigation Jump to search
808 bytes removed ,  16:42, 31 December 2019
Move Stallman to his own page
No edit summary
(Move Stallman to his own page)
Line 6: Line 6:
| unicode support          = full
| unicode support          = full
| released                = 2013
| released                = 2013
| developer                = [[GNU APL community]]
| developer                = Jürgen Sauermann, [[GNU APL community]]
| latest release version  = 1.8 / 2019
| latest release version  = 1.8 / 2019
| implementation language  = [[wikipedia:C++|C++]]
| implementation language  = [[wikipedia:C++|C++]]
Line 20: Line 20:
| run online              = [http://juergen-sauermann.de/try-GNU-APL try-GNU-APL]
| run online              = [http://juergen-sauermann.de/try-GNU-APL try-GNU-APL]
}}
}}
'''GNU APL''' is a free and (almost) complete implementation of Extended APL as specified in [[ISO/IEC 13751:2001]] and is thus similar to [[APL2]]. It runs on GNU/Linux and on Windows using Cygwin, and uses Unicode internally. GNU APL was written and is being maintained by [[Jürgen Sauermann|GNU APL community]], implementing:
'''GNU APL''' is a free and (almost) complete implementation of Extended APL as specified in [[ISO/IEC 13751:2001]] and is thus similar to [[APL2]]. It runs on GNU/Linux and on Windows using Cygwin, and uses Unicode internally. GNU APL was initially written and is being maintained by Jürgen Sauermann, implementing:


* nested arrays and related functions
* nested arrays and related functions
Line 28: Line 28:
Besides for running in the classic interactive mode locally, there is an (experimental) online version of GNU APL. In addition, GNU APL can be scripted.
Besides for running in the classic interactive mode locally, there is an (experimental) online version of GNU APL. In addition, GNU APL can be scripted.


== Richard Stallman ==
Documents on GNU APL sometimes quote [[Richard Stallman]], who both founded GNU and programmed in APL. However, Stallman is not directly associated with the project.
 
[[wikipedia:Richard Stallman|Richard Stallman]], founder of the GNU Project, was an early adopter of APL, using it to write a text editor as a high school student in the summer of 1969. The same year, he also wrote a now famous rhyme:
<blockquote>Rho, rho, rho of X<br>Always equals 1<br>Rho is dimension, rho rho rank.<br>APL is fun!</blockquote>
This plays on the fact that <source lang=apl inline>⍴X</source> gives the [[shape]] (length of each [[axis]]; "dimension") of <source lang=apl inline>X</source> while <source lang=apl inline>⍴⍴X</source> gives the [[rank]] (number of axes/dimensions) and since the number of axes is always a count, it is a single number, which has the shape <source lang=apl inline>1</source> if a [[vector]], and <source lang=apl inline>⍴</source> always returns a vector:
 
<source lang=apl>
      ⎕←X←3 1 4∘.+2 7 1 8
5 10 4 11
3  8 2  9
6 11 5 12
      ⍴X
3 4
      ⍴⍴X
2
      ⍴⍴⍴X
1
</source>


== Encoding ==
== Encoding ==

Navigation menu