all repos — min @ 0755480db9d686d8b9b799428081841566ecc0c2

A small but practical concatenative programming language.

Fixed tests; minor fixes.
h3rald h3rald@h3rald.com
Sun, 03 Jun 2018 11:53:56 +0200
commit

0755480db9d686d8b9b799428081841566ecc0c2

parent

299fd62bb9369f6870c1106df7b7e66dc32250be

3 files changed, 4 insertions(+), 4 deletions(-)

jump to
M lib/min_lang.nimlib/min_lang.nim

@@ -52,7 +52,7 @@ scope = scope.parent

i.push q.newVal(i.scope) def.symbol("scope-symbols") do (i: In): - let vals = i.expect("quot|dict") + let vals = i.expect("dict") let m = vals[0] var q = newSeq[MinValue](0) for s in m.scope.symbols.keys:

@@ -60,7 +60,7 @@ q.add s.newVal

i.push q.newVal(i.scope) def.symbol("scope-sigils") do (i: In): - let vals = i.expect("quot|dict") + let vals = i.expect("dict") let m = vals[0] var q = newSeq[MinValue](0) for s in m.scope.sigils.keys:
M min.nimblemin.nimble

@@ -1,6 +1,6 @@

[Package] name = "min" -version = "0.16.0" +version = "0.17.0" author = "Fabio Cevasco" description = "A tiny concatenative programming language and shell." license = "MIT"
M tests/lang.mintests/lang.min

@@ -142,7 +142,7 @@ (time scope-symbols ("datetime" "now" "tformat" "timeinfo" "timestamp" "to-timestamp") ==) assert

(sys scope-sigils ("!" "$" "&") ==) assert - ({3 :a 5 :b} ("a" "b") ==) assert + ({3 :a 5 :b} scope-symbols ("a" "b") ==) assert (opts {} ==) assert