After a period of development and testing, BT language now officially has desktop software development capabilities.
Previously, BT language was mainly targeted at Web application development, automated script development and server-side program development. As the ecosystem continues to improve, I find that more and more developers hope to use the BT language to build cross-platform desktop software, so this version adds desktop application support.
bt_app is a desktop application engine for the BT language. Like the BT interpreter, it follows the same minimalist approach: a compact executable that can be launched directly.
Developers can use familiar HTML, CSS, and JavaScript technologies to build interfaces, and at the same time complete business logic, file operations, network communications, hardware interaction and other capabilities through BT language.
Compared with traditional desktop development solutions, developers can quickly develop modern desktop software without learning complex native GUI frameworks.
In order to improve the efficiency of desktop application development, bt_app supports development mode support.
During the development stage, developers do not need to package the application. They only need to enter the project directory and double-click to run it.
After the program starts, it will automatically detect the app.json configuration file in the current directory and load the current project.
The entire development process is consistent with Web development, without complex compilation steps.
For example:
my_app/ ├─ app.json ├─ web/ │ ├─ index.html │ ├─ css/ │ └─ js/ └─ main.bt
can directly start the current project.
After the development is completed, the final release version can be generated through the packaging command to unify the development and release processes.
With bt_app, BT language begins to have more desktop capabilities:
- System tray
- Window management
Subsequent versions will continue to expand more system interfaces.
BT language always adheres to the design concept of simplicity, efficiency and ease of use.
Developers will be able to use the same BT code while covering:
and gradually expand to more platforms.
I hope BT can become a general programming language that is easy to learn and can cover a variety of development scenarios.
Thanks to all developers for their support and feedback.
The BT language continues to evolve.