all repos — hex @ 3108917e23d83775e7a7afbfd2ce00619342c504

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

Now leveraging utils.hex in web.hex.
h3rald h3rald@h3rald.com
Sat, 05 Apr 2025 14:09:05 +0200
commit

3108917e23d83775e7a7afbfd2ce00619342c504

parent

e03dd12319c5d7c281c0c73dfa740a9741535b66

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

jump to
M MakefileMakefile

@@ -31,9 +31,12 @@ rm -f hex.js

rm -f hex.wasm test: hex - ./hex -b lib/utils.hex ./hex -b scripts/test.hex ./hex scripts/test.hbx -web: playground hex +web: playground utils hex + ./hex -b scripts/web.hex ./hex scripts/web.hex + +utils: hex + ./hex -b lib/utils.hex
M scripts/web.hexscripts/web.hex

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

+#!/usr/bin/env hex + +"lib/utils.hbx" read ! "2025" "meta-year" : "0.4.1" "meta-release" :

@@ -74,21 +77,6 @@ "t-count" #

"t-delimiter" # "t-replacement" # ) "highlight" :: - -; Convenience symbol for debugging -(dup puts) "_" :: - -; when operator -( - "_when_q" : - "_when_cond" : - (_when_cond .) - (_when_q .) - () - if - "_when_q" # - "_when_cond" # -) "when" :: ; Generate tag placeholder (