all repos — hex @ da331e5dabcee35b55a71146032698d9090eb5af

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

Minor fixes.
h3rald h3rald@h3rald.com
Thu, 25 Jun 2026 11:21:41 +0200
commit

da331e5dabcee35b55a71146032698d9090eb5af

parent

8e3b9b932ec6dd36ccfeda08dfe0de4cc2543516

5 files changed, 6 insertions(+), 5 deletions(-)

jump to
M releases/490-3.htmlreleases/490-3.html

@@ -7,6 +7,7 @@ </ul>

<h4>Fixes</h4> <ul> + <li>Now using <code>HEX_STDIN_BUFFER_SIZE</code> when processing standard input.</li> <li>Added extra calls to free allocated items in some symbols.</li> </ul>
M scripts/web.hexscripts/web.hex

@@ -3,7 +3,7 @@

"./lib/utils.hbx" read "utils.hbx" ! "2026" "meta-year" : -"480-0" "meta-release" : +"490-3" "meta-release" : "web/assets" "d-assets" : "web/templates" "d-templates" : "web/contents" "d-contents" :
M src/hex.csrc/hex.c

@@ -23,7 +23,7 @@ #include <sys/wait.h>

#endif // Constants -#define HEX_VERSION "480-0" +#define HEX_VERSION "490-3" #define HEX_STDIN_BUFFER_SIZE 16384 #define HEX_INITIAL_REGISTRY_SIZE 512 #define HEX_REGISTRY_SIZE 4096

@@ -7177,7 +7177,7 @@ // Process piped input from stdin

void hex_process_stdin(hex_context_t *ctx) { - char buffer[8192]; // Adjust buffer size as needed + char buffer[HEX_STDIN_BUFFER_SIZE]; int bytesRead = fread(buffer, 1, sizeof(buffer) - 1, stdin); if (bytesRead == 0) {
M src/hex.hsrc/hex.h

@@ -20,7 +20,7 @@ #include <sys/wait.h>

#endif // Constants -#define HEX_VERSION "480-0" +#define HEX_VERSION "490-3" #define HEX_STDIN_BUFFER_SIZE 16384 #define HEX_INITIAL_REGISTRY_SIZE 512 #define HEX_REGISTRY_SIZE 4096
M src/main.csrc/main.c

@@ -198,7 +198,7 @@ // Process piped input from stdin

void hex_process_stdin(hex_context_t *ctx) { - char buffer[8192]; // Adjust buffer size as needed + char buffer[HEX_STDIN_BUFFER_SIZE]; int bytesRead = fread(buffer, 1, sizeof(buffer) - 1, stdin); if (bytesRead == 0) {