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
2021-04-17 23:09:07 +05:30
Use the command to execute the code.
2024-01-02 17:15:19 +05:30
Issue is, because BF is a **turing complete** language, there is no way to know if the program will terminate or not. Hence for now, the command may lead to infinite execution.
2024-01-02 16:08:29 +05:30
If the program requires input, it will be requested as a prompt.
2021-04-09 23:10:36 +05:30
2021-04-17 23:09:07 +05:30
TODO: Implement a timeout.
2024-01-02 16:08:29 +05:30
### Changelog
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