Environment setup

Environment setup

Environment setup

Please download the program package from the official website. There are two files in the package, one bt program and one bt_app program.

  • bt is a BT language interpreter, used to compile and run BT language programs.
  • bt_app is a BT desktop application engine (built-in BT language interpreter) for desktop software development.

If you need to develop Web projects and API interfaces, you only need bt. If you need to develop desktop application projects, you only need bt_app.

According to the type of project you develop, put the program into the root directory of the project to complete the environment setup. Next, you only need to have a simple notepad. However, in order to write code more happily, the official recommendation:

Code editor:

VS Code + bt-lang extension: open the bt-lang extension directly in VS Code.

bt-lang extension support:

  • Support BT language keywords, functions, strings, etc. highlighting
  • Intelligent code completion and context-aware completion
  • Display the parameter list and current parameter position when calling a function
- Display complete description, parameter and return value information when the mouse hovers over a function

- Support cross-file function jumps to quickly locate definition locations

- Automatically scan and index functions in all BT files

- Automatically identify and parse function definitions in include files

- Display the function structure of the current file in the sidebar

- Support system function prompts and automatic completion

- Quickly execute the BT program in the current workspace

Other editors: