all repos — hex @ a0c613d15e3cf26b46815dcd6ce910fa0bfc06b1

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

Preparing for release
h3rald h3rald@h3rald.com
Mon, 15 Jun 2026 19:55:05 +0200
commit

a0c613d15e3cf26b46815dcd6ce910fa0bfc06b1

parent

d1002332983cbcfdb2bf8c474888c6b65d6407f5

5 files changed, 8 insertions(+), 212 deletions(-)

jump to
D .github/workflows/ci.yml

@@ -1,70 +0,0 @@

-name: CI - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master ] - pull_request: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "ci" - ci: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest - - macos-14 - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Build - run: make - - - name: Test - run: make test - - # Install cosmocc - - name: Install cosmocc - run: | - mkdir -p $HOME/cosmocc - cd $HOME/cosmocc - wget -q https://cosmo.zip/pub/cosmocc/cosmocc.zip - unzip -q cosmocc.zip - pwd - ls -l - if: matrix.os == 'ubuntu-latest' - - # Add cosmocc to PATH + see https://redbean.dev/#install - - name: Add cosmocc to PATH - run: | - echo $HOME/cosmocc/bin >> $GITHUB_PATH - sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf - sudo chmod +x /usr/bin/ape - sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" - sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" - if: matrix.os == 'ubuntu-latest' - - # Generate APE binary - - name: Generate APE binary - run: | - rm hex - make ape - if: matrix.os == 'ubuntu-latest' - - # Run tests with APE binary - - name: Test (APE) - run: | - make test - if: matrix.os == 'ubuntu-latest'
D .github/workflows/release.yml

@@ -1,140 +0,0 @@

-name: Release - -# Controls when the action will run. -on: - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - release: - name: "Build and upload artifacts" - runs-on: ${{ matrix.os }} - permissions: - contents: write - strategy: - matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest - - macos-14 - steps: - # Cancel other actions of the same type that might be already running - - name: "Cancel similar actions in progress" - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - - # Detects OS and provide Nim-friendly OS identifiers - - name: Detect current OS - id: os - run: echo "os=${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-latest' && 'macos' || matrix.os == 'macos-14' && 'macos' || matrix.os == 'windows-latest' && 'windows'}}" >> $GITHUB_OUTPUT - - # Checks out the repository - - uses: actions/checkout@v2 - - # Install cosmocc - - name: Install cosmocc - run: | - mkdir -p $HOME/cosmocc - cd $HOME/cosmocc - wget -q https://cosmo.zip/pub/cosmocc/cosmocc.zip - unzip -q cosmocc.zip - pwd - ls -l - if: matrix.os == 'ubuntu-latest' - - # Setup emsdk - - name: Setup emsdk - uses: mymindstorm/setup-emsdk@v14 - if: matrix.os == 'ubuntu-latest' - - # Retrieve ID and Name of the current (draft) release - - name: "Get current release" - id: current-release - uses: InsonusK/get-latest-release@v1.0.1 - with: - myToken: ${{ github.token }} - exclude_types: "release" - view_top: 1 - - # Build (non-Windows) - - name: Build - run: make - if: matrix.os != 'windows-latest' - - # Build libs (non-Windows) - - name: Build - run: make utils.hbx - 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 lib/utils.hbx - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-14' - - # 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 lib/utils.hbx - if: matrix.os == 'macos-latest' - - # Build WASM binary - - name: Build WASM binary - run: make wasm - 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 lib/utils.hbx - if: matrix.os == 'ubuntu-latest' - - # Add cosmocc to PATH + see https://redbean.dev/#install - - name: Add cosmocc to PATH - run: | - echo $HOME/cosmocc/bin >> $GITHUB_PATH - sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf - sudo chmod +x /usr/bin/ape - sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" - sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" - if: matrix.os == 'ubuntu-latest' - - # Generate APE binary - - name: Generate APE binary - run: | - mv hex hex.native - make ape - 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 lib/utils.hbx - if: matrix.os == 'ubuntu-latest' - - # Build (Windows) - - name: Build - run: make - shell: bash - if: matrix.os == 'windows-latest' - - # Build libs (Windows) - - name: Build - run: make utils.hbx - shell: bash - if: matrix.os == 'windows-latest' - - # Package the resulting Windows binary - - name: Create artifact (Windows) - 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 - - name: "Upload to current release" - uses: xresloader/upload-to-github-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - file: "hex_v*.zip" - overwrite: true - tag_name: ${{steps.current-release.outputs.tag_name}} - release_id: ${{steps.current-release.outputs.id }} - verbose: true
M descriptiondescription

@@ -1,1 +1,1 @@

-A tiny, minimalist, slightly-esoteric concatenative programming lannguage. +A tiny, minimalist, slightly-esoteric, concatenative programming lannguage.
A releases/4800.html

@@ -0,0 +1,6 @@

+<h3 id="v480-0">v480-0 &mdash; 2026-06-15</h3> + +<h4>Chores</h4> +<ul> + <li>Re-released using <a href="https://h3rald.com/conver">Convergent Versioning</a></li> +</ul>
M src/hex.hsrc/hex.h

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

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