BT Programming Language Cross-platform

BT is an interpreted programming language implemented in Rust. It combines a concise syntax with built-in Web services and first-class support for cross-platform desktop apps, device access, and network communication.

Use it to build Web projects, APIs, automation scripts, long-running services, desktop applications, serial integrations, and TCP, UDP, or WebSocket systems.

BT community 934339990

bt
// Filter adults from a user list
users = [
    { name: 'Lisa', age: 18 }
    { name: 'Tom', age: 25 }
    { name: 'Jack', age: 16 }
]
adults = users
    .filter(v -> v.age >= 18)
    .map(v -> v.name)
println adults
Why BT

One lightweight runtime for complete applications

Build Web services, desktop apps, device integrations, and network systems while keeping scripts, services, and native capabilities in one language.

01

Direct syntax

Variables, functions, objects, arrays, and chained calls feel familiar to JavaScript developers, with less ceremony and more direct expression.

02

Desktop applications

Build and package complete cross-platform desktop applications with the integrated bt_app runtime.

03

Built-in Web platform

Handle requests, render templates, and control responses directly in the runtime without switching technology stacks.

04

Lightweight deployment

The compiler is a standalone executable. Put it in a project or on a server and start working without a separate runtime installation.

05

Practical standard library

File systems, HTTP, processes, dates, Base64, cryptographic utilities, and other everyday capabilities are ready to use.

06

Hardware access

Connect to serial devices, microcontrollers, sensors, control boards, and industrial equipment for efficient local automation.

Development scenarios

One language for scripts, services, and applications

BT brings script execution, Web services, template rendering, and local capabilities into one runtime for a direct path from development to deployment.

Build Web services

Handle routes, responses, static assets, and multi-site configuration with the built-in Web platform, without depending on a separate Web server.

Automate workflows

Use the standard library for files, HTTP, processes, and dates to implement data processing, task orchestration, operations tooling, and daily automation.

Render template-driven sites

Prepare data, run business logic, and render pages in the same runtime for websites, admin panels, internal systems, and compact Web applications.