all repos — min @ 4f3a37a430eeae9a6efd55c573a2474a63e17499

A small but practical concatenative programming language.

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

4f3a37a430eeae9a6efd55c573a2474a63e17499

parent

4795acea41ef66159486949d378d30ea5d62a147

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