APL - A Programming Language

37 readers
1 users here now

A community for those who want to learn and use the APL array programming language. The most current and maintained open-source variant being: GNU APL

This community leans toward the POSIX APL/2 standard; APL has many newer dialects which, while powerful and innovative, are not available as open implementations and may not be officially considered standard APL, per se.

Those who wish to discuss tacit programming and other syntax constructs outside and beyond that of the APL/2 standard may wish to visit the Dyalog corporation's own website, forums and documentation as their commercial variant diverges from that of APL/2; or the APL Orchard on StackExchange.

That said, however, talk of 'child' languages such as: J, K, Q, BQN and so on are by no means discouraged!


APL Keyboard Overlays


APL Keyboard Setup for Linux


To obtain the latest GNU APL source code to build:

svn checkout http://svn.savannah.gnu.org/svn/apl/trunk

founded 5 months ago
MODERATORS
1
7
submitted 3 months ago* (last edited 3 months ago) by Arghblarg@lemmy.ca to c/APL@lemmy.ca
 
 

Whether you are an old hand at APL, or someone just discovering the language, having the symbols in the standard layout right there on your keyboard is a great help... dedicated APL keyboards are pretty expensive, so consider these stickers that let one adapt any standard desktop or laptop keyboard!

APL keyboard sticker set on Tindie

To set up your keyboard for APL programming on Linux, see here.

2
2
submitted 4 months ago* (last edited 4 months ago) by Arghblarg@lemmy.ca to c/APL@lemmy.ca
 
 

For Funtoo users, simply sudo emerge dev-lang/apl :)

3
5
submitted 5 months ago* (last edited 5 months ago) by Arghblarg@lemmy.ca to c/APL@lemmy.ca
 
 

GNU APL is easy to build on your own Linux machine, though the steps aren't detailed on the website.


Benefits of building yourself locally:

  • One can customize how many cores GNU APL has access to
  • Customizing optional extensions like PNG image, SQLite, GTK support etc.
  • Having the latest bugfixes

  1. Obtain the latest source

  2. Configure using autotools

    • cd trunk
    • make clean
    • ./configure CORE_COUNT_WANTED=3 RATIONAL_NUMBERS_WANTED=yes --with-ctrld_del

    Use ./configure --help to see other options, adjust to taste

  3. Build and install

    • make -j && sudo make install
  4. Set up your default workspace

    • cd ~
    • mkdir -p GNUAPL/workspaces

4
2
submitted 5 months ago* (last edited 1 month ago) by Arghblarg@lemmy.ca to c/APL@lemmy.ca
5
3
submitted 5 months ago* (last edited 5 months ago) by Arghblarg@lemmy.ca to c/APL@lemmy.ca