Flipjump

Latest version: v1.2.2

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.2

* `hex.div` is finally ready & tested. It is much faster than the `bit.div` options.
* stl refactor is complete. it is now fully documented (incl. updated complexities) and clean-code.
* Codebase improved: now passes [mypy](https://mypy-lang.org/), [flake8](https://flake8.pycqa.org/en/latest/), [bandit](https://bandit.readthedocs.io/en/latest/), [black](https://github.com/psf/black).
* Now supports CI - each pull request must succeed in the following tests:
1. `pytest --regular` tests for all supported python versions, for each os of windows, ubuntu, macos (using [tox](https://tox.wiki/)).
2. Linters & checkers: mypy, flake8, bandit, black.
3. `pytest --all` in parallel (The results are printed as a table in the workflow summary, [for example](https://github.com/tomhea/flip-jump/actions/runs/7170673166/attempts/1#summary-19523946921)).
* Updated READMEs and resources to match the new changes.

hex.div complexity improvement
| macro | Time | Space |
|---|---|---|
bit.div_loop | 1,622,016 | 35,008
bit.div | 942,080 | 1,036,288
hex.div | 219,136 | 11,904

**Full Changelog**: https://github.com/tomhea/flip-jump/compare/1.2.1...1.2.2

1.2.1

- Improved pointers implementation - **Memory access is now much faster**.
- You can now store a whole byte inside one pointed op.
- new read/write hex/byte macros. push/pop now use the byte accessing.
- Improved **debugger, Read Memory** option: read flipjump variables (nicely formatted), and memory words.
- now supports running from python 3.7 to python 3.12
- added real life examples: prime_sieve & and bubble_sort programs.
- fix some small bugs, update documentation.

It is all tested, and ready to be used on windows or linux (and mac shouldn't be a problem), with python 3.7+.
The only exception is hex.div which still doesn't work (its tests are xfailed), so you can use the slower-but-stable bit.div+casts for division.

1.2.0

- Flipjump is now a python package! `pip install flipjump`:
- Run the new command line tool: `fj hello-world.fj`.
- Import from python: `from flipjump import assemble_and_run, ...`.
- Poetry support via the new pyproject.toml.
- Project reorganization: the flipjump python source files are under `flipjump/` (reorganized and split into smaller files), and the stl files are under `flipjump/stl/`.
- The flipjump_quickstart.py file: easy access to the main flipjump features from Python.
- Improved READMEs and documentation.

It is all tested, and ready to be used on windows or linux (and mac shouldn't be a problem), with python 3.7+.
_The only exception is hex.div which still doesn't work (its tests are xfailed), so you can use the slower-but-stable bit.div+casts for division._

1.1.0

- **Total refactor to the standard library** - [cleaner code](https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988cf8d29), documented better, better tested, and faster in general.
Thus it has better maintainability and its better for learning.
- All stl macros are now under the stl/bit/hex namespaces
- hex.pointers implemented (faster than bit.ptr)
- Improved READMEs
- Improved debugging (-d, --debuginfo, --debug-ops-list)
- Improve lexer-parser exceptions

It is all tested, and ready to be used on windows or linux (and mac shouldn't be a problem), with python 3.7+.
_The only exception is hex.div which still doesn't work (its tests are xfailed), so you can use the slower-but-stable bit.div+casts for division._

1.0.0

This is the first stable version of Flip Jump.
It is all tested, and ready to be used on windows or linux (and mac shouldn't be a problem), with python 3.7+.

hexlib-div is the only thing that doesn't work, but you can use the bit.div with casts for a stable version of division.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.