Digital encoding of APL symbols
The programming language APL uses a number of symbols, rather than words from natural language, to identify operations, similarly to mathematical symbols. Prior to the wide adoption of Unicode, a number of special-purpose EBCDIC and non-EBCDIC code pages were used to represent the symbols required for writing APL.
Character sets
Due to its origins on IBM Selectric-based teleprinters, APL symbols have traditionally been represented on the wire using a unique, non-standard character set. In the 1960s and 1970s, few terminal devices existed which could reproduce them, the most popular ones being the IBM 2741 and IBM 1050 fitted with a specific APL print head. Over time, with the universal use of high-quality graphic display, printing devices and Unicode support, the APL character font problem has largely been eliminated.Character repertoire
IBM assigns the following character IDs to APL syntax, which are used in the definitions of its code pages.| GCGID | IBM name | Unicode | Notes and other mappings |
| SL010000 | Up Stile | ||
| SL020000 | Down Stile | ||
| SL030000 | Del | ||
| SL040000 | Del Tilde | ||
| SL050000 | Del Stile | ||
| SL060000 | Delta | ||
| SL070000 | Delta Stile | ||
| SL080000 | Circle | This is SM750000 in a non-APL context, for example, in the C0 replacement graphics from code page 437, which code pages 907, 909 and 910 inherit some or all of, retaining SM750000 in the C0 area and also including SL080000 outside of it. Both map to U+25CB when APL is represented using Unicode characters, although SL080000 can be mapped to U+F890 in IBM's private use area scheme. Compare SL590000 through SL620000 below. | |
| SL090000 | Circle Stile | ||
| SL100000 | Circle Slope | ||
| SL110000 | Circle Star | ||
| SL120000 | Circle Bar | ||
| SL130000 | Quad Quote | ||
| SL140000 | Quad Divide | ||
| SL150000 | Slash Bar | ||
| SL160000 | Slope Bar | ||
| SL170000 | Up Caret Tilde | ||
| SL180000 | Down Caret Tilde | ||
| SL190000 | Down Tack Jot | ||
| SL200000 | Up Tack Jot | ||
| SL210000 | Up Shoe Null | ||
| SL220000 | Up Tack | ||
| SL230000 | Down Tack | ||
| SL240000 | Down Tack Up Tack | ||
| SL250000 | Jot | ||
| SL260000 | |||
| SL270000 | Quad Jot | ||
| SL280000 | Quad Slope | ||
| SL290000 | Ampersand Underbar | Not used in any documented code page. Can be represented in Unicode with the sequence &̲ | |
| SL300000 | Equal Underbar | ||
| SL310000 | OUT Symbol | none | Not used in any IBM-documented code page. IBM's reference glyph resembles oblique underlined forms of the letters O, U and T overstruck in the same character position. |
| SL320000 | Diaeresis Dot | ||
| SL330000 | Delta Underbar | ||
| SL340000 | Left Tack | ||
| SL350000 | Right Tack | ||
| SL360000 | Quad | ||
| SL370000 | Less Greater | , | |
| SL380000 | Stile | , | |
| SL400000 | Up Shoe | ||
| SL410000 | Down Shoe | ||
| SL420000 | Left Shoe | ||
| SL430000 | Right Shoe | ||
| SL440000 | Underbar | ||
| SL450000 | Diaeresis | ||
| SL460000 | Tilde | U+F88F in IBM's private use area scheme. Also mapped to, although SD190000 co-occurs at 0xA1 in code page 213. | |
| SL480000 | Circle Plus | ||
| SL490000 | Circle x | ||
| SL500000 | Down Caret | ||
| SL510000 | Up Caret | ||
| SL520000 | Less | ||
| SL530000 | Greater | ||
| SL540000 | Divide | ||
| SL550000 | Times | ||
| SL560000 | Not Greater | ||
| SL570000 | Not Less | ||
| SL580000 | Quote Dot | U+F88E in IBM's private use area scheme. SP020000 co-occurs at 0x5A in code page 293. Tachyonsoft lists for SL580000. | |
| SL590000 | Left Arrow | These arrows are SM300000, SM310000, SM320000 and SM330000 respectively in a non-APL context, for example, in the C0 replacement graphics from code page 437, which code pages 907, 909 and 910 inherit some or all of. Their APL GCGIDs can be mapped to U+F88D, U+F88C, U+F88B and U+F88A respectively in IBM's private use area scheme. Code pages 907 and 910 keep the non-APL GCGIDs for the C0 replacements but use the APL GCGIDs where the arrows appear outside of the C0 area, while code page 909 uses the APL GCGIDs multiple times, both for the C0 replacements and for between one and two occurrences of each of these arrows outside of the C0 area. Compare SL080000 above. Duplicating C0 replacement graphics outside of the C0 area is not an uncommon practice in DOS code pages: compare, for example, the pilcrow and section sign in code page 850. | |
| SL600000 | Right Arrow | These arrows are SM300000, SM310000, SM320000 and SM330000 respectively in a non-APL context, for example, in the C0 replacement graphics from code page 437, which code pages 907, 909 and 910 inherit some or all of. Their APL GCGIDs can be mapped to U+F88D, U+F88C, U+F88B and U+F88A respectively in IBM's private use area scheme. Code pages 907 and 910 keep the non-APL GCGIDs for the C0 replacements but use the APL GCGIDs where the arrows appear outside of the C0 area, while code page 909 uses the APL GCGIDs multiple times, both for the C0 replacements and for between one and two occurrences of each of these arrows outside of the C0 area. Compare SL080000 above. Duplicating C0 replacement graphics outside of the C0 area is not an uncommon practice in DOS code pages: compare, for example, the pilcrow and section sign in code page 850. | |
| SL610000 | Up Arrow | These arrows are SM300000, SM310000, SM320000 and SM330000 respectively in a non-APL context, for example, in the C0 replacement graphics from code page 437, which code pages 907, 909 and 910 inherit some or all of. Their APL GCGIDs can be mapped to U+F88D, U+F88C, U+F88B and U+F88A respectively in IBM's private use area scheme. Code pages 907 and 910 keep the non-APL GCGIDs for the C0 replacements but use the APL GCGIDs where the arrows appear outside of the C0 area, while code page 909 uses the APL GCGIDs multiple times, both for the C0 replacements and for between one and two occurrences of each of these arrows outside of the C0 area. Compare SL080000 above. Duplicating C0 replacement graphics outside of the C0 area is not an uncommon practice in DOS code pages: compare, for example, the pilcrow and section sign in code page 850. | |
| SL620000 | Down Arrow | These arrows are SM300000, SM310000, SM320000 and SM330000 respectively in a non-APL context, for example, in the C0 replacement graphics from code page 437, which code pages 907, 909 and 910 inherit some or all of. Their APL GCGIDs can be mapped to U+F88D, U+F88C, U+F88B and U+F88A respectively in IBM's private use area scheme. Code pages 907 and 910 keep the non-APL GCGIDs for the C0 replacements but use the APL GCGIDs where the arrows appear outside of the C0 area, while code page 909 uses the APL GCGIDs multiple times, both for the C0 replacements and for between one and two occurrences of each of these arrows outside of the C0 area. Compare SL080000 above. Duplicating C0 replacement graphics outside of the C0 area is not an uncommon practice in DOS code pages: compare, for example, the pilcrow and section sign in code page 850. | |
| SL630000 | Overbar | ||
| SL640000 | Slope | U+F889 in IBM's private use area scheme. Also mapped to. SM070000 co-occurs at 0x5A in code page 293. | |
| SL650000 | Star | ||
| SL660000 | Quote | ||
| SL670000 | Left Parenthesis | ||
| SL680000 | Right Parenthesis | ||
| SL690000 | Bar | ||
| SL700000 | Query | U+F888 in IBM's private use area scheme. | |
| SL710000 | Alpha | ||
| SL720000 | Epsilon | , | |
| SL730000 | Iota | ||
| SL740000 | Rho | ||
| SL750000 | Omega | ||
| SL760000 | Slash | ||
| SL770000 | Left Bracket | ||
| SL780000 | Right Bracket | ||
| SL790000 | Plus | ||
| SL800000 | Semicolon | ||
| SL810000 | Equal | ||
| SL820000 | Not Equal | ||
| SL830000 | Colon | Form with fullwidth attribute set is used for 0xA1C3 in EUC-CN. | |
| SL840000 | Dot | ||
| SL850000 | Comma | ||
| SL860000 | Iota Underbar | ||
| SL870000 | Epsilon Underbar |