Files
bf-server/README.md

22 lines
781 B
Markdown
Raw Normal View History

2021-04-10 00:09:37 +05:30
# BF extension
2021-04-09 23:10:36 +05:30
2021-04-17 23:09:07 +05:30
A simple language server based VSCode Extension for the ~~Brainfuck~~ ~~Branflakes~~ BF language. You can also execute your code and see its output.
2021-04-09 23:10:36 +05:30
2021-04-10 00:07:11 +05:30
![BF](https://chrisvrose.github.io/static/projects/screenshots/bf-server.png)
2021-04-09 23:10:36 +05:30
## Functionality
2021-04-09 23:22:24 +05:30
- [X] Syntax
- [X] Bracket matching
- [X] Autocomplete suggestions
2021-04-17 23:09:07 +05:30
- [X] Extension icon
- [X] Execution
- [ ] Timeout
2021-04-09 23:10:36 +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.
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.
Additionally, all input is done before program execution (If the program requests for input that hasn't been provided, `zero` is fed to it).
2021-04-09 23:10:36 +05:30
2021-04-17 23:09:07 +05:30
TODO: Implement a timeout.