diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-19 22:06:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-19 22:06:05 -0500 |
| commit | fbf38d70c6461de9f326575671c0b7c33cb93767 (patch) | |
| tree | 906815d6c91f9a592a17dca66531aa2a470ca836 /help/genhelp.bqn | |
| parent | 40be400ecca8c370afa31b60d8f779654b87d1b0 (diff) | |
| parent | 330846175fe6cfd52dee29e1db0d1726e31fb367 (diff) | |
Merge pull request #56 from razetime/master
fix more h2 errors, generate index for repl help, add insert page
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 |
