Prepare short portable helpers and scalar record reads, improve JSON SIMD scanning, expose one-line execution, and publish qualified Alpha benchmark artifacts. Add the experimental verified lowered execution, serialization and Linux x86-64 backend with source maps. Physically remove 263 redundant test entry points and unused helpers, migrate retained helpers to Ziran, and execute the full retained suite without sharding. Allow ignored backup state for the managed physical Alpha workflow. Local validation: all 268 retained tests passed across the full run and corrected targeted reruns; bootstrap matches. Current assembly verifier, x86-64, executor and serializer tests passed. Website examples and all 4661 local links passed. Six Alpha JSON/text workloads retain verified artifacts, raw samples and explicit unsupported Wasm diagnostics. The mobile sub-500 ns target remains pending.
20 lines
679 B
Bash
Executable File
20 lines
679 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")"
|
|
version=$(sed -n 's/^## \[\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\].*/\1/p' CHANGELOG.md | head -n 1)
|
|
test -n "$version"
|
|
printf '%s\n' "$version" > VERSION
|
|
python3 - "$version" <<'PY'
|
|
from pathlib import Path
|
|
import re
|
|
import sys
|
|
import json
|
|
|
|
version = sys.argv[1]
|
|
for name in ('index.html', 'get-started.html', 'status.html', 'api.html'):
|
|
path = Path('site') / name
|
|
path.write_text(re.sub(r'v\d+\.\d+\.\d+', 'v' + version, path.read_text()))
|
|
inventory = {'version': version, 'modules': sorted(path.stem for path in Path('std').glob('*.zi'))}
|
|
Path('site/stdlib-release.json').write_text(json.dumps(inventory, indent=2) + '\n')
|
|
PY
|