Files
bf-server/README.md

51 lines
1.0 KiB
Markdown
Raw Normal View History

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
![BF](./assets/screenshot.png)
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.
Because JS is single threaded+.
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
2025-07-20 04:12:13 +01:00
#### 0.3.0
- Added a task for execution
- Press Control C to halt it while its waiting for input
- Close task to abort execution
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