The source-port runtime no longer builds on macOS, so the pure arithmetic and its
golden tests live in a platform-independent crate shared by the driver and runtime.
leleka_runtime::{rope_scaling,memory_plan,context_policy} stay as re-exports.
geometry.rs derives every frozen 262144-cell byte literal from the cell count.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
8 lines
315 B
Bash
Executable File
8 lines
315 B
Bash
Executable File
#!/bin/sh
|
|
# Regenerates memory_plan_golden.json from the Original (macOS or Linux, any C++17 compiler + python3).
|
|
set -eu
|
|
here=$(cd "$(dirname "$0")" && pwd)
|
|
work=$(mktemp -d)
|
|
trap 'rm -rf "$work"' EXIT
|
|
python3 -I "$here/gen_plan_golden.py" "$here/memory_plan_golden.json" "$here/../../../../engine/strata" "$work"
|