2025-07-20 04:35:07 +01:00
2025-07-19 11:34:01 +01:00
2025-07-20 04:31:53 +01:00
2025-07-20 04:31:53 +01:00
2025-07-19 15:15:43 +01:00
2021-04-09 23:40:13 +05:30
2021-04-18 00:50:38 +05:30
2021-04-09 23:15:58 +05:30
2025-07-19 11:17:53 +01:00
2021-04-18 00:50:38 +05:30
2021-04-09 23:40:13 +05:30
2024-01-02 15:56:09 +05:30
2025-07-20 04:31:53 +01:00
2025-07-20 04:31:53 +01:00
2025-07-20 04:31:53 +01:00
2025-07-20 00:02:45 +01:00

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

Functionality

  • Syntax Highlighting
  • Execution
  • Autocomplete suggestions

Execution

Use the BF execute task to execute the code. Either run the "current file" task, or create a customized task with the required file. I/O is done on the created terminal window.

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.

Changelog

0.3.0

command

  • Added a task for execution
    • Press Control C to halt it while its waiting for input
    • Close task to abort execution
      • Detail: The program will halt between loop iterations.
  • Migrated the run command to bf.execute.old

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
Description
A BF language support extension for VSCode
Readme Apache-2.0 788 KiB
Languages
TypeScript 93.6%
JavaScript 5.3%
ANTLR 1.1%