all repos — hex @ 38c06da1f6a70896ae9cba36f2b93c0eda634f05

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

Merge branch 'next' of git@github.com:h3rald/hex.git
Fabio Cevasco h3rald@h3rald.com
Sun, 22 Dec 2024 23:52:33 +0100
commit

38c06da1f6a70896ae9cba36f2b93c0eda634f05

parent

db0ec104d773b6484480e26e0ecb3ef5eeaf7ca2

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; }