all repos — min @ 94ca0b752e6a5b30355a817e35547da8e452f5fe

A small but practical concatenative programming language.

refactor(modules) Minor fixes.
h3rald h3rald@h3rald.com
Sun, 22 May 2016 19:05:05 +0200
commit

94ca0b752e6a5b30355a817e35547da8e452f5fe

parent

fb2b3b790a882ac21370f63ef6f83e909d1aad41

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

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

@@ -263,7 +263,7 @@ i.push fpath.qVal

else: i.error(errIncorrect, "Three quotations are required on the stack") - # TODO test (add new scope?) + # TODO test .symbol("while") do (i: In): let d = i.pop let b = i.pop

@@ -277,7 +277,7 @@ check = i.pop

else: i.error(errIncorrect, "Two quotations are required on the stack") - # TODO test (add new scope?) + # TODO test .symbol("filter") do (i: In): let filter = i.pop let list = i.pop

@@ -293,6 +293,7 @@ i.push res.newVal

else: i.error(errIncorrect, "Two quotations are required on the stack") + # TODO test .symbol("linrec") do (i: In): var r2 = i.pop var r1 = i.pop
M tests/test.mintests/test.min

@@ -1,3 +1,4 @@

+;; test module ( ("OK") ' .ok (" " print!) .padding