diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-04-27 07:44:37 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-04-27 07:45:39 -0400 |
| commit | 3b44787d5b7508a5abd868c7891046576e0eab02 (patch) | |
| tree | 09209bd1b769461131af62da53bfb9edd928b7cc | |
| parent | a2d8557e3e8f58d9adfc028e66caf190d0911aca (diff) | |
Under diagram
| -rw-r--r-- | doc/under.md | 37 | ||||
| -rw-r--r-- | docs/doc/under.html | 28 |
2 files changed, 65 insertions, 0 deletions
diff --git a/doc/under.md b/doc/under.md new file mode 100644 index 00000000..23f7fe89 --- /dev/null +++ b/doc/under.md @@ -0,0 +1,37 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/doc/under.html).* + +# Under + +<!--GEN +d ← 94‿50 + +Text ← ("text" Attr "dy"‿"0.31em"∾·Pos d⊸×)⊸Enc +Path ← ("path" Attr "class"⊸⋈≍"style"‿"fill:none"˙)⊸Elt⟜("d"⊸⋈) + +vals ← ((-´"Aa")+⌽){≍⟜(𝔾¨) ⊢⋈𝔽⌾𝔾}(2↑1⊸↓) "udner" + +g ← "font-size=20px|text-anchor=middle|fill=currentColor" +rc ← At "class=code|stroke-width=1|rx=12" +fc ← "font-size=18px|font-family=BQN,monospace" + +Ge ← "g"⊸At⊸Enc +_arrow ← { + a ← ((⊢≍-⌾⊑∘⌽)÷⟜(+´⌾(ט))𝕨) +˝∘×⎉1‿∞˜ 𝕗≍-⌾⊑𝕗 + ∾"M l m l l "∾¨ FmtNum ∾⥊¨⟨𝕩-𝕨, 𝕨, -⊏a, a⟩ +} +Arr ← 15‿8 _arrow +cut ← 0.24‿0.17 +ars ← (×⟜(¬2×cut) Arr○(d⊸×) ×⟜(-cut)⊸+)¨⟜((<-1‿1)⊸++0‿0≍˘⌽) 2×=⟜<↕2 + +dim ← 5.4‿4×d +rdim ← 4‿4×d +((¯4↑d×0‿0.6)+∾÷⟜¯2‿1<20+dim) SVG g Ge ⟨ + "rect" Elt rc∾(Pos rdim÷¯2)∾"width"‿"height"≍˘FmtNum rdim + 0‿2.4 Text "Under" + "stroke-width=2.6"‿"stroke-width=2" Ge¨ "purple"‿"yellow" Path⟜∾¨ 0‿1‿1‿1⊔⥊ars + fc Ge ⟨ + "font-size=20px"⊸Ge⌾⊑ (⍉-⊸≍1.44‿1.2×⌽<⊸=↕2) Text⟜Highlight¨ "𝔽⌾𝔾"‿"𝔽"≍⋈˜"𝔾" + "class=string" Ge (⋈⌜˜-⟜¬↕2) Text¨ ⍉0‿¯1⌽¨(⌈´∘⥊≠¨)⊸(↑¨) •Repr¨ vals + ⟩ +⟩ +--> diff --git a/docs/doc/under.html b/docs/doc/under.html new file mode 100644 index 00000000..240fa324 --- /dev/null +++ b/docs/doc/under.html @@ -0,0 +1,28 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Under</title> +</head> +<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">doc</a></div> +<h1 id="under"><a class="header" href="#under">Under</a></h1> +<svg viewBox='-263.8 -110 527.6 250'> + <g font-size='20px' text-anchor='middle' fill='currentColor'> + <rect class='code' stroke-width='1' rx='12' x='-188' y='-100' width='376' height='200'/> + <text dy='0.31em' x='0' y='120'>Under</text> + <g stroke-width='2.6'><path class='purple' style='fill:none' d='M-48.88 -50l97.76 0m-15 -8l15 8l-15 8'/></g> + <g stroke-width='2'><path class='yellow' style='fill:none' d='M-48.88 50l97.76 0m-15 -8l15 8l-15 8M-94 -33l0 66m8 -15l-8 15l-8 -15M94 -33l0 66m8 -15l-8 15l-8 -15'/></g> + <g font-size='18px' font-family='BQN,monospace'> + <g font-size='20px'><text dy='0.31em' x='0' y='-72'><tspan class='Function'>𝔽</tspan><tspan class='Modifier2'>⌾</tspan><tspan class='Function'>𝔾</tspan></text></g> + <text dy='0.31em' x='0' y='72'><tspan class='Function'>𝔽</tspan></text> + <text dy='0.31em' x='-112.8' y='0'><tspan class='Function'>𝔾</tspan></text> + <text dy='0.31em' x='112.8' y='0'><tspan class='Function'>𝔾</tspan></text> + <g class='string'> + <text dy='0.31em' x='-94' y='-50'>"udner"</text> + <text dy='0.31em' x='-94' y='50'> "dn" </text> + <text dy='0.31em' x='94' y='-50'>"uNDer"</text> + <text dy='0.31em' x='94' y='50'> "ND" </text> + </g> + </g> + </g> +</svg> + |
