all repos — mn @ 95b897180e9ad91099e0d4ad295df42946d17ae5

A truly minimal concatenative programming language.

Fixed behavior of cons.
h3rald h3rald@h3rald.com
Wed, 29 Dec 2021 14:21:41 +0000
commit

95b897180e9ad91099e0d4ad295df42946d17ae5

parent

6283dc904201979ed0a3f02674e7a1005079bb0f

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

jump to
M buildbuild

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

#!/usr/bin/env bash -nim c -d:release --opt:size --gc:orc --deepcopy:on mn+nim c -d:release --opt:size --gc:orc --deepcopy:on mn
M mnpkg/lang.nimmnpkg/lang.nim

@@ -234,8 +234,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("interpolate") do (i: In): var vals = i.expect("quot")