https://github.com/diohabara/musclefuck
Muscle and Programming
https://github.com/diohabara/musclefuck
brainfuck lecture poetry pyenv python python3 raspberry-pi u-tokyo
Last synced: 25 days ago
JSON representation
Muscle and Programming
- Host: GitHub
- URL: https://github.com/diohabara/musclefuck
- Owner: diohabara
- License: mit
- Created: 2021-12-09T04:18:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-11T06:06:56.000Z (over 4 years ago)
- Last Synced: 2025-01-30T03:25:21.936Z (over 1 year ago)
- Topics: brainfuck, lecture, poetry, pyenv, python, python3, raspberry-pi, u-tokyo
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MuscleFuck
Run this program on Raspberry Pi. I do not support other platforms.
- [Design Doc](https://esotech.notion.site/BDM-Musclefuck-0483b0cdfb0542ef92df9975ef1ec8f3)
- [Presentation](https://docs.google.com/presentation/d/1rN5PLomJHd9JZrjKUzma4-PGZXhdor9di5YT2XHEMSU/edit)
## deps
You must install them before running this program.
- [pyenv](https://pypi.org/project/poetry/)
- [poetry](https://github.com/pyenv/pyenv#automatic-installer)
## setup
Install required packages.
```bash
pyenv install
poetry install
```
## format/lint/test
Check if there is a cause of bugs.
```bash
poetry run pysen run format lint
poetry run pytest
```
## execute
Run the program. MuscleFuck interpreter will be executed and send inputs by tact buttons.
```bash
poetry run python src/main.py
```