Updated example on front page; incremented version.
h3rald h3rald@h3rald.com
Sun, 04 Jun 2017 19:20:24 +0200
3 files changed,
10 insertions(+),
6 deletions(-)
M
min.nimble
→
min.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.md
→
site/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.json
→
site/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" }