-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (81 loc) · 4.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<html lang="en">
<head>
<meta charset="utf-8" />
<title>SAX2 - APL font based on the font from Sharp APL for Unix</title>
<link rel="shortcut icon" href="favicon.ico"/>
<style>
@font-face {
font-family: 'SAX2';
src: url('SAX2.ttf');
}
* {
font-family: 'SAX2';
font-weight: unset;
}
h1>span {
float: right;
}
h1>span>a {
text-decoration: none;
color: #ea4aaa;
}
body {
font-size: 125%;
line-height: 1;
}
blockquote {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
text-align: justify;
font-size: 125%;
}
sup {
font-size: 50%;
}
textarea {
width: 100%;
resize: vertical;
min-height: 4em;
font-size: inherit;
}
</style>
</head>
<body>
<h1>SAX2<sup> <a href="SAX2.ttf">download</a></sup><span><sup><a href="https://github.com/abrudz/SAX2">source</a> </sup><a href="https://github.com/sponsors/abrudz" title="Sponsor">♥</a></span></h1>
<p>APL font based on the font from <a href="SAX61.pdf">Sharp APL for Unix</a>, featuring italic slab-serif/curly letters from IBM’s Selectric “Italic 12” font paired with upright digits and vertically centered symbols, thus clearly distinguishing classic confusables like Il|, Oo0, L⌊, l1, and even I⌶, ı⍳, a⍺, and w⍵.</p>
<blockquote>
<textarea autofocus placeholder="Try it yourself ― type here!" spellcheck="false"></textarea>
</blockquote>
<p>Supports every special character used by any APL implementation:</p>
<blockquote style="word-break: break-all;">+-×÷⌈⌊*⍟|!○~∨∧⍱⍲<≤=≥>≠.@≡≢⍴,⍪⍳↑↓?⍒⍋⍉⌽⊖∊⊥⊤⍎⍕⌹⊂⊃∪∩⍷⌷∘→←⎕⍞/⌿\⍀¨⍣&⍨⌶#⊆⍥⊣⊢⍠⍤⌸⌺⍸()[];⍝⋄:⍬{}∇#⍺⍵⍶⍹"ᐵᑈ√⍡⍁∙⌾⍢⍫$…⌂∞⍛⍧%⊇⍮⍭⊙⍦π⍇⍈⍐⍗λχ</blockquote>
<p>And many additional mathematical and typographical symbols:</p>
<blockquote>¦‖∤∦∫∮¬°±∓µ·∶∴∵∷¼½¾↔↕↨∉∸∽≁≂≃≄≈≉≖≣≬≮≯≰≱⊄⊅⊈⊉⊕⊖⊗⊘⊛⊻⊼⊽⋔⋜⋝⌈⌉⌊⌋◆◉●∎<br>`´¡¿‼‽⁉¢£¤¥ © ® ºª«»‘’‚‛“”„‟§¶</blockquote>
<p>Line drawing characters:</p>
<blockquote>┌─┬┐<br>
│ ││<br>
├─┼┤<br>
└─┴┘</blockquote>
<p>The full Unicode APL range, including both uppercase and lowercase underscored alphabets, and as-of-yet unused symbols:</p>
<blockquote>ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ<br>ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ<br>⌻⌼⍁⍂⍃⍄⍅⍆⍊⍌⍍⍏⍑⍓⍔⍖⍘⍚⍯⍰</blockquote>
<p>Extensive set of accented Latin letters:</p>
<blockquote style="word-break: break-all;">ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĆćĈĉĊċĖėĠġĢģĤĥĨĩİıĴĵĶķĹĺĻļŃńŅņŔŕŖŗŚśŜŝŞşŢţŨũŴŵŶŷŸŹźŻżƑƒǴǵǸǹǼǽǾǿȘșȚțȨȩȮȯ</blockquote>
<p>Sample APL code:</p>
<blockquote><pre>
w←⊃(⊃0⍴⍵){ ⍝┌┌─2─┐ monadic; use ↓
(e a)←|⍺ ⍝├ 0 0 1 1 1 dyadic; use /
T←⌽⍣(0>⊃⌽⍺) ⍝└──→⍺⍺←─────┐
Pad←⍵⍵⍉(T⊣)⍪⍵⍪(T⊢) ⍝ ┌⍺┐ ⌺ │
need←(1+e),1↓⍴⍵ ⍝ ┌─────⍵⍵──┐┘
a=0:(1↓need⍴0↑⍵)Pad(1↓need⍴0↑⊢⍵) ⍝ 0 0│1 2 3 4 5│0 0 Zero
a=1:(1↓need⍴1↑⍵)Pad(1↓need⍴1↑⊖⍵) ⍝ 1 1│1 2 3 4 5│5 5 Replicate
a=2:(⊖¯1↓need⍴⊢⍵)Pad(¯1↓need⍴⊖⍵) ⍝ 2 1│1 2 3 4 5│5 4 Reverse
a=3:(⊖⊢1↓need⍴⊢⍵)Pad(⊢1↓need⍴⊖⍵) ⍝ 3 2│1 2 3 4 5│4 3 Mirror
a=4:(⊖¯1↓need⍴⊖⍵)Pad(¯1↓need⍴⊢⍵) ⍝ 4 5│1 2 3 4 5│1 2 Wrap
}(¯1⌽⍳≢⍴⍵)/(⌽extra,¨⍺⊣0),⊂⍵ ⍝ └────⍵────┘</pre></blockquote>
<p>Sample text:</p>
<blockquote>APL (named after the book A Programming Language) is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. It uses a large range of special graphic symbols to represent most functions and operators, leading to very concise code. It has been an important influence on the development of concept modeling, spreadsheets, functional programming, and computer math packages. It has also inspired several other programming languages.</blockquote>
<p>And last, but not least, the IPSA logo:</p>
<div style="text-align: center; font-size: 1000%;">⒮</div>
</body>
</html>