aboutsummaryrefslogtreecommitdiff
path: root/help/genhelp.bqn
blob: cf50c939a74d240267c7028f421b2875e158acb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env cbqn

thing  {
    data  •FLines 𝕩
    names  (⊣∾", "∾⊢)´{(¬·`' '=)/(2+⊑/':'=𝕩)𝕩}¨("## "3)¨/data
    td   ∾/¨(data)=¨"()"
    sym  "`"˜"`"{'`':"` ` `"; '|':"\"𝕩 ; 𝕩}¯32data
    •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.