From ec553e65e5e5a48bbeb5e8a612d91d15d39b1702 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 19 Aug 2015 09:44:30 +0200 Subject: [PATCH] ruby code for basic programming language overview Inconsequential but thematic code (encodes and displays a Unicode entity) written to include all braces (([{|}])), hash (#), and 0/O distinction. Inspired by font comparison snippets at . --- unicode.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unicode.txt b/unicode.txt index 2d14aab..4e4a360 100644 --- a/unicode.txt +++ b/unicode.txt @@ -9,6 +9,8 @@ Code:

 
+  Hash[ :nbsp => 0O2_40 ].each {|name, cp| puts "#{name} is '#{cp.chr}'" }
+
 Mathematics and sciences:
 
   ∮ E⋅da = Q,  n → ∞, ∑ f(i) = ∏ g(i),      ⎧⎡⎛┌─────┐⎞⎤⎫
-- 
2.30.0