Fixed tests; minor fixes.
h3rald h3rald@h3rald.com
Sun, 03 Jun 2018 11:53:56 +0200
3 files changed,
4 insertions(+),
4 deletions(-)
M
lib/min_lang.nim
→
lib/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.nimble
→
min.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.min
→
tests/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