Skip to content

Releases

0xBASIC 0.2.0-alpha.1 — Experimental counted loops

Choose a tag to compare

@steppsr steppsr released this 07 Nov 02:10
5f68dab

0xBASIC 0.2.0-alpha.1 — Experimental counted loops

Proposed tag: v0.2.0-alpha.1-experimental. Exact source revision: 5f68dab6e415bc700efc41ff3269e0e378b1ed22. Mark as a prerelease, not latest stable.

This experimental compiler adds public FOR/NEXT support to the typed BASIC-to-CLVM language. Compiler 0.2.0-alpha.1, language 0.2, ABI 1. It supports inclusive bounds, positive/negative steps, scoped immutable counters, snapshotted headers, carried local state, nested loops, ordered condition emission, and returns through loops in functions. Zero STEP fails when executed; there is no runtime iteration cap beyond VM cost and existing resource limits. WHILE/DO, EXIT/CONTINUE and interactive I/O remain unsupported.

Packages and examples

The Windows MSVC ZIP and Linux GNU tar.gz include a native CLI, payment and loop examples, LOOPS.md, package provenance, project/dependency notices, and source.tar.gz with all 134 locked crate sources. REBUILD.md explains offline rebuilds and modified-library builds. Rust and Python are unnecessary for the exercised binary commands; ordinary operating-system runtime libraries are still required.

Verify each archive against its adjacent SHA-256 sidecar. release-manifest.json records asset hashes, source revision, tested platforms and CI. Checksums establish integrity, not a publisher signature. Keep source and notice materials with the executable when redistributing.

Migration from 0.1

FOR, TO, STEP and NEXT are reserved case-insensitively. Rename old identifiers and matching binding/solution JSON keys, then rebuild from original source into a new output directory. Old and new artifact identities are intentionally incompatible: keep the matching old compiler for old manifests, and never edit manifest version fields to force acceptance. Existing non-loop regression bytes, hashes, results and costs remain unchanged for their migrated fixtures; a version label alone does not establish equivalence for every program or coin.

Validation and tested platforms

The exact source revision passed compiler, simulator and package workflows:

Package checks on both platforms passed six rejection tests, two offline rebuilds (original and locally modified Malachite), 9,031 source-file checks and 17 extracted CLI commands with empty PATH. The loop program bytes, tree hashes, output and cost matched across the packaged executable and both rebuilds. Isolated SpendSim and full-node validation covered six adversarial loop attempts and an authorized payment creating exactly three children, alongside the legacy payment suites. Native Windows and LANDO Linux testing also passed; downloaded Windows CI assets were additionally reverified locally.

The distributed archives were built and smoke-tested on Windows Server 2025 and Ubuntu 26.04.1 with glibc 2.43. Exact build/smoke image revisions are in the release manifest. Linux simulator CI uses Ubuntu 24.04 separately. The Linux archive has not been certified for older Ubuntu/glibc versions. macOS, ARM and musl/static binaries are outside this preview's tested scope.

Scope and attribution

run reports local CLVM execution. It does not sign transactions, contact a wallet/node, or establish coin existence or confirmation. Isolated test-chain evidence does not provide wallet integration, testnet/mainnet deployment certification or a production audit.

Published from the steppsr/0xBASIC repository, maintained under GitHub account steppsr. Project code uses the existing Apache-2.0 LICENSE; dependencies retain their own licenses and notices, including the bundled Malachite materials and library-modification instructions. The older v0.1.0-m3.8b-experimental release remains available and unchanged.

0xBASIC 0.1.0-m3.8b — Experimental preview

Choose a tag to compare

@steppsr steppsr released this 25 Oct 17:11
b9411b6

This first experimental preview packages the typed BASIC-to-CLVM compiler for native x86_64 Windows and Linux. It is intended for evaluation and development; it is not a production or mainnet readiness claim.

Compiler version: 0.1.0-m3.8b; ABI: 1. Source revision: b9411b67e9923549f9355eeb0c1eb5910da64368. The M5 work adds validation, documentation and distribution materials without changing compiler semantics or dependencies.

Included

  • Native 0xbasic CLI: check, build, run, and explain.
  • Typed scalar/collection values, functions, contract parameters and solution fields, and explicit Chia condition emission.
  • Payment example, public example bindings, usage guide and package provenance.
  • Complete application and locked dependency sources in source.tar.gz, third-party notices, and offline rebuild/library-modification instructions in REBUILD.md.

Downloads and runtime scope

Choose the Windows MSVC ZIP or Linux GNU tar.gz below, and verify it with its adjacent SHA-256 file. release-manifest.json records exact assets, hashes, source revision, test environments and CI runs. Checksums establish integrity, not a publisher signature.

The distributed binaries were built and exercised on Windows Server 2025 (windows-2025-vs2026, image 20261021.278.1) and Ubuntu 24.04.5 with glibc 2.39 (ubuntu-24.04, image 20261012.334.1). These are tested environments, not a claim of minimum-version compatibility. Older Windows/glibc versions, macOS, ARM and musl/static binaries are not certified by this preview. Ordinary host runtime libraries remain prerequisites. Rust is unnecessary for the exercised binary commands; rebuilding requires the toolchains described in REBUILD.md.

Keep each archive's source and notice materials with its executable when redistributing. The automatic GitHub source downloads are repository snapshots; the binary archives additionally carry the vendored dependency source bundle.

Validation

All checks passed on the exact release revision:

  • Compiler CI: Windows/Linux format, lint, Rust tests, conformance, 653 generated/regression CLI calls and nine tutorial commands.
  • Simulator/full-node CI: isolated payment lifecycle, rejection/replay scenarios, reproducible reports, and confirmed full-node payment on both platforms.
  • Package CI: four integrity tests, offline original-source and modified-library rebuilds on both platforms, plus eight CLI checks and 8,970 source-file checks in separate extracted-smoke jobs.

Native Windows and Linux testing also passed. Regression input fingerprints normalize CRLF/LF checkout differences; compiled bytes, puzzle hashes, output and cost expectations remain exact.

Compatibility and limitations

Artifacts require matching compiler/language/ABI/profile/schema identities. Preserve source and bindings and rebuild when upgrading; do not edit manifest identities to force compatibility. See the compatibility policy and implemented reference.

run performs local CLVM execution. It does not sign transactions, connect to wallets/nodes, or establish coin existence or confirmation. The isolated integration tests do not provide wallet/RPC integration, a production audit, or testnet/mainnet deployment certification.

Project and dependency attribution

Published from the steppsr/0xBASIC repository, maintained under the GitHub account steppsr. Project code is distributed under its existing Apache-2.0 LICENSE; dependencies retain their own licenses and copyright notices. This release does not assign ownership of third-party work or replace its terms. THIRD-PARTY-NOTICES.txt and the bundled sources preserve dependency notices, including the pinned Malachite library terms; REBUILD.md documents rebuilding with modified libraries.