all repos — min @ 7591c01a9ba1a01f93ce270a4ba3150aa9cd5dd7

A small but practical concatenative programming language.

Added separator to help descriptions (#127).
h3rald h3rald@h3rald.com
Mon, 01 Feb 2021 21:01:39 +0000
commit

7591c01a9ba1a01f93ce270a4ba3150aa9cd5dd7

parent

5d9b08b170d8e6593d3aa38120a6d307fc7e2b4a

4 files changed, 5 insertions(+), 37 deletions(-)

jump to
M min.ymlmin.yml

@@ -1,5 +1,5 @@

author: Fabio Cevasco description: A tiny concatenative programming language and shell. -id: 36890951 +id: 37148413 name: min -version: 0.31.0+version: 0.32.0
M minpkg/lib/min_lang.nimminpkg/lib/min_lang.nim

@@ -573,6 +573,7 @@ let lines = desc.split("\n")

echo "" for l in lines: echo " " & l + echo "===" if i.scope.hasSymbol(s): found = true let sym = i.scope.getSymbol(s)
M next-release.mdnext-release.md

@@ -1,34 +1,1 @@

-* Implemented "auto-popping" by adding **!** at the end of any symbol (#104). -* Removed all symbols ending with **!** as auto-popping will work instead. -* Improved contrast and readability of the min web site (#107). -* Extended **operator** to support the creation of constructor symbols. -* Now using **dict:http-response** and **dict:http-response** for HTTP requests/responses. -* Now using **dict:timeinfo** for time info. -* Changed **parse-url** to push a **dict:url** on the stack. -* Fixed #115 and #118. - -### Breaking changes - -This release also introduces quite a lot of breaking changes aiming at addressing some language inconsistencies and making the language more stable overall (see #111 for more information). - -**Read this carefully! It is most likely that your code will break when you upgrade.** - - -* Removed **quote-define** (=) and **quote-bind** (#). -* **define** (:) now auto-quote quotations as well. -* To quickly bind a quotation to a symbol (and essentially create a symbol operator but with no validations or constraints), use the new **lambda** symbol or **^** (alias, sigil) -- addresses also #114. -* Removed **typeclass** and extended **operator** to create type classes as well. -* Renamed **string** and **float** type names (used in operator signatures) to **str** and **flt** respectively. -* Removed **define-sigil**, use **operator** instead. -* Removed **module** and **+** (sigil); use **require** to create modules. -* Removed **call**, **^** (sigil, alias -- reused for **lambda**, see above); use **invoke** to access module/dictionary symbols. -* Removed **set-type** symbol. -* Removed **~** sigil (rarely used). -* Renamed the following symbols: - * `int` -> `integer` - * `bool` -> `boolean` - * `delete` -> `delete-symbol` - * `defined?` -> `defined-symbol?` - * `seal` -> `seal-symbol` - * `sealed?` -> `sealed-symbol?` - * `unseal` -> `unseal-symbol` +* Added `===` at the end of integrated help descriptions (#127).
M site/settings.jsonsite/settings.json

@@ -6,5 +6,5 @@ "rules": "rules.min",

"temp": "temp", "templates": "templates", "title": "min language", - "version": "0.31.0" + "version": "0.32.0" }