From 1a1f4a5a54494f91a91c6cc85558d5f1e62e5ca9 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 29 Jan 2022 18:01:40 -0500 Subject: Order help index table like keymap --- docs/help/index.html | 369 +++++++++++++++++++++++++-------------------------- help/README.md | 156 +++++++++++----------- help/genhelp.bqn | 10 +- 3 files changed, 266 insertions(+), 269 deletions(-) diff --git a/docs/help/index.html b/docs/help/index.html index 50372097..f1d3baaf 100644 --- a/docs/help/index.html +++ b/docs/help/index.html @@ -5,7 +5,6 @@

REPL Help

-

Symbols are listed in alphabetical order of page name, ignoring syntactical roles.

@@ -15,372 +14,372 @@ - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + +
𝔾2-Modifier Right operand
|Absolute Value, Modulus
⟜Bind, After, Dyadic After
!Assert, Assert With Message+Conjugate, Add
∘Atop, Dyadic Atop-Negate, Subtract
⊸Bind Left, Before, Dyadic BeforeΓ—Sign, Multiply
{Begin BlockΓ·Reciprocal, Divide
(Begin Expression⋆Exponential, Power
⟨Begin list√Square root, Root
⎊Catch⌊Floor, Minimum
⌈ Ceiling, Maximum
˘Cells
↩Change∧Sort Up, Logical And
β—ΆChoose∨Sort Down, Logical Or
⊐Classify, Index Of¬Logical Not, Span
#Comment|Absolute Value, Modulus
+Conjugate, Add≀Lesser Than or Equal To
Λ™Constant<Enclose, Lesser Than
π•ŠCurrent Function>Merge, Greater Than
𝕣Current Modifierβ‰₯Greater Than or Equal To
⍷Deduplicate, Find=Rank, Equal To
←Defineβ‰ Length, Not Equal To
≑ Depth, Match
βš‡Depthβ‰’Shape, Not Match
⊣Identity, Left
⊒Identity, Right
β₯Š Deshape, Reshape
¨Each∾Join, Join To
<Enclose, Lesser Than≍Solo, Couple
}End Blockβ‹ˆEnlist, Pair
)End Expression↑Prefixes, Take
⟩End list↓Suffixes, Drop
β‹ˆEnlist, Pair↕Range, Windows
⋆Exponential, PowerΒ«Shift Before, Shift Before
⇐Export Definition, Export namesΒ»Shift After, Shift After
⊏First Cell, Select⌽Reverse, Rotate
βŠ‘First, Pick⍉Transpose, Reorder Axes
⌊Floor, Minimum/Indices, Replicate
Β΄Fold, Fold With Initial⍋Grade Up, Bins Up
⍒ Grade Down, Bins Down
⍋Grade Up, Bins Up⊏First Cell, Select
β‰₯Greater Than or Equal ToβŠ‘First, Pick
βŠ”Group Indices, Group⊐Classify, Index Of
:HeaderβŠ’Occurrence Count, Progressive Index Of
⊣Identity, Left∊Mark Firsts, Member Of
⊒Identity, Right⍷Deduplicate, Find
/Indices, ReplicateβŠ”Group Indices, Group
∞Infinity!Assert, Assert With Message
˝Insert, Insert With InitialΛ™Constant
∾Join, Join To˜Self, Swap
𝕨Left Argument∘Atop, Dyadic Atop
β‰ Length, Not Equal Toβ—‹Atop, Over
≀Lesser Than or Equal To⊸Bind Left, Before, Dyadic Before
∊Mark Firsts, Member Of⟜Bind, After, Dyadic After
>Merge, Greater Than⌾Under
¯Minus⊘Valences, Dyadic Valences
𝔽Modifier Left operandβ—ΆChoose
.Namespace Field⎊Catch
-Negate, SubtractβŽ‰Rank
;Next Body˘Cells
Β·Nothingβš‡Depth
¬Logical Not, Span¨Each
@Null Character⌜Table
βŠ’Occurrence Count, Progressive Index Of⍟Repeat
β—‹Atop, Over⁼Undo
Ο€PiΒ΄Fold, Fold With Initial
?Predicate˝Insert, Insert With Initial
↑Prefixes, Take`Scan, Scan With initial
↕Range, Windows←Define
=Rank, Equal To⇐Export Definition, Export names
βŽ‰Rank↩Change
Γ·Reciprocal, Divide, or β‹„Separator
⍟Repeat.Namespace Field
⌽Reverse, Rotate(Begin Expression
𝕩Right Argument)End Expression
`Scan, Scan With initial{Begin Block
˜Self, Swap}End Block
, or β‹„Separator;Next Body
β‰’Shape, Not Match:Header
Β»Shift After, Shift After?Predicate
«Shift Before, Shift Before⟨Begin list
Γ—Sign, Multiply⟩End list
≍Solo, Coupleβ€ΏStrand
∨Sort Down, Logical Or·Nothing
∧Sort Up, Logical Andβ€’System
√Square root, Root𝕨Left Argument
β€ΏStrand𝕩Right Argument
↓Suffixes, Drop𝔽Modifier Left operand
β€’System𝔾2-Modifier Right operand
⌜Tableπ•ŠCurrent Function
⍉Transpose, Reorder Axes𝕣Current Modifier
⌾Under¯Minus
⁼UndoΟ€Pi
⊘Valences, Dyadic Valences∞Infinity
@Null Character
#Comment
diff --git a/help/README.md b/help/README.md index 011d7459..16a194e7 100644 --- a/help/README.md +++ b/help/README.md @@ -2,99 +2,97 @@ # REPL Help -Symbols are listed in alphabetical order of page name, ignoring syntactical roles. - | Symbol | Link | |--------|------| -| `𝔾` | [2-Modifier Right operand](2-modifierrightoperand.md) | -| `\|` | [Absolute Value, Modulus](absolutevalue_modulus.md) | -| `⟜` | [Bind, After, Dyadic After](after_bind.md) | -| `!` | [Assert, Assert With Message](assert_assertwithmessage.md) | -| `∘` | [Atop, Dyadic Atop](atop.md) | -| `⊸` | [Bind Left, Before, Dyadic Before](before_bind.md) | -| `{` | [Begin Block](beginblock.md) | -| `(` | [Begin Expression](beginexpression.md) | -| `⟨` | [Begin list](beginlist.md) | -| `⎊` | [Catch](catch.md) | -| `⌈` | [Ceiling, Maximum](ceiling_maximum.md) | -| `˘` | [Cells](cells.md) | -| `↩` | [Change](change.md) | -| `β—Ά` | [Choose](choose.md) | -| `⊐` | [Classify, Index Of](classify_indexof.md) | -| `#` | [Comment](comment.md) | | `+` | [Conjugate, Add](conjugate_add.md) | -| `Λ™` | [Constant](constant.md) | -| `π•Š` | [Current Function](currentfunction.md) | -| `𝕣` | [Current Modifier](currentmodifier.md) | -| `⍷` | [Deduplicate, Find](deduplicate_find.md) | -| `←` | [Define](define.md) | -| `≑` | [Depth, Match](depth_match.md) | -| `βš‡` | [Depth](depth.md) | -| `β₯Š` | [Deshape, Reshape](deshape_reshape.md) | -| `Β¨` | [Each](each.md) | -| `<` | [Enclose, Lesser Than](enclose_lessthan.md) | -| `}` | [End Block](endblock.md) | -| `)` | [End Expression](endexpression.md) | -| `⟩` | [End list](endlist.md) | -| `β‹ˆ` | [Enlist, Pair](enlist_pair.md) | +| `-` | [Negate, Subtract](negate_subtract.md) | +| `Γ—` | [Sign, Multiply](sign_multiply.md) | +| `Γ·` | [Reciprocal, Divide](reciprocal_divide.md) | | `⋆` | [Exponential, Power](exponential_power.md) | -| `⇐` | [Export Definition, Export names](export.md) | -| `⊏` | [First Cell, Select](firstcell_select.md) | -| `βŠ‘` | [First, Pick](first_pick.md) | +| `√` | [Square root, Root](squareroot_root.md) | | `⌊` | [Floor, Minimum](floor_minimum.md) | -| `Β΄` | [Fold, Fold With Initial](fold.md) | -| `⍒` | [Grade Down, Bins Down](gradedown_binsdown.md) | -| `⍋` | [Grade Up, Bins Up](gradeup_binsup.md) | +| `⌈` | [Ceiling, Maximum](ceiling_maximum.md) | +| `∧` | [Sort Up, Logical And](sortup_and.md) | +| `∨` | [Sort Down, Logical Or](sortdown_or.md) | +| `Β¬` | [Logical Not, Span](not_span.md) | +| `\|` | [Absolute Value, Modulus](absolutevalue_modulus.md) | +| `≀` | [Lesser Than or Equal To](lessthanorequalto.md) | +| `<` | [Enclose, Lesser Than](enclose_lessthan.md) | +| `>` | [Merge, Greater Than](merge_greaterthan.md) | | `β‰₯` | [Greater Than or Equal To](greaterthanorequalto.md) | -| `βŠ”` | [Group Indices, Group](groupindices_group.md) | -| `:` | [Header](header.md) | +| `=` | [Rank, Equal To](rank_equals.md) | +| `β‰ ` | [Length, Not Equal To](length_notequals.md) | +| `≑` | [Depth, Match](depth_match.md) | +| `β‰’` | [Shape, Not Match](shape_notmatch.md) | | `⊣` | [Identity, Left](identity_left.md) | | `⊒` | [Identity, Right](identity_right.md) | -| `/` | [Indices, Replicate](indices_replicate.md) | -| `∞` | [Infinity](infinity.md) | -| `˝` | [Insert, Insert With Initial](insert.md) | +| `β₯Š` | [Deshape, Reshape](deshape_reshape.md) | | `∾` | [Join, Join To](join_jointo.md) | -| `𝕨` | [Left Argument](leftargument.md) | -| `β‰ ` | [Length, Not Equal To](length_notequals.md) | -| `≀` | [Lesser Than or Equal To](lessthanorequalto.md) | -| `∊` | [Mark Firsts, Member Of](markfirst_memberof.md) | -| `>` | [Merge, Greater Than](merge_greaterthan.md) | -| `Β―` | [Minus](minus.md) | -| `𝔽` | [Modifier Left operand](modifierleftoperand.md) | -| `.` | [Namespace Field](namespacefield.md) | -| `-` | [Negate, Subtract](negate_subtract.md) | -| `;` | [Next Body](nextbody.md) | -| `Β·` | [Nothing](nothing.md) | -| `Β¬` | [Logical Not, Span](not_span.md) | -| `@` | [Null Character](nullcharacter.md) | -| `βŠ’` | [Occurrence Count, Progressive Index Of](occurrencecount_progressiveindexof.md) | -| `β—‹` | [Atop, Over](over.md) | -| `Ο€` | [Pi](pi.md) | -| `?` | [Predicate](predicate.md) | +| `≍` | [Solo, Couple](solo_couple.md) | +| `β‹ˆ` | [Enlist, Pair](enlist_pair.md) | | `↑` | [Prefixes, Take](prefixes_take.md) | +| `↓` | [Suffixes, Drop](suffixes_drop.md) | | `↕` | [Range, Windows](range_windows.md) | -| `=` | [Rank, Equal To](rank_equals.md) | +| `Β«` | [Shift Before, Shift Before](shiftbefore.md) | +| `Β»` | [Shift After, Shift After](shiftafter.md) | +| `⌽` | [Reverse, Rotate](reverse_rotate.md) | +| `⍉` | [Transpose, Reorder Axes](transpose_reorderaxes.md) | +| `/` | [Indices, Replicate](indices_replicate.md) | +| `⍋` | [Grade Up, Bins Up](gradeup_binsup.md) | +| `⍒` | [Grade Down, Bins Down](gradedown_binsdown.md) | +| `⊏` | [First Cell, Select](firstcell_select.md) | +| `βŠ‘` | [First, Pick](first_pick.md) | +| `⊐` | [Classify, Index Of](classify_indexof.md) | +| `βŠ’` | [Occurrence Count, Progressive Index Of](occurrencecount_progressiveindexof.md) | +| `∊` | [Mark Firsts, Member Of](markfirst_memberof.md) | +| `⍷` | [Deduplicate, Find](deduplicate_find.md) | +| `βŠ”` | [Group Indices, Group](groupindices_group.md) | +| `!` | [Assert, Assert With Message](assert_assertwithmessage.md) | +| `Λ™` | [Constant](constant.md) | +| `˜` | [Self, Swap](self_swap.md) | +| `∘` | [Atop, Dyadic Atop](atop.md) | +| `β—‹` | [Atop, Over](over.md) | +| `⊸` | [Bind Left, Before, Dyadic Before](before_bind.md) | +| `⟜` | [Bind, After, Dyadic After](after_bind.md) | +| `⌾` | [Under](under.md) | +| `⊘` | [Valences, Dyadic Valences](valences.md) | +| `β—Ά` | [Choose](choose.md) | +| `⎊` | [Catch](catch.md) | | `βŽ‰` | [Rank](rank.md) | -| `Γ·` | [Reciprocal, Divide](reciprocal_divide.md) | +| `˘` | [Cells](cells.md) | +| `βš‡` | [Depth](depth.md) | +| `Β¨` | [Each](each.md) | +| `⌜` | [Table](table.md) | | `⍟` | [Repeat](repeat.md) | -| `⌽` | [Reverse, Rotate](reverse_rotate.md) | -| `𝕩` | [Right Argument](rightargument.md) | +| `⁼` | [Undo](undo.md) | +| `Β΄` | [Fold, Fold With Initial](fold.md) | +| `˝` | [Insert, Insert With Initial](insert.md) | | `` ` `` | [Scan, Scan With initial](scan.md) | -| `˜` | [Self, Swap](self_swap.md) | +| `←` | [Define](define.md) | +| `⇐` | [Export Definition, Export names](export.md) | +| `↩` | [Change](change.md) | | `,` or `β‹„` | [Separator](separator.md) | -| `β‰’` | [Shape, Not Match](shape_notmatch.md) | -| `Β»` | [Shift After, Shift After](shiftafter.md) | -| `Β«` | [Shift Before, Shift Before](shiftbefore.md) | -| `Γ—` | [Sign, Multiply](sign_multiply.md) | -| `≍` | [Solo, Couple](solo_couple.md) | -| `∨` | [Sort Down, Logical Or](sortdown_or.md) | -| `∧` | [Sort Up, Logical And](sortup_and.md) | -| `√` | [Square root, Root](squareroot_root.md) | +| `.` | [Namespace Field](namespacefield.md) | +| `(` | [Begin Expression](beginexpression.md) | +| `)` | [End Expression](endexpression.md) | +| `{` | [Begin Block](beginblock.md) | +| `}` | [End Block](endblock.md) | +| `;` | [Next Body](nextbody.md) | +| `:` | [Header](header.md) | +| `?` | [Predicate](predicate.md) | +| `⟨` | [Begin list](beginlist.md) | +| `⟩` | [End list](endlist.md) | | `β€Ώ` | [Strand](strand.md) | -| `↓` | [Suffixes, Drop](suffixes_drop.md) | +| `Β·` | [Nothing](nothing.md) | | `β€’` | [System](system.md) | -| `⌜` | [Table](table.md) | -| `⍉` | [Transpose, Reorder Axes](transpose_reorderaxes.md) | -| `⌾` | [Under](under.md) | -| `⁼` | [Undo](undo.md) | -| `⊘` | [Valences, Dyadic Valences](valences.md) | +| `𝕨` | [Left Argument](leftargument.md) | +| `𝕩` | [Right Argument](rightargument.md) | +| `𝔽` | [Modifier Left operand](modifierleftoperand.md) | +| `𝔾` | [2-Modifier Right operand](2-modifierrightoperand.md) | +| `π•Š` | [Current Function](currentfunction.md) | +| `𝕣` | [Current Modifier](currentmodifier.md) | +| `Β―` | [Minus](minus.md) | +| `Ο€` | [Pi](pi.md) | +| `∞` | [Infinity](infinity.md) | +| `@` | [Null Character](nullcharacter.md) | +| `#` | [Comment](comment.md) | diff --git a/help/genhelp.bqn b/help/genhelp.bqn index 4bf27e09..71251d01 100755 --- a/help/genhelp.bqn +++ b/help/genhelp.bqn @@ -1,15 +1,17 @@ #!/usr/bin/env bqn files ← "README.md"βŠΈβ‰’Β¨βŠΈ/ (⍋(¬∊⟜"_.")⊸/Β¨)⊸⊏ ".md"⊸(-βˆ˜β‰ βŠΈβ†‘β‰‘βŠ£)¨⊸/ β€’file.List "" +gl ← "+-Γ—Γ·β‹†βˆšβŒŠβŒˆβˆ§βˆ¨Β¬|≀<>β‰₯=β‰ β‰‘β‰’βŠ£βŠ’β₯ŠβˆΎβ‰β‹ˆβ†‘β†“β†•Β«Β»βŒ½β‰/β‹β’βŠβŠ‘βŠβŠ’βˆŠβ·βŠ”!Λ™Λœβˆ˜β—‹βŠΈβŸœβŒΎβŠ˜β—ΆβŽŠβŽ‰Λ˜βš‡Β¨βŒœβŸβΌΒ΄Λ`←⇐↩⋄,.(){};:?βŸ¨βŸ©β€ΏΒ·β€’π•¨π•Žπ•©π•π•—π”½π•˜π”Ύπ•€π•Šπ•£Β―Ο€βˆž@#" -thing ← { +rows ← (⍋gl⊸⊐)βŠΈβŠΛβ‰> { data ← β€’FLines 𝕩 names ← (⊣∾", "∾⊒)Β΄{(¬·∧`' '⊸=)⊸/⌾⌽(»·∧`⌾⌽':'βŠΈβ‰ )⊸/𝕩}Β¨("## "≑3βŠΈβ†‘)¨⊸/data tβ€Ώd ← ∾/Β¨(⊏data)=Β¨"()" sym ← (+`·»⊸-˝(¬»∧«)∘=⟜'`'βˆ§βŽ‰1"()"=⌜⊒)⊸/ 2βŠ‘data + g ← 1βŠ‘sym sym (1+'|'⊸=)⊸(/+(-Β΄"\|")Γ—{Β«βŠ’/𝕨})↩ sym "`,` or `β‹„`"⍟("`,``β‹„`"βŠΈβ‰‘)↩ - "| " ∾ sym ∾ " | [" ∾ names ∾ "]("βˆΎπ•©βˆΎ ") |" + ⟨g, ∾"| "β€Ώsymβ€Ώ" | ["β€Ώnamesβ€Ώ"]("‿𝕩‿") |"⟩ }Β¨ files head ← ⟨ @@ -17,9 +19,7 @@ head ← ⟨ ⟨⟩ "# REPL Help" ⟨⟩ -"Symbols are listed in alphabetical order of page name, ignoring syntactical roles." -⟨⟩ "| Symbol | Link |" "|--------|------|" ⟩ -"README.md" β€’FLines head ∾ thing #rename once you have a proper file. +"README.md" β€’FLines head ∾ rows -- cgit v1.2.3