Brainfuck to Python VS Code Extension
This extension allows you to run Brainfuck code inside Visual Studio Code by converting it into a Python script and executing it.
Features
- Runs Brainfuck code directly in VS Code
- Converts Brainfuck instructions into Python
- Executes the generated Python code
- Shows output in the VS Code terminal or output panel
How It Works
- Open a file containing Brainfuck code
- Run the extension command
- The extension converts the Brainfuck code into Python
- The Python code is executed automatically
- The output is displayed in VS Code
Supported Brainfuck Commands
> move pointer right
< move pointer left
+ increment current cell
- decrement current cell
. output character
, input character
[ loop start
] loop end
Installation
- Install dependencies
- Open the project in VS Code
- Run the extension in debug mode (F5)
Usage
- Open a Brainfuck file
- Run the command to execute Brainfuck code
- View the output in the terminal or output panel
Notes
- The extension uses a simple Python translation of Brainfuck
- It is intended for basic use and learning
| |