all repos — min @ f6df66429eb302020b63dbe3f8d02ac8257e4a6b

A small but practical concatenative programming language.

Merge branch 'master' of https://github.com/h3rald/min
h3rald h3rald@h3rald.com
Sat, 05 Aug 2017 12:13:35 +0200
commit

f6df66429eb302020b63dbe3f8d02ac8257e4a6b

parent

3ef86b1d04748c35e8e193751f3f4105a5228929

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

jump to
M site/contents/_includes/_download.mdsite/contents/_includes/_download.md

@@ -18,7 +18,7 @@ Alternatively, you can build min from source as follows:

1. Download and install [nim](https://nim-lang.org). 2. Download and build [Nifty](https://github.com/h3rald/nifty), and put the nifty executable somewhere in your [$PATH](class:kwd). -3. Clone the min [repository](https://github.com/h3rald/hastyscribe). +3. Clone the min [repository](https://github.com/h3rald/min). 4. Navigate to the min repository local folder. 5. Run **nifty install** to download min’s dependencies. 7. Run **nim c -d:release min.nim**.
M site/contents/_includes/_learn-operators.mdsite/contents/_includes/_learn-operators.md

@@ -15,7 +15,7 @@ * Contain zero or more letters, numbers and/or any of the following characters: `/ ! ? + * . _ -`

It is possible to define symbols using the {#link-operator||lang||define#} symbol. The following min program defines a new symbol called square that duplicates the first element on the stack and multiplies the two elements: - (dup *) square define + (dup *) "square" define Besides symbols, min provides a set of predefined _sigils_ for commonly-used symbols. For example, the previous definition could be rewritten as follows using sigils: