bf-server
所属分类:其他
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2024-01-02 17:09:34
上 传 者:
sh-1993
说明: BF语言服务器+VSCode扩展
(A BF language server + VSCode Extension)
文件列表:
.vscode/
assets/
client/
server/
syntaxes/
.eslintignore
.eslintrc.json
.vscodeignore
LICENSE
bf-configuration.json
package-lock.json
package.json
tsconfig.json
# BF extension
A simple language server based VSCode Extension for the (Branflakes?) (BrainFuck?) BF language. You can also execute your code and see its output.
![BF](https://github.com/chrisvrose/bf-server/blob/master/./assets/screenshot.png)
## Functionality
- Syntax Highlighting
- Execution
- Autocomplete suggestions
### Execution
Use the command to execute the code.
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.
If the program requires input, it will be requested as a prompt.
TODO: Implement a timeout.
### Changelog
#### 0.2.1
- Change category
- Small bugfix for brackets validation
#### 0.2.0
- Cycle input pointer on overflow/underflow
- Refactoring code
#### 0.1.0
- Request input as required during execution
- 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
近期下载者:
相关文件:
收藏者: