all repos — hex @ 046dce9e2fb39f293b478d4b12d82cc2d9b56235

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Merge branch 'master' into next
h3rald h3rald@h3rald.com
Sun, 22 Dec 2024 22:42:48 +0000
commit

046dce9e2fb39f293b478d4b12d82cc2d9b56235

parent

e0111329106ca9c486a3fbe61b89083da0ad93dd

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

jump to
M scripts/test.hexscripts/test.hex

@@ -189,7 +189,7 @@ (("aaa" 0x5) ("aaa" 0x5 0x4) >= 0x0 ==)

;100 ((test "aaa") (test "aaa" 0x5) < 0x1 ==) - (("aaa" 0x5) ("" "aaa" 0x5) <= 0x0 ==) + (("aaa" 0x5) ("" "aaa" 0x5) <= 0x1 ==) (("a" "b" and) (error) try "[symbol and] Two integers required" ==) ((0x1 "a" or) (error) try "[symbol or] Two integers required" ==) ;104
M src/symbols.csrc/symbols.c

@@ -962,7 +962,7 @@ return 1;

} hex_item_t *pa = &a; hex_item_t *pb = &b; - hex_push_integer(ctx, !hex_greater(ctx, pb, pa, "<") || hex_equal(a, b)); + hex_push_integer(ctx, hex_greater(ctx, pb, pa, "<") || hex_equal(a, b)); return 0; }