"APL, in which you can write a program to simulate shuffling a deck of cards and then dealing them out to several players in four characters, none of which appear on a standard keyboard."
— David Given
Within its chosen domain, APL is an extremely powerful, expressive and concise programming language. It was originally created as a way to express mathematical notation in a rigorous way that could be interpreted by a computer. It is easy to learn but APL programs can take some time to understand. Unlike traditional structured programming languages, code in APL is typically structured as chains of monadic or dyadicoperators acting on arrays. Because APL has so many nonstandard operators, APL does not have operator precedence. The original APL did not have control structuress (loops, if-then-else), but the array operations it included could simulate structured programming constructs. For example, the iota operator (which yields an array from 1 to N) can simulate for-loop iteration. APL systems are typically interactive.
The APL environment is called a workspace. In a workspace the user can define programs and data, i.e. the data values exists also outside the programs, and the user can manipulate the data without the necessity to define a program, for example:
The user can save the workspace with all values and programs. In any case, the programs are not compiled but interpreted.
APL is notorious for its use of a set of non-ASCII symbols that are an extension of traditional arithmetic and algebraic notation. These cryptic symbols, some have joked, make it possible to construct an entire air traffic control system in two lines of code. Because of its condensed nature and non-standard characters, APL has sometimes been termed a "write-only language", and reading an APL program can feel like decoding an alien tongue. Because of the unusual character set, many programmers used special APL keyboardss in the production of APL code. Nowadays there are various ways to write APL code using only ASCII characters.
Iverson designed a successor to APL called J which
uses ASCII "natively". So far there is a sole single source of J implementations: http://www.jsoftware.com/ Other programming languages offer functionality similar to APL. A+ is an open source programming language with many commands identical to APL.