all repos — min @ 1afdcd2063a3664a3f0ca05872fb0de9ee07355f

A small but practical concatenative programming language.

Started reviewing site contents.
h3rald h3rald@h3rald.com
Sun, 29 Sep 2024 12:06:56 +0200
commit

1afdcd2063a3664a3f0ca05872fb0de9ee07355f

parent

f1bbe0e35033472ed3c3a8f8214911ebc5eed8f4

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

jump to
M site/contents/get-started.mdsite/contents/get-started.md

@@ -179,7 +179,7 @@ min comes with a built-in `help` command that can be used to print information on a specific symbol. Essentially, this is equivalent to use the {#link-global-operator||help#} symbol within the min REPL.

> %min-terminal% > -> [$](class:prompt) min help dup +> [$](class:prompt) min help stack.dup ## Syntax highlighting
M site/contents/home.mdsite/contents/home.md

@@ -43,15 +43,15 @@ <section class="pure-u-1 pure-u-md-1-2">

<h2>Examples</h2> <p>The following example shows how to find recursively all files in the current folder that were modified in the last hour:</p> <pre> - <code>. ls-r -(mtime now 3600 - >) + <code>. sys.ls-r +(fs.mtime time.now 3600 - >) filter</code> </pre> <p>The following example shows how to calculate the factorial of 5 using the <code>linrec</code> combinator:</p> <pre> <code>5 -(dup 0 ==) (1 +) -(dup 1 -) (*) linrec</code> +(stack.dup 0 ==) (1 +) +(stack.dup 1 -) (*) linrec</code> </pre> </section> </div>