all repos — min @ f81d151c5e8ae4c9c6ff0059fedc172ee331d407

A small but practical concatenative programming language.

Fixes
h3rald h3rald@h3rald.com
Sat, 23 Jan 2021 16:43:45 +0000
commit

f81d151c5e8ae4c9c6ff0059fedc172ee331d407

parent

8fbcb2121a6ed289c38056c9c6f4c5a726773745

3 files changed, 5 insertions(+), 5 deletions(-)

jump to
M site/contents/learn-operators.mdsite/contents/learn-operators.md

@@ -32,7 +32,7 @@ ;; Calculates the square of n.

In this case, note how inputs and outputs are captured into the `n` and `result` symbols in the signature quotation and then referenced in the body quotation. Sure, the original version was much more succinct, but this is definitely more readable. -Also, symbols defined with the {#link-operator||lang||operator#} symbol can be annotated with documentation comments (starting with `;;` or wrapped in `#| ... |#`)`) so that a help text can be displayed using the {#link-operator||lang||help#} symbol. +Also, symbols defined with the {#link-operator||lang||operator#} symbol can be annotated with documentation comments (starting with `;;` or wrapped in `#|| ... ||#`)) so that a help text can be displayed using the {#link-operator||lang||help#} symbol. Besides symbols, you can also define sigils. min provides a set of predefined _sigils_ as abbreviations for for commonly-used symbols. For example, the previous definition could be rewritten as follows using sigils:

@@ -73,7 +73,7 @@ : Alias for {#link-operator||dict||dget#}.

% : Alias for {#link-operator||dict||dset#}. ? -: Alias for {#link-operator||dict||dhas?#}. +: Alias for {#link-operator||lang||help#}. ! : Alias for {#link-operator||sys||system#}. &

@@ -103,7 +103,7 @@ (str :json ==> a :result)

(json from-json @result) ) operator -Also, symbols defined with the {#link-operator||lang||operator#} symbol can be annotated with documentation comments (starting with `;;` or wrapped in `#| ... |#`)`) so that a help text can be displayed using the {#link-operator||lang||help#} symbol. +Also, symbols defined with the {#link-operator||lang||operator#} symbol can be annotated with documentation comments (starting with `;;` or wrapped in `#|| ... ||#`)`) so that a help text can be displayed using the {#link-operator||lang||help#} symbol. ## Operator signatures
M site/contents/learn-shell.mdsite/contents/learn-shell.md

@@ -30,7 +30,7 @@ ---------------------------------------------------------------|--------------

...a string | Auto-completes the current word using file and directory names. ...a word starting with `!`, `!!`, `!"` `!!"`, `&`, `&"` | Auto-completes the current word using executable file names. ...a word starting with `$` | Auto-completes the current word using environment variable names. -...a word starting with `'`, `~`, `@`, `#`, `>`, `<`, `*`, `(` | Auto-completes the current word using symbol names. +...a word starting with `'`, `~`, `@`, `#`, `>`, `<`, `*`, `(`, `?` | Auto-completes the current word using symbol names. Additionally, the following common shortcuts are also available:
M tasks/build.mintasks/build.min

@@ -44,7 +44,7 @@ (

"hastyscribe" required "Building - guide" notice! "hastyscribe Min_DeveloperGuide.md --field/version=$#" (version) =% !! - "cp Min_DeveloperGuide.htm site/output/guide.dev.html" !! + "cp Min_DeveloperGuide.htm site/output/guide.dev.html" !! ) ) :: ;; Builds the developer guide.