How to use the

How to use the

How to use the

Function

BT interpreter to execute the .bt file. If main.bt exists in the current directory during startup, the file will be executed by default; otherwise, it will enter the command line interactive mode.

Run and debug

After installing the editor extension bt-lang, you can create main.bt in the project directory and run it directly.

Command line execution

Windows

puts bt.exe in the project directory. When double-clicking to run, main.bt in the current directory will be executed first.

Linux and macOS

Notes

  • Script files uniformly use the .bt suffix.
- Web services, desktop applications and normal CLI scripts all reuse the same BT language syntax.