No description
  • Rust 94.3%
  • JavaScript 1.8%
  • Astro 1.7%
  • CSS 1.5%
  • Lua 0.2%
  • Other 0.5%
Find a file
Openchamber b9ad5d8035 feat: lsp?
2026-07-12 19:51:54 +00:00
+devops cd: deploy config no docker pull 2026-07-08 08:50:43 -05:00
docs feat: lsp? 2026-07-12 19:51:54 +00:00
editors/nvim Document Neovim LSP setup 2026-07-07 02:27:07 +00:00
frontend lang: refine labelled breaks 2026-07-08 17:24:00 +00:00
src feat: lsp? 2026-07-12 19:51:54 +00:00
tests lang: add record declarations 2026-07-08 13:10:29 +00:00
tree-sitter-bts Add LSP and editor integration 2026-07-07 02:25:31 +00:00
types/web dts: support generic records 2026-07-09 11:38:43 +00:00
.dockerignore cd: deploy config 2026-07-08 07:50:56 -05:00
.gitignore Initial Rust project 2026-07-07 00:16:32 +00:00
AGENTS.md update docs 2026-07-08 07:40:20 -05:00
Cargo.lock feat: nullability 2026-07-07 14:24:01 +00:00
Cargo.toml feat: nullability 2026-07-07 14:24:01 +00:00
README.md feat: lsp? 2026-07-12 19:51:54 +00:00

bts

bts stands for better ts: a Rust compiler for a strongly typed, C-like language that transpiles to JavaScript.

The language targets the JavaScript runtime directly, but it must be able to ingest TypeScript .d.ts files so programs can type-check against existing JavaScript and TypeScript ecosystems.

Core direction:

  • C-like syntax without semicolons
  • Strong static typing
  • JavaScript output, not TypeScript output
  • TypeScript declaration ingestion for interop
  • Conventional compiler pipeline: lexing, parsing, lowering, type checking, analysis, and code generation

This repository is currently the compiler seed project.

Useful docs:

  • docs/syntax.md: source language syntax and examples
  • docs/records.md: official record/object-equivalent syntax and structural typing rules
  • docs/comptime.md: user-facing comptime function guide
  • docs/comptime-internals.md: compiler internals for comptime evaluation
  • docs/architecture.md: compiler architecture and current implementation status
  • docs/roadmap.md: completed work and planned compiler and tooling milestones