Skip to main content

Super BrainF**k Ultra Professional Max Air Neo Ex

Project description

Super BrainF**k Ultra Professional Max Air Neo Ex

** Tip: I am not the original author of BrainF**k. **

** Warning: The following content contains some profanity. Please ensure you are over 3 million years old. **

install

pip install SpBFUltraProMaxAirNeoEx

Run BF in your Python code.

import bf
bf.fuck("""
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.
""")

I also added debug.

import bf
bf.fuck("""
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.
""",debug=True)

Run BF in your console

bf -c "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
bf helloworld.bf
bf debug helloworld.bf

Install the library

Alright, I'm building the webpage.

You cannot install it directly from the webpage for now.

bf install a_certain_library #I haven't set up the website yet.

However, you can import it locally.

cd #(The directory where your library is located)
bf install -f #(Your library name)

uninstall

bf uninstall #(Your library name)

Show what symbols are in a library

bf show mylib

List all libraries

bf list

Search local library (not useful (maybe?))

bf search my #Keyword

How to create a library?

I even forgot to mention this in 0.1.0.

This library is essentially a JSON file.

You can create a JSON file, with the file name being your library name, for example...

touch more.json

Then, you need to edit this file.

You need to think about it yourself; I usually use nano.

nano more.json

Then, write a pair of square brackets, like: []

[
]

Write a pair of curly braces inside, like: {}

[
    {
    }
]

Write the symbol.

[
    {
        "name":"#"
    }
]

Add execution logic

I'll just write an addition.

[
    {
        "name":"#",
        "expre":[
            "r",
            "get",
            "l",
            {"add":"get"}
        ]
    }
]

Currently, I have prepared these available execution logics:

"r": Move to the right "l": Move to the left "get": Obtain the value of the current cell "give": Set the value of the current cell to the value obtained last time. {"set":number}: Set the current cell to a number {"add":number}: Increase the number in the current cell {"sub":number}: Reduce the number in the current cell. Tip: In the content above, the number for add or sub can be the string "get," which allows you to add the number obtained in the previous operation.

After exiting the editor, you can proceed with the installation!

bf install -f more

After installation, you can use the symbols you defined:

>+++
<+++
#

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spbfultrapromaxairneoex-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spbfultrapromaxairneoex-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file spbfultrapromaxairneoex-0.1.1.tar.gz.

File metadata

  • Download URL: spbfultrapromaxairneoex-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for spbfultrapromaxairneoex-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b78c49b6d2548cfd83bc58a9e04db8a477dd6cabb6463a693600ae96aa3e08db
MD5 4b7535d199dd4a3100681348b981d256
BLAKE2b-256 5595d540f33cf3253e72a0e15bb8bb81b243c060553adba5e377984670ba57b5

See more details on using hashes here.

File details

Details for the file spbfultrapromaxairneoex-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for spbfultrapromaxairneoex-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 125635f05ecac68731f51a925d59d3a694d410c74074c8b3a190feffe1036e9c
MD5 a2709963d1da1af4386f2757dae7ee05
BLAKE2b-256 b1548a986700381a4c373fc14274eb7a7f92072f5764ef84c339c235c2f36590

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page