all repos — hex @ 78e58027aa8bfca3b72ee5497e864662ef698299

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

Changed splash screen.
h3rald h3rald@h3rald.com
Mon, 02 Dec 2024 11:40:51 +0000
commit

78e58027aa8bfca3b72ee5497e864662ef698299

parent

17551dc743e5060b1baccdf730b76ef9a5f0603e

1 files changed, 9 insertions(+), 6 deletions(-)

jump to
M hex.chex.c

@@ -3884,18 +3884,21 @@

// REPL implementation void hex_repl(hex_context_t *ctx) { +#ifdef __EMSCRIPTEN__ + printf(" _*_ _\n"); + printf(" / \\hex\\*\n"); + printf(" *\\_/_/_/ v%s - WASM Build\n", HEX_VERSION); + printf(" *\n"); + int fps = 0; + int simulate_infinite_loop = 1; + emscripten_set_main_loop_arg(do_repl, ctx, fps, simulate_infinite_loop); +#else printf(" _*_ _\n"); printf(" / \\hex\\*\n"); printf(" *\\_/_/_/ v%s - Press Ctrl+C to exit.\n", HEX_VERSION); printf(" *\n"); - -#ifdef __EMSCRIPTEN__ - int fps = 0; - int simulate_infinite_loop = 1; - emscripten_set_main_loop_arg(do_repl, ctx, fps, simulate_infinite_loop); -#else while (1) {