all repos — min @ f888823c06629fa90f098baea6126d2492336fe3

A small but practical concatenative programming language.

Updated example on front page; incremented version.
h3rald h3rald@h3rald.com
Sun, 04 Jun 2017 19:20:24 +0200
commit

f888823c06629fa90f098baea6126d2492336fe3

parent

bbf334c41ef8e933fd7229be9714b2a6771cb64c

3 files changed, 10 insertions(+), 6 deletions(-)

jump to
M min.nimblemin.nimble

@@ -1,10 +1,10 @@

[Package] name = "min" -version = "0.6.0" +version = "0.7.0" author = "Fabio Cevasco" description = "A tiny concatenative programming language and shell." license = "MIT" bin = "min" [Deps] -requires: "nim >= 0.15.0" +requires: "nim >= 0.17.0"
M site/contents/home.mdsite/contents/home.md

@@ -41,9 +41,13 @@ <h2>Examples</h2>

<p>The following example shows how to find recursively all <code>.c</code> files in the current folder that are bigger than 100KB:</p> <pre> <code> - . ls-r - ("\.c$" match) filter - (fsize 100000 >) filter + . ls-r + ( + dup + "\.c$" match + (fsize 100000 >) dip + and + ) filter </code> </pre> <p>The following example shows how to calculate the factorial of 5 using the <code>linrec</code> combinator:</p>
M site/settings.jsonsite/settings.json

@@ -5,6 +5,6 @@ "templates": "templates",

"temp": "temp", "output": "output", "title": "min language", - "version": "0.6.0", + "version": "0.7.0", "rules": "rules.min" }