all repos — hex @ 596728fa1fd293a6a6eac8fb0d341108f5f0ebfe

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

Fixes.
h3rald h3rald@h3rald.com
Fri, 13 Dec 2024 13:00:47 +0100
commit

596728fa1fd293a6a6eac8fb0d341108f5f0ebfe

parent

85a857d6123919110df10bc6f3c354643cc92706

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

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

@@ -30,6 +30,7 @@ "$0x"

"$:" "$$" ) "highlight-delimiters" : + ( "<span class=\"hex-comment\">;" "<span class=\"hex-comment\">#|"

@@ -48,7 +49,8 @@ (t-count highlight-delimiters len <)

( t-text highlight-delimiters t-count get "t-delimiter" : t-text highlight-replacements t-count get "t-replacement" : - (t-text t-delimiter index 0x0 >) + ; Find delimiter in text and replace it with the corresponding replacement + (t-text t-delimiter index 0x0 >=) ( t-text t-delimiter t-replacement replace "t-text" : )