Brainfy

Latest version: v0.1.4

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

Scan your dependencies

8.3.3

50a721a pyproject: creating setup file
4d88489 using MIT license!
27ed551 initial commit

0.1.4

Hotfix

Fix readme broken logo

0.1.3

Changelog

Features:

- Create safe comments using `` (isn't multiline).
- Print current decimal value as ASCII using `.`.
- Increase +1 to current decimal value using `+`.
- Decrease -1 to current decimal value using `-`.
- Move pointer to next address space using `>`.
- Move pointer to previous address space using `<`.
- Repeat expression while current decimal value is not 0 using `[`**EXPRESSION**`]`.
- Accept BF script file by command line (ex: `brainfy main.bf`, c6a1c9713cc4d027cd127940e578cc7d1a1e015b).

History
e2cead2 chore: bump version from `v0.1.0` to `v0.1.3`
e6fc94b pyproject: add `Repository` url & include `README.md`
b9f245e chore: add `dist/` to gitignore
e21e9c0 imp(readme): modify all badges
e975166 ci: add workflow `ci.yml` to test all python versions
579ddec fix(test): import `Interpreter` directly from brainfy
4e3f879 readme: add 'Contribute' section
292844d readme: add 'Currently Available Tokens' section
9d62da8 readme: add 'Command Usage' section
e8ca52d readme: add 'Code Example' section
e94c25c fix(cli): move `try/except` to inside of `main` function
c6a1c97 pyproject: add CLI entrypoint to `brainfy.__main__:main`
e0d3968 fix: rename `intepreter` module to `interpreter`
fedf74e feat: create entrypoint script for CLI
ecf1f1a feat: add `Interpreter.run()` bound method
3f32204 feat: add `parser_brackets` function to check and map all bracket positions
73e1890 feat: create `parser.py` & bracket exceptions
dc17cbf feat: create `Tokens` & a brainf*ck tokenizer
b4a7222 feat: create a `Traceback` dataclass to store traceback
4f1febc add initial `README.md`, containing project header
37465b0 feat: add representation (`__repr__` magic method) to `Interpreter` class
5b9d243 fix: interpreter `columns` property returns a copy, no reference
5388f14 feat: add `Interpreter.ascii` property
d3847d8 refactor: rename interpreter `value` property to `decimal`
e5d5122 test: add `previous_must_move_pointer_to_previous_column`
50b6cb3 feat: add `Interpreter.previous()` bound method
967d5bf test: add `forward_must_move_pointer_to_forward_column`
9b6afa5 feat: add `Interpreter.forward()` bound method
3ebc6e4 test: add `decrease_must_decrease_column_value`
79a1e76 feat: add `Intepreter.decrease()` bound method
b0dac46 test: add `increase_must_increase_column_value`
9536aa2 feat: add `Interpreter.increase()` bound method
fe70953 feat: add `Interpreter._update_value` to simplify increment & decrement
e16f5eb feat: add `Interpreter.pointer` property
ad23df2 feat: add `Interpreter.value` property
2a6729a test: add `given_interpreter_length_expected_same_columns`
25c7866 feat: add `Interpreter.columns` property
5449af0 feat: create `Interpreter` class and import it
2fd8ea6 test: create `tests` directory
df54ad7 add `.gitignore` file

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.