move apl snippet with other code
[unicode-sampler.git] / unicode.txt
index 18b1b6d0571a00c27dfcf7e6161b0d5545d5acd3..08b3201fc3c5ef1112636c17ecdca645209a9017 100644 (file)
@@ -5,6 +5,16 @@ Test support of various text encoded with Unicode up to version 8.0 (2015).
 Based on text by Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/>
 Updated by Mischa Poslawsky <http://shiar.nl/> 2015-08-19
 
+Code:
+
+  <html><pre><span class=""><!-- H&#x54;M --></span>
+
+  Hash[ :nbsp => 0O2_40 ].each {|name, cp| puts "#{name} is '#{cp.chr}'" }
+
+  perl -pe's/\w/$^=~$&>chop($^=$&.$^)?"@-":$&/ge'
+
+  ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1⌽¨⊂⍵ ⍝ game of life
+
 Mathematics and sciences:
 
   ∮ E⋅da = Q,  n → ∞, ∑ f(i) = ∏ g(i),      ⎧⎡⎛┌─────┐⎞⎤⎫
@@ -28,11 +38,6 @@ English panphone (traditional, IPA, Braille):
   ⠠⠚⠀⠵⠀⠮⠀⠠⠋⠗⠢⠡⠀⠟⠥⠑⠢⠀⠇⠕⠕⠅⠫⠀⠿⠀⠭⠂⠀⠩⠑⠀⠓⠑⠜⠙⠀⠞⠀⠎⠽⠍⠏⠓⠕⠝⠽⠀⠁⠛⠲
   ⠠⠁⠀⠃⠑⠊⠛⠑⠀⠓⠥⠑⠀⠕⠝⠀⠮⠀⠺⠁⠞⠻⠎⠀⠷⠀⠮⠀⠇⠕⠡⠀⠊⠍⠏⠗⠑⠎⠎⠫⠀⠁⠇⠇⠂⠀⠔⠉⠇⠥⠙⠬⠀⠐⠽⠀⠠⠜⠹⠥⠗⠲
 
-APL:
-
-  ((V⍳V)=⍳⍴V)/V←,V    ⌷←⍳→⍴∆∇⊃‾⍎⍕⌈
-  ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1⌽¨⊂⍵ ⍝ game of life
-
 Nicer typography in plain text files:
 
   ╔══════════════════════════════════════════╗