all repos — min @ 7c213a3d34f6e04fd7b1b8b5ad734f4f8f27751b

A small but practical concatenative programming language.

Site updates.
h3rald h3rald@h3rald.com
Fri, 01 Sep 2023 15:37:21 +0000
commit

7c213a3d34f6e04fd7b1b8b5ad734f4f8f27751b

parent

9b854e6fb0eba2049ec2e9891e46af03079b08f8

3 files changed, 9 insertions(+), 18 deletions(-)

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

@@ -23,16 +23,7 @@ ### Using nimble

If you already installed [nim](https://nim-lang.org), you probably already have the [nimble](https://github.com/nim-lang/nimble) package manager installed. -If that's the case, simply run **nimble install min**. This will actually install and run [nifty](https://github.com/h3rald/nifty) which will download min dependencies for you before compiling. - -### Without using nimble - -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/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**. +If that's the case, simply run **nimble install min**. ### Building from source for additional platforms
M site/contents/reference.mdsite/contents/reference.md

@@ -160,7 +160,7 @@ "it-id" :Accept-Language

"httpbin.org" :Host } :headers ;optional "test body" :body ;optional - ;{{req}} + ;http-request } {{res}} : A response dictionary, representing an HTTP response returned by some of the operators exposed by the {#link-module||http#}:

@@ -172,7 +172,7 @@ {

"application/json" :Content-Type } :headers ;optional "{\"test\": \"This is a test\"}" :body - ;{{res}} + ;http-response } {{xelement}} : A dictionary representing an XML or HTML element, exposed by the {#link-module||xml#}

@@ -188,33 +188,33 @@ : A dictionary representing an XML comment.

{ "This is a comment" :text - ;{{xcomment}} + ;xml-comment } {{xcdata}} : A dictionary representing XML CDATA text. { "This is some text" :text - ;{{xcdata}} + ;xml-cdata } {{xentity}} : A dictionary representing an XML entity. { "amp" :text - ;{{xentity}} + ;xml-entity } {{xtext}} : A dictionary representing XML text. { "This is some text" :text - ;{{xtext}} + ;xml-text } {{xnode}} : A typealias to identify all XML dictionary types. - "{{xelement}}|{{xtext}}|{{xcomment}}|{{xentity}}|{{xcdata}}" + dict:xml-element||dict:xml-text||dict:xml-comment||dict:xml-entity||dict:xml-cdata ### Suffixes
M site/rules.minsite/rules.min

@@ -75,7 +75,7 @@ "wget $# -O $#" (remote local) =% :cmd

cmd system "assets/downloads/$#/" (opsys) =% :dir "assets/downloads/" mkdir - "unzip $# -d $#" (local dir) =% @cmd + "unzip $# -o -d $#" (local dir) =% @cmd cmd system! local rm ) foreach