diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-28 20:56:46 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-28 21:02:27 -0500 |
| commit | 9cfc45f731a121282f47218d6ab80c5b9b06e277 (patch) | |
| tree | e5934a40c9c3e94651d767472369bfa7a38113f3 /help/genhelp.bqn | |
| parent | 0c716e4c6b7c2c44bbfd02b6503cae66af7b7480 (diff) | |
Add ;:? to keybar and help
Diffstat (limited to 'help/genhelp.bqn')
| -rwxr-xr-x | help/genhelp.bqn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/help/genhelp.bqn b/help/genhelp.bqn index 2cdfe2b6..4bf27e09 100755 --- a/help/genhelp.bqn +++ b/help/genhelp.bqn @@ -1,13 +1,16 @@ #!/usr/bin/env bqn +files ← "README.md"⊸≢¨⊸/ (⍋(¬∊⟜"_.")⊸/¨)⊸⊏ ".md"⊸(-∘≠⊸↑≡⊣)¨⊸/ •file.List "" + thing ← { data ← •FLines 𝕩 - names ← (⊣∾", "∾⊢)´{(¬·∧`' '⊸=)⊸/⌾⌽(2+⊑/':'=𝕩)↓𝕩}¨("## "≡3⊸↑)¨⊸/data + names ← (⊣∾", "∾⊢)´{(¬·∧`' '⊸=)⊸/⌾⌽(»·∧`⌾⌽':'⊸≠)⊸/𝕩}¨("## "≡3⊸↑)¨⊸/data t‿d ← ∾/¨(⊏data)=¨"()" sym ← (+`·»⊸-˝(¬»∧«)∘=⟜'`'∧⎉1"()"=⌜⊢)⊸/ 2⊑data sym (1+'|'⊸=)⊸(/+(-´"\|")×{«⊒/𝕨})↩ + sym "`,` or `⋄`"⍟("`,``⋄`"⊸≡)↩ "| " ∾ sym ∾ " | [" ∾ names ∾ "]("∾𝕩∾ ") |" -}¨•args(¬∘∊/⊣)⟨"README.md"⟩ +}¨ files head ← ⟨ "*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/index.html).*" |
