Tachbit reads almost like Python and runs like C. The compiler takes care of memory, cores and safety checks, and explains mistakes in plain words before the program runs.
Tachbit читается почти как Python, а работает как C. Память, ядра и проверки берёт на себя компилятор, а ошибки объясняет простыми словами ещё до запуска.
obj Item name: text price: int func total(items: list Item) gives r: int s = 0 each it in items s += it.price return s func main() items = list Item items.add(Item(name: "tea", price: 120)) items.add(Item(name: "coffee", price: 200)) print("total:", total(items))
curl -fsSL https://raw.githubusercontent.com/superbro456/Tachbit/main/tools/get.sh | sh
Blender models with animation, PBR materials, lights and shadows, particles, your own shaders written in Tachbit. Metal on Mac, Vulkan on Linux and Windows.
Модели из Blender с анимацией, PBR-материалы, свет и тени, частицы, свои шейдеры прямо на Tachbit. Metal на Mac, Vulkan на Linux и Windows.
Several OS windows, buttons, lists and dialogs from lib/ui.tb, files, sound, gamepad, mouse look and fullscreen.
Несколько окон ОС, кнопки, списки и диалоги из lib/ui.tb, файлы, звук, геймпад, мышь и полный экран.
on all cores, background, channels and move. The compiler catches data races before the program runs.
on all cores, background, каналы и move. Гонки данных компилятор ловит до запуска.
tb bare makes a bootable x86-64 kernel. danger blocks give memory, ports and asm when you need them.
tb bare собирает загружаемое ядро x86-64. В блоках danger доступны память, порты и asm.
fail, try and or. A call that can fail must be handled, so problems do not hide.
fail, try и or. Вызов, который может сломаться, нельзя проигнорировать.
VS Code extension «Tachbit Language»: colors, Tachbit Dark and Light themes, run with one button, errors right in the code.
Расширение «Tachbit Language» для VS Code: подсветка, темы Tachbit Dark и Light, запуск одной кнопкой, ошибки прямо в коде.



One command. Needs a C compiler (on Mac: xcode-select --install). Run it again to update.
Одна команда. Нужен компилятор C (на Mac: xcode-select --install). Запусти ещё раз, чтобы обновить.
curl -fsSL https://raw.githubusercontent.com/superbro456/Tachbit/main/tools/get.sh | sh
Installer, no admin rights needed. Sets up a C compiler if there is none. Already installed? Run it again: it updates Tachbit in place.
Установщик без прав администратора. Если нет компилятора C, поставит и его. Уже стоит? Запусти снова: он обновит Tachbit поверх.
Download Tachbit-Setup.exeСкачать Tachbit-Setup.exeMac with Homebrew:
Mac с Homebrew:
brew tap superbro456/tachbit https://github.com/superbro456/Tachbit brew install --HEAD tachbit
tb new hello # a project with main.tb tb start hello # build and run tb run file.tb # run one file tb check file.tb # only look for errors tb lang en # messages in English (tb lang ru — in Russian)
Two free courses with checked examples. In Russian for now.
Два бесплатных курса, все примеры проверены компилятором.
Every word, command and built-in function, from the first line to your own kernel.
Все слова, команды и встроенные функции: от первой строки до своего ядра.
30 patterns behind apps, games and operating systems: state, guards, layers, game loop, services.
30 паттернов, из которых собраны приложения, игры и ОС: состояние, охранник, слои, игровой цикл, службы.
All keywords, built-in functions and compiler messages, with links to lessons.
Все слова языка, встроенные функции и сообщения компилятора со ссылками на уроки.