Name | brainfy JSON |
Version |
0.1.4
JSON |
| download |
home_page | None |
Summary | Interpreter for the esoteric language brainf*ck written in Python. |
upload_time | 2024-11-09 22:58:05 |
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://gist.githubusercontent.com/d3cryptofc/8f6c33dc2c4f124bb065e428f3217571/raw/d78132287e850c8e85e269831725e9292e7a8821/brainfy.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.4-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/7b/5c/5b12206ab8b73ed8b38bf79d693e8cf357db5def75bb6187c0d766faa58d/brainfy-0.1.4.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://gist.githubusercontent.com/d3cryptofc/8f6c33dc2c4f124bb065e428f3217571/raw/d78132287e850c8e85e269831725e9292e7a8821/brainfy.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.4-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.4",
"project_urls": {
"Repository": "https://github.com/d3cryptofc/brainfy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bc09140d7bdd7fffe3b770a70ef6b597011ef9c8e69b0b566a6168a34c71697e",
"md5": "7e08f34caff81ace11e3952f7436e5b0",
"sha256": "d7826076c9666865d79d14e7f1e8471ae21d7b77d04258294f3ce373dd996fd0"
},
"downloads": -1,
"filename": "brainfy-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7e08f34caff81ace11e3952f7436e5b0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 6372,
"upload_time": "2024-11-09T22:58:04",
"upload_time_iso_8601": "2024-11-09T22:58:04.235055Z",
"url": "https://files.pythonhosted.org/packages/bc/09/140d7bdd7fffe3b770a70ef6b597011ef9c8e69b0b566a6168a34c71697e/brainfy-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7b5c5b12206ab8b73ed8b38bf79d693e8cf357db5def75bb6187c0d766faa58d",
"md5": "057b7f7fc90fdccf4f12bf8c05ddd9ee",
"sha256": "66d55543c64556e27e3ede55308be26d1bfcf33034c5ec4f740395cf738600fb"
},
"downloads": -1,
"filename": "brainfy-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "057b7f7fc90fdccf4f12bf8c05ddd9ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 4826,
"upload_time": "2024-11-09T22:58:05",
"upload_time_iso_8601": "2024-11-09T22:58:05.452893Z",
"url": "https://files.pythonhosted.org/packages/7b/5c/5b12206ab8b73ed8b38bf79d693e8cf357db5def75bb6187c0d766faa58d/brainfy-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-09 22:58:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "d3cryptofc",
"github_project": "brainfy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "brainfy"
}