diff options
| author | razetime <raghuallthetime@hotmail.com> | 2022-01-20 08:31:40 +0530 |
|---|---|---|
| committer | razetime <raghuallthetime@hotmail.com> | 2022-01-20 08:31:40 +0530 |
| commit | ae513293cca5fb30dd59874e4e00c0eecab596f6 (patch) | |
| tree | 6e47996dc2dd5afed221005b1cbd604f766b379b /help/genhelp.bqn | |
| parent | 40be400ecca8c370afa31b60d8f779654b87d1b0 (diff) | |
fix more h2 errors, generate index for repl help
Diffstat (limited to 'help/genhelp.bqn')
| -rwxr-xr-x | help/genhelp.bqn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/help/genhelp.bqn b/help/genhelp.bqn new file mode 100755 index 00000000..cf50c939 --- /dev/null +++ b/help/genhelp.bqn @@ -0,0 +1,19 @@ +#!/usr/bin/env cbqn + +thing ← { + data ← •FLines 𝕩 + names ← (⊣∾", "∾⊢)´{(¬·∧`' '⊸=)⊸/⌾⌽(2+⊑/':'=𝕩)↓𝕩}¨("## "≡3⊸↑)¨⊸/data + t‿d ← ∾/¨(⊏data)=¨"()" + sym ← "`"∾˜"`"∾{'`':"` ` `"; '|':"\"∾𝕩 ; 𝕩}¯3⊑2⊑data + •Show "| " ∾ sym ∾ " | [" ∾ names ∾ "]("∾((t+1)↓d↑⊑data)∾ ") |" +}¨•args + +head ← ⟨ +"*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/index.html).*" +⟨⟩ +"# REPL Help" +⟨⟩ +"| Symbol | Link |" +"|--------|------|" +⟩ +"index.md.tmp" •FLines head ∾ thing #rename once you have a proper file.
\ No newline at end of file |
