| Name | brainfy JSON |
| Version |
0.1.3
JSON |
| download |
| home_page | None |
| Summary | Interpreter for the esoteric language brainf*ck written in Python. |
| upload_time | 2024-10-03 00:47:11 |
| maintainer | None |
| docs_url | None |
| author | Lelzin 位 |
| requires_python | <4.0,>=3.8 |
| license | MIT |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
<p align="center">
<img title="Fun fact: the sketch for this art cost me R$100. I know, it's sad." align="center" width="170" src="https://svgur.com/i/1B3H.svg"/><br><br>
Amazing interpreter for the esoteric language brainf*ck written in Python.
</p>
<p align="center">
<a href="https://pypi.org/project/brainfy"><img src="https://img.shields.io/badge/v0.1.3-8A2BE2?style=flat-square&label=Version&labelColor=282C34"></a>
<a href="https://github.com/d3cryptofc/brainfy/actions/workflows/ci.yml"><img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/d3cryptofc/brainfy/ci.yml?style=flat-square&labelColor=282C34&label=Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12&color=8A2BE2&logo=python&logoColor=white"></a>
<img alt="GitHub License" src="https://img.shields.io/github/license/d3cryptofc/brainfy?style=flat-square&labelColor=282C34&color=8A2BE2">
</p>
#### 馃З Code Example: `main.bf`
```python
# Increase decimal value two times, contains decimal 2.
++
# Increase decimal value more 68 times, now contains 70, equivalent to 'F' letter.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# This dot print the decimal number as ASCII letter.
.
# I am tired of this address space, I'm going to next because the decimal number is 0.
>
# Ok, on second thought, I would like to back..
<
# I will use a loop to decrease until it reaches 0.
[-]
```
---
#### 鈿欙笍 Command Usage
```
usage: brainfy [-h] FILE
An amazing interpreter for the esoteric language brainf*ck written in Python.
positional arguments:
FILE read BF script instructions from file
optional arguments:
-h, --help show this help message and exit
```
#### 馃専 Currently Available Tokens
| Token | Description |
|:---------------:|---------------------------------------------------------------|
| **#** | Create safe comments (isn't multiline). |
| **.** | Print current decimal value as ASCII. |
| **+** | Increase +1 to current decimal value. |
| **-** | Decrease -1 to current decimal value. |
| **>** | Move pointer to next address space. |
| **<** | Move pointer to previous address space. |
| **[**`EXP`**]** | Repeat given expression while current decimal value is not 0. |
#### 鉂わ笍 Contribute
Do you have any ideas? open an issue or make a pull request. You are welcome!
Raw data
{
"_id": null,
"home_page": null,
"name": "brainfy",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Lelzin \u03bb",
"author_email": "d3cryptofc@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c3/d1/ac6359434e837f575254fc37f2ba675d966e77a63308eae658d92fbae709/brainfy-0.1.3.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img title=\"Fun fact: the sketch for this art cost me R$100. I know, it's sad.\" align=\"center\" width=\"170\" src=\"https://svgur.com/i/1B3H.svg\"/><br><br>\n Amazing interpreter for the esoteric language brainf*ck written in Python.\n</p>\n\n<p align=\"center\">\n <a href=\"https://pypi.org/project/brainfy\"><img src=\"https://img.shields.io/badge/v0.1.3-8A2BE2?style=flat-square&label=Version&labelColor=282C34\"></a>\n <a href=\"https://github.com/d3cryptofc/brainfy/actions/workflows/ci.yml\"><img alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/d3cryptofc/brainfy/ci.yml?style=flat-square&labelColor=282C34&label=Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12&color=8A2BE2&logo=python&logoColor=white\"></a>\n <img alt=\"GitHub License\" src=\"https://img.shields.io/github/license/d3cryptofc/brainfy?style=flat-square&labelColor=282C34&color=8A2BE2\">\n</p>\n\n#### \ud83e\udde9 Code Example: `main.bf`\n```python\n# Increase decimal value two times, contains decimal 2.\n++\n\n# Increase decimal value more 68 times, now contains 70, equivalent to 'F' letter.\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\n# This dot print the decimal number as ASCII letter.\n.\n\n# I am tired of this address space, I'm going to next because the decimal number is 0.\n>\n\n# Ok, on second thought, I would like to back..\n<\n\n# I will use a loop to decrease until it reaches 0.\n[-]\n```\n\n---\n\n#### \u2699\ufe0f Command Usage\n\n```\nusage: brainfy [-h] FILE\n\nAn amazing interpreter for the esoteric language brainf*ck written in Python.\n\npositional arguments:\n FILE read BF script instructions from file\n\noptional arguments:\n -h, --help show this help message and exit\n```\n\n#### \ud83c\udf1f Currently Available Tokens\n\n| Token | Description |\n|:---------------:|---------------------------------------------------------------|\n| **#** | Create safe comments (isn't multiline). |\n| **.** | Print current decimal value as ASCII. |\n| **+** | Increase +1 to current decimal value. |\n| **-** | Decrease -1 to current decimal value. |\n| **>** | Move pointer to next address space. |\n| **<** | Move pointer to previous address space. |\n| **[**`EXP`**]** | Repeat given expression while current decimal value is not 0. |\n\n\n#### \u2764\ufe0f Contribute\n\nDo you have any ideas? open an issue or make a pull request. You are welcome!\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Interpreter for the esoteric language brainf*ck written in Python.",
"version": "0.1.3",
"project_urls": {
"Repository": "https://github.com/d3cryptofc/brainfy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9befb1a778a613903343b74dd2422be2c51b53776876a6a4f3d7e920e78a43f7",
"md5": "3bbfecc7c268e500fd6d2bf11698ee59",
"sha256": "0624479b10843c44b74057d63defb117723818d1cb15f7e6f1e2d1da9608ee8e"
},
"downloads": -1,
"filename": "brainfy-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3bbfecc7c268e500fd6d2bf11698ee59",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 6304,
"upload_time": "2024-10-03T00:47:10",
"upload_time_iso_8601": "2024-10-03T00:47:10.105733Z",
"url": "https://files.pythonhosted.org/packages/9b/ef/b1a778a613903343b74dd2422be2c51b53776876a6a4f3d7e920e78a43f7/brainfy-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c3d1ac6359434e837f575254fc37f2ba675d966e77a63308eae658d92fbae709",
"md5": "2021c0de2eb06a3dbb9361098082943c",
"sha256": "376d773a19d54fa14cf78d71cc82f3d39c08921c1fcffe833766af465b39e3f5"
},
"downloads": -1,
"filename": "brainfy-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "2021c0de2eb06a3dbb9361098082943c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 4745,
"upload_time": "2024-10-03T00:47:11",
"upload_time_iso_8601": "2024-10-03T00:47:11.501114Z",
"url": "https://files.pythonhosted.org/packages/c3/d1/ac6359434e837f575254fc37f2ba675d966e77a63308eae658d92fbae709/brainfy-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-03 00:47:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "d3cryptofc",
"github_project": "brainfy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "brainfy"
}