all repos — min @ ef3f5affc1ba238daad6c0c80b892a4936a7349b

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

ef3f5affc1ba238daad6c0c80b892a4936a7349b

parent

298df045cf9fd969e690c6c24a03d59e433929db

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: