Corrected behavior of cons (ref: #174).
h3rald h3rald@h3rald.com
Tue, 28 Dec 2021 11:24:45 +0000
4 files changed,
6 insertions(+),
33 deletions(-)
M
minpkg/lib/min_stack.nim
→
minpkg/lib/min_stack.nim
@@ -118,8 +118,7 @@ def.symbol("cons") do (i: In):
let vals = i.expect("quot", "a") let q = vals[0] let v = vals[1] - q.qVal = @[v] & q.qVal - i.push q + i.push newVal(@[v] & q.qVal) def.symbol("swons") do (i: In): i.pushSym "swap"
M
next-release.md
→
next-release.md
@@ -1,30 +1,4 @@
-### BREAKING CHANGES - -* Runtime checks (expectations, stack pollution checks, operator output validation) must now be manually activated by specifying `-d` or `--dev`. Activating checks can be very useful while developing a min program, at cost of performance. -* Moved the following symbols from the **sys** to the **fs** module: - * exists? - * dir? - * file? - * symlink? - * filename - * dirname - -### New Features - -* Added **dev?** symbol to check if we are running in development mode. -* Added new symbols to the **fs** module: - * join-path - * expand-filename - * expand-symlink - * normalized-path - * absolute-path - * relative-path - * windows-path - * unix-path - * absolute-path? -* Added **admin?** symbol to the **sys** module. - ### Fixes and Improvements -* Fixed Nim 1.6.0 compilation warnings. -* string values are now properly escaped when printed. +* Miscellaneous documentarion fixes. +* Fixed #174 (cons operator was not creating a new quotation).
M
site/settings.json
→
site/settings.json
@@ -6,5 +6,5 @@ "rules": "rules.min",
"temp": "temp", "templates": "templates", "title": "min language", - "version": "0.36.0" + "version": "0.36.1" }