aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/bqn.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/bqn.js b/docs/bqn.js
index eeafb354..4e686bd3 100644
--- a/docs/bqn.js
+++ b/docs/bqn.js
@@ -424,9 +424,9 @@ let bqn = bqngen(compile, rt_sys);
// Formatter
let fmtnum = x => str(x==Infinity ? "∞" : x==-Infinity ? "¯∞"
: (""+x).replace(/-/g,"¯").replace(/\+/g,""));
-let placeholder = ["array","function","1-modifier","2-modifier","namespace"]
- .map(s => str("*"+s+"*"));
-let repop = x => glyph[x] || placeholder[type(x)-2];
+let placeholder = ["array","function","1-modifier","2-modifier"].map(s => str("*"+s+"*"));
+let repop = x => x.ns ? str("{"+listkeys(x).map(s=>s.join("")).join("‿")+"⇐}")
+ : glyph[x] || placeholder[type(x)-2];
let [fmt1,repr] = run(
[15,1,25,31,0,1,22,0,3,22,0,4,22,0,5,22,0,6,4,4,11,14,0,67,0,15,0,18,0,18,10,0,40,0,68,8,3,2,0,43,0,10,0,40,0,58,8,8,21,0,6,3,2,0,43,0,58,0,41,0,8,8,8,22,0,7,11,14,15,2,22,0,8,11,14,0,11,0,8,0,50,10,0,45,15,3,8,22,0,9,11,14,15,4,22,0,10,11,14,15,5,22,0,11,11,14,15,6,15,7,3,2,0,43,15,8,0,49,3,2,0,43,0,10,0,41,0,10,0,40,0,49,8,0,39,0,7,8,8,8,8,22,0,12,11,14,0,77,0,19,0,76,6,15,9,15,10,3,2,0,43,0,10,0,11,0,46,10,0,7,0,11,0,10,0,50,10,10,8,3,2,0,43,0,14,0,14,0,46,0,46,3,2,10,8,22,0,13,11,14,15,11,22,0,14,11,14,15,12,22,0,15,11,14,15,13,15,14,15,15,3,3,0,43,0,30,0,58,7,0,8,0,17,10,0,38,0,35,0,0,7,0,12,0,0,0,8,0,40,0,46,8,10,0,10,10,8,8,22,0,16,11,14,21,0,7,0,19,9,31,0,16,21,0,15,3,2,0,43,0,34,21,0,3,7,0,12,0,55,10,0,17,0,38,0,35,0,7,7,8,9,8,21,0,15,3,3,0,43,0,13,0,3,0,50,10,8,22,0,17,11,14,15,16,22,0,18,11,14,0,85,22,0,19,11,14,0,16,0,38,0,28,8,21,0,5,9,21,0,19,3,2,0,43,0,50,0,41,0,11,8,8,21,0,18,21,0,17,0,38,31,0,19,0,27,3,2,0,43,0,10,0,11,0,49,10,8,8,8,0,28,0,49,10,0,19,9,22,0,20,11,14,0,16,0,16,31,0,17,9,31,0,20,3,2,0,43,0,15,0,12,0,55,10,8,21,0,3,10,22,0,21,11,14,15,17,22,0,22,11,14,0,69,0,16,0,15,0,18,0,16,0,26,0,11,0,0,0,49,10,10,10,0,18,0,15,10,0,66,10,0,33,21,0,7,0,18,0,78,10,7,0,18,9,0,21,0,49,10,0,33,21,0,22,0,18,0,86,10,7,0,18,9,0,23,0,71,10,0,18,0,70,10,3,3,0,43,0,34,21,0,3,7,0,31,0,27,7,0,50,0,17,0,56,6,0,24,0,50,0,49,0,46,3,3,6,10,0,35,0,4,7,9,8,3,2,0,43,0,10,0,8,0,46,10,8,22,0,23,11,14,0,28,0,38,21,0,22,8,0,18,0,87,10,21,0,23,0,17,31,0,23,0,39,0,18,0,40,0,88,0,41,0,18,8,8,8,0,14,10,3,3,0,43,0,11,0,3,0,50,10,8,22,0,24,11,14,31,0,7,31,0,24,3,2,0,43,21,0,3,0,11,0,46,10,8,22,0,25,11,14,0,30,0,46,7,0,29,0,89,10,31,0,18,31,0,22,8,0,28,0,49,10,22,0,26,11,14,0,16,0,16,31,0,25,9,31,0,26,3,2,0,43,0,15,0,12,0,55,10,8,21,0,3,10,22,0,27,11,14,21,0,21,0,38,0,32,0,57,0,0,0,58,6,0,41,0,18,8,7,8,0,17,9,0,21,0,47,10,21,0,27,3,2,25,0,49,0,33,0,20,7,31,0,1,0,1,5,6,0,25,0,42,0,37,0,31,0,34,0,2,7,7,7,8,5,0,35,0,47,0,48,3,2,0,44,0,0,8,7,31,0,2,17,0,17,5,0,28,0,40,0,47,8,0,42,0,46,8,5,25,21,0,1,0,14,5,0,21,0,47,6,22,0,3,11,0,4,0,49,6,21,1,8,5,22,0,4,11,14,15,18,22,0,5,11,14,21,0,1,0,17,31,0,1,0,14,5,0,20,0,47,6,0,18,31,0,3,0,35,0,2,7,5,6,6,0,20,0,40,0,35,0,0,7,8,31,0,5,3,2,0,43,0,16,0,38,0,10,8,0,8,0,46,10,8,31,0,4,6,25,21,0,1,0,17,5,0,33,0,30,0,59,7,0,17,0,14,0,28,0,47,10,0,41,0,19,8,10,0,18,0,16,10,7,31,0,1,0,14,5,21,1,8,0,49,6,6,0,18,5,25,0,59,0,17,21,0,1,0,10,5,31,0,2,3,2,6,22,0,3,11,14,21,0,3,31,0,1,31,0,3,3,3,0,19,5,0,18,5,25,0,71,0,18,31,0,1,0,27,5,0,21,0,49,6,0,21,0,47,6,6,0,18,0,70,6,0,19,5,25,21,0,1,0,14,5,0,28,0,47,6,22,0,3,11,14,0,72,21,0,2,0,16,0,3,0,49,10,0,31,0,27,7,0,73,10,0,17,9,21,1,6,3,2,0,43,0,8,0,40,0,51,8,8,16,3,2,0,18,5,0,20,21,0,3,6,0,19,5,31,0,1,0,28,0,42,0,74,0,28,0,49,0,1,31,0,2,17,0,3,0,52,6,0,4,0,46,6,6,8,5,0,75,0,20,0,40,0,1,8,31,0,3,6,0,19,5,3,3,0,18,5,25,31,0,1,0,27,5,0,34,0,11,7,0,69,6,0,36,0,1,7,5,0,37,0,0,7,5,0,11,0,50,6,0,35,0,7,7,5,25,31,0,1,0,33,0,59,7,5,21,1,11,0,49,6,21,1,12,0,50,6,0,28,0,40,0,46,0,47,3,2,8,0,42,0,60,8,5,25,31,0,1,0,14,5,0,69,0,33,21,1,6,7,0,33,0,18,0,40,0,78,8,7,9,0,18,9,0,28,0,42,0,61,8,9,3,2,0,43,0,10,0,8,0,49,10,8,5,0,19,5,25,21,0,1,0,33,0,14,7,5,22,0,3,11,14,21,0,3,0,33,0,28,7,0,49,6,0,17,0,30,0,49,7,0,1,0,11,10,0,45,0,36,0,4,7,8,3,2,0,43,0,11,0,8,0,46,10,8,5,22,0,4,11,14,31,0,3,0,33,0,28,7,5,0,11,0,8,0,46,10,0,45,0,49,0,44,0,36,0,4,7,8,8,5,22,0,5,11,14,31,0,1,0,33,0,20,7,0,49,0,20,21,0,4,0,10,5,0,2,21,0,2,17,0,1,5,6,0,6,31,0,4,6,0,2,31,0,2,17,0,34,0,19,7,21,0,5,6,6,0,11,0,1,0,50,10,0,4,0,46,10,0,45,0,19,8,5,0,50,0,44,0,18,0,38,0,8,8,8,5,22,0,6,11,14,31,0,6,21,1,10,0,9,0,38,21,1,9,8,3,2,0,43,31,0,5,0,17,5,0,13,0,40,0,25,0,40,0,49,8,8,5,8,5,21,1,11,0,50,6,25,21,0,1,0,33,21,1,21,7,5,21,1,14,0,49,0,15,31,0,2,17,6,21,1,12,31,0,1,0,11,5,6,25,21,0,1,0,11,5,22,0,3,11,14,0,79,0,16,0,42,21,0,1,8,5,0,21,0,46,6,22,0,1,12,14,21,0,1,0,14,5,0,21,0,47,6,22,0,4,11,0,10,5,0,1,5,0,11,0,40,0,46,8,0,45,0,48,8,5,22,0,5,11,14,21,0,3,0,8,0,46,6,0,31,0,28,7,0,80,6,22,0,6,11,14,15,19,22,0,7,11,14,21,0,1,0,26,0,40,0,16,0,11,21,0,6,10,0,0,0,49,10,8,31,0,7,3,2,0,43,21,0,3,0,10,0,49,6,8,5,22,0,1,12,14,21,0,6,0,20,0,40,0,1,8,21,0,4,6,21,0,5,0,44,0,18,8,31,0,1,6,31,0,5,0,44,0,18,8,0,64,0,20,21,0,4,0,18,0,49,6,0,28,0,47,6,6,0,17,31,0,4,6,0,28,0,42,31,0,6,8,5,6,0,19,5,21,0,3,0,10,0,49,6,0,45,21,1,9,21,1,11,0,49,10,21,1,12,31,0,3,10,8,5,25,31,0,1,21,1,15,21,1,13,3,2,0,43,0,14,0,11,0,46,10,0,35,0,7,7,9,8,5,25,31,0,1,21,1,15,0,47,6,25,0,16,0,16,31,0,4,9,0,8,0,39,0,19,8,0,46,10,31,0,0,3,2,0,43,0,15,0,12,0,55,10,8,21,1,3,10,22,0,6,11,14,21,0,1,21,1,4,5,22,0,7,11,0,28,5,22,0,8,11,14,0,65,0,1,0,81,6,0,28,21,0,8,6,22,0,9,11,14,0,83,0,41,0,18,8,0,18,0,82,10,22,0,10,11,14,0,16,0,33,31,0,6,0,41,0,28,0,40,0,49,8,0,15,0,12,21,0,9,0,3,0,50,6,10,0,45,0,16,0,38,31,0,10,8,8,0,28,0,41,0,0,8,10,8,7,0,10,0,38,0,22,8,0,11,0,46,10,0,1,9,0,49,0,9,21,0,9,6,0,45,0,25,8,9,10,0,18,9,22,0,11,11,14,21,0,7,0,21,0,49,6,0,30,31,0,1,7,21,1,5,0,38,0,17,8,9,0,16,31,0,5,31,0,2,19,31,0,11,3,3,0,43,31,0,8,0,5,5,0,3,0,50,6,8,5,22,0,12,11,14,21,0,12,21,0,9,0,12,0,50,6,0,45,0,30,31,0,7,7,0,28,0,47,10,21,1,3,9,0,9,0,55,10,0,45,0,84,0,41,0,18,8,8,8,5,22,0,12,12,14,31,0,9,31,0,12,3,2,25,31,0,1,21,1,27,5,25,31,0,1,0,18,0,40,0,27,0,38,0,33,0,59,7,8,8,5,0,27,31,0,2,0,0,0,49,17,0,18,0,46,17,0,26,16,0,2,0,40,0,8,0,40,0,24,8,8,16,17,25,0,54,0,0,0,58,6,0,8,21,0,1,6,0,2,0,58,0,1,0,63,6,6,0,0,0,53,0,0,0,58,6,0,16,0,1,0,62,10,0,2,0,11,10,21,0,1,6,6,0,0,31,0,1,6,25]
,[runtime[0],runtime[1],runtime[2],runtime[6],runtime[7],runtime[8],runtime[9],runtime[11],runtime[12],runtime[13],runtime[14],runtime[15],runtime[16],runtime[18],runtime[19],runtime[20],runtime[21],runtime[22],runtime[23],runtime[24],runtime[25],runtime[26],runtime[27],runtime[28],runtime[29],runtime[30],runtime[32],runtime[35],runtime[36],runtime[42],runtime[43],runtime[44],runtime[45],runtime[46],runtime[47],runtime[49],runtime[50],runtime[51],runtime[52],runtime[53],runtime[54],runtime[55],runtime[56],runtime[58],runtime[59],runtime[61],0,-1,Infinity,1,2,5,4,127,32,3,7,10,'\0',' ','┐','↕','␡','␀','·','0','\"',str("@"),str("\'"),str("⟨⟩"),str("⟨"),str("⟩"),str("┌"),str("·─"),str("·╵╎┆┊"),str("┘"),str("┌┐"),str("└┘"),str("‿"),str(""),str("\'\""),str("00321111"),str("("),str(")"),str("{𝔽}"),str("*array*"),str(","),str("<"),str("⥊"),str("Can\'t represent block")]