aboutsummaryrefslogtreecommitdiff
path: root/help/genhelp.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 20:13:18 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 20:14:44 -0500
commit5566ea9429f75b54a8cffb9ebea7747ea651d52c (patch)
treecb50a64656fff5c2d41a22dcd6ce553ac1bd8e2e /help/genhelp.bqn
parent3b6599b12470fe9b1321111d31c34685ffd5db52 (diff)
Editing
Diffstat (limited to 'help/genhelp.bqn')
-rwxr-xr-xhelp/genhelp.bqn9
1 files changed, 5 insertions, 4 deletions
diff --git a/help/genhelp.bqn b/help/genhelp.bqn
index b4a5b8c9..2cdfe2b6 100755
--- a/help/genhelp.bqn
+++ b/help/genhelp.bqn
@@ -1,11 +1,12 @@
-#!/usr/bin/env cbqn
+#!/usr/bin/env bqn
thing ← {
data ← •FLines 𝕩
names ← (⊣∾", "∾⊢)´{(¬·∧`' '⊸=)⊸/⌾⌽(2+⊑/':'=𝕩)↓𝕩}¨("## "≡3⊸↑)¨⊸/data
t‿d ← ∾/¨(⊏data)=¨"()"
- sym ← "`"∾˜"`"∾{'`':"` ` `"; '|':"\"∾𝕩 ; 𝕩}¯3⊑2⊑data
- •Show "| " ∾ sym ∾ " | [" ∾ names ∾ "]("∾𝕩∾ ") |"
+ sym ← (+`·»⊸-˝(¬»∧«)∘=⟜'`'∧⎉1"()"=⌜⊢)⊸/ 2⊑data
+ sym (1+'|'⊸=)⊸(/+(-´"\|")×{«⊒/𝕨})↩
+ "| " ∾ sym ∾ " | [" ∾ names ∾ "]("∾𝕩∾ ") |"
}¨•args(¬∘∊/⊣)⟨"README.md"⟩
head ← ⟨
@@ -18,4 +19,4 @@ head ← ⟨
"| Symbol | Link |"
"|--------|------|"
-"README.md" •FLines head ∾ thing #rename once you have a proper file. \ No newline at end of file
+"README.md" •FLines head ∾ thing #rename once you have a proper file.