2021-04-10 00:09:37 +05:30
# BF extension
2021-04-09 23:10:36 +05:30
2024-01-02 17:15:19 +05:30
A simple language server based VSCode Extension for the (Branflakes?) (BrainFuck?) BF language. You can also execute your code and see its output.
2021-04-09 23:10:36 +05:30
2024-01-02 17:15:19 +05:30

2021-04-09 23:10:36 +05:30
2024-01-02 17:15:19 +05:30
## Functionality
2024-01-02 16:08:29 +05:30
2024-01-02 17:15:19 +05:30
- Syntax Highlighting
- Execution
- Autocomplete suggestions
2024-01-02 16:08:29 +05:30
2021-04-17 23:09:07 +05:30
### Execution
2021-04-09 23:10:36 +05:30
2025-07-20 04:12:13 +01:00
Use the BF execute task to execute the code.
2025-07-20 04:31:53 +01:00
Either run the "current file" task, or create a customized task with the required file.
I/O is done on the created terminal window.
2021-04-09 23:10:36 +05:30
2025-07-20 04:31:53 +01:00
There is also an older command to run the code, where output is shown as a status message. Here, if the program requires input, it will be requested as a prompt.
2024-01-02 16:08:29 +05:30
### Changelog
2025-07-20 04:12:13 +01:00
#### 0.3.0
2025-07-20 04:31:53 +01:00

2025-07-20 04:12:13 +01:00
- Added a task for execution
- Press Control C to halt it while its waiting for input
- Close task to abort execution
2025-07-20 04:31:53 +01:00
- Detail: The program will halt between loop iterations.
- Migrated the run command to `bf.execute.old`
2025-07-20 04:12:13 +01:00
2024-01-02 22:39:31 +05:30
#### 0.2.1
- Change category
- Small bugfix for brackets validation
2024-01-02 17:15:19 +05:30
#### 0.2.0
- Cycle input pointer on overflow/underflow
- Refactoring code
2024-01-02 16:09:32 +05:30
#### 0.1.0
2024-01-02 16:08:29 +05:30
- Request input as required during execution
2024-01-02 17:15:19 +05:30
- Using array-based indexing. This implies that only positive indices upto 30k are supported.
### Building it
1. `npm i` - Install all dependencies
2. `npm i -g @vscode/vsce` - Install VSCode Command line CLI
3. `vsce package` - Package to VSIX