Skip to content

Finish 1.5.0#358

Merged
tomhea merged 2 commits into
mainfrom
finish-1.5.0
Jun 15, 2026
Merged

Finish 1.5.0#358
tomhea merged 2 commits into
mainfrom
finish-1.5.0

Conversation

@tomhea

@tomhea tomhea commented Jun 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

tomhea and others added 2 commits June 15, 2026 02:45
The "What lives here" macro table had drifted from the actual stl:
- strings.fj had no row at all (input_ptr_line / print_ptr_text /
  print_ptr_line, plus the 1.5.0 fill_bytes / copy_bytes block helpers).
- math_basic.fj row was missing abs (added in 1.5.0).
- input.fj row was missing input_dec_uint_until / input_dec_int_until.

Docs only; no code change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The package version lived only in pyproject.toml - there was no way to query
it from Python or the CLI (`fj --version` is the FJM file-format version 0-3,
not the package version).

- utils/constants.FLIPJUMP_VERSION reads the installed distribution metadata
  (importlib.metadata.version), falling back to 'unknown' when running from an
  uninstalled source tree. Single source of truth stays pyproject.toml.
- flipjump.__version__ re-exports it (added to __all__).
- `fj -V` / `fj --flipjump_version` print "flipjump <version>" and exit 0,
  short-circuiting the required `files` positional (argparse version action).

Tested: a parametrized CLI test pins both aliases, exit 0, and the output;
test_cli.py green (19 passed); black/flake8/mypy clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tomhea
tomhea merged commit 5d0d5d6 into main Jun 15, 2026
24 checks passed
@tomhea
tomhea deleted the finish-1.5.0 branch June 15, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant