-
-
- Run
test.batfor easy installation!
- Run
-
- The code block below should work in your terminal:
-
python setup.py sdist bdist_wheel pip install .
-
-
-
- Run
pip install touch-brainfin your terminal
- Run
-
-
- Run
touch-brainf <filename>in your terminal - If that doesn't work, use
python -m touch_brainf <filename> - You can also do
touch-brainf -horpython -m touch_brainf -hfor help
- Run
-
- The
main.pyfile is an example of a way to use the package in a Python file. The example below is a very simple example. -
import touch_brainf as bf runner = bf.Runner("+++.") runner.run()
- If you want to import from a file, you can also do...
-
import touch_brainf as bf runner = bf.Runner(bf.get_code_from_file("file.bf")) runner.run()
-
- I don't know why someone would do this, but it's their choice
- The
Just run pip uninstall touch-brainf!
Look at the examples folder for any help!