all repos — hex @ ee56cc20dcb23f33d81e7f8d03245f2b7aa0adad

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

Updated changelog and release pipelines to include utils.hbx in zips.
h3rald h3rald@h3rald.com
Thu, 11 Sep 2025 14:57:45 +0200
commit

ee56cc20dcb23f33d81e7f8d03245f2b7aa0adad

parent

eebdc95fcbf44a4adbb053ec7383290a47fee0f5

4 files changed, 64 insertions(+), 7 deletions(-)

jump to
M .github/workflows/release.yml.github/workflows/release.yml

@@ -65,12 +65,12 @@ if: matrix.os != 'windows-latest'

# Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) - run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_x86_64.zip hex + run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_x86_64.zip hex lib/utils.hbx if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-13' # Package the resulting macOs latest binary - name: Create artifact (Linux, macOS) - run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_arm64.zip hex + run: zip hex_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_arm64.zip hex lib/utils.hbx if: matrix.os == 'macos-latest' # Build WASM binary

@@ -80,7 +80,7 @@ if: matrix.os == 'ubuntu-latest'

# Package the resulting WASM binary - name: Create artifact (Linux - WASM) - run: zip hex_${{steps.current-release.outputs.tag_name}}_wasm.zip hex.wasm hex.js + run: zip hex_${{steps.current-release.outputs.tag_name}}_wasm.zip hex.wasm hex.js lib/utils.hbx if: matrix.os == 'ubuntu-latest' # Add cosmocc to PATH + see https://redbean.dev/#install

@@ -102,7 +102,7 @@ if: matrix.os == 'ubuntu-latest'

# Package the resulting APE binary - name: Create artifact (Linux - APE) - run: zip hex_${{steps.current-release.outputs.tag_name}}_ape.zip hex + run: zip hex_${{steps.current-release.outputs.tag_name}}_ape.zip hex lib/utils.hbx if: matrix.os == 'ubuntu-latest' # Build (Windows)

@@ -113,7 +113,7 @@ if: matrix.os == 'windows-latest'

# Package the resulting Windows binary - name: Create artifact (Windows) - run: Compress-Archive -Path hex.exe -DestinationPath hex_${{steps.current-release.outputs.tag_name}}_windows_x86_64.zip + run: Compress-Archive -Path "hex.exe", "lib/utils.hbx" -DestinationPath hex_${{steps.current-release.outputs.tag_name}}_windows_x86_64.zip if: matrix.os == 'windows-latest' # Upload artifacts to current draft release
M CHANGELOG.mdCHANGELOG.md

@@ -1,6 +1,7 @@

<article> <h2>Changelog</h2> <ul> +<li><a href="#v0.6.0">v0.6.0</a></li> <li><a href="#v0.5.0">v0.5.0</a></li> <li><a href="#v0.4.1">v0.4.1</a></li> <li><a href="#v0.4.0">v0.4.0</a></li>

@@ -8,13 +9,41 @@ <li><a href="#v0.3.0">v0.3.0</a></li>

<li><a href="#v0.2.0">v0.2.0</a></li> <li><a href="#v0.1.0">v0.1.0</a></li> </ul> +<h3 id="v0.6.0">v0.6.0 &mdash; 2025-11-09</h3> + +<h4>Breaking Changes</h4> +<ul> + <li>Removed <code>debug</code> symbol.</li> +</ul> + +<h4>New Features</h4> +<ul> + <li>Added symbol <a href="https://hex.2c.fyi/spec#timestamp-symbol">timestamp</a>.</li> + <li>Implemented the possibility to load additional <code>.hex</code> or <code>.hbx</code> files at startup by using the <code>-l, --load</code> + option. + </li> + <li>Implemented a <code>utils.hex</code> library as part of the <a href="https://hex.2c.fyi/lib/">Standard Library</a>, + containing additional utility symbols (loaded automatically in the playground).</li> +</ul> + +<h4>Fixes</h4> +<ul> + <li>Fixed some documentation typos and inaccuracies.</li> + <li>Improved memory management</li> +</ul> + +<h4>Chores</h4> +<ul> + <li>Added tests for <code>utils.hex</code></li> + <li>Implemented a basic <code>doc.hex</code> script to generate reference documentation from hex files.</li> +</ul> <h3 id="v0.5.0">v0.5.0 &mdash; 2025-04-08</h3> <h4>Breaking Changes</h4> <ul> <li>Renamed <code>pop</code> to <a href="https://hex.2c.fyi/spec#drop-symbol">drop</a>.</li> <li>Renamed <code>replace</code> to <a href="https://hex.2c.fyi/spec#sub-symbol">sub</a>.</li> - <li><a href="https://hex.2c.fyi/spec#eval-symbol">!</a> now requires an extra string on the stack to be used as the file name/identifier in stack traces. + <li><a href="https://hex.2c.fyi/spec#eval-symbol">!</a> now requires an extra string on the stack to be used as the file name/identifier in stack traces.</li> </ul> <h4>Fixes</h4>
M releases/0.5.0.htmlreleases/0.5.0.html

@@ -4,7 +4,7 @@ <h4>Breaking Changes</h4>

<ul> <li>Renamed %:pop%% to {{sym-drop}}.</li> <li>Renamed %:replace%% to {{sym-sub}}.</li> - <li>{{sym-!}} now requires an extra string on the stack to be used as the file name/identifier in stack traces. + <li>{{sym-!}} now requires an extra string on the stack to be used as the file name/identifier in stack traces.</li> </ul> <h4>Fixes</h4>
A releases/0.6.0.html

@@ -0,0 +1,28 @@

+<h3 id="v0.6.0">v0.6.0 &mdash; 2025-11-09</h3> + +<h4>Breaking Changes</h4> +<ul> + <li>Removed %:debug%% symbol.</li> +</ul> + +<h4>New Features</h4> +<ul> + <li>Added symbol {{sym-timestamp}}.</li> + <li>Implemented the possibility to load additional %:.hex%% or %:.hbx%% files at startup by using the %:-l, --load%% + option. + </li> + <li>Implemented a %:utils.hex%% library as part of the new <a href="https://hex.2c.fyi/lib/">Standard Library</a>, + containing additional utility symbols (loaded automatically in the playground).</li> +</ul> + +<h4>Fixes</h4> +<ul> + <li>Fixed some documentation typos and inaccuracies.</li> + <li>Improved memory management</li> +</ul> + +<h4>Chores</h4> +<ul> + <li>Added tests for %:utils.hex%%.</li> + <li>Implemented a basic %:doc.hex%% script to generate reference documentation from hex files.</li> +</ul>