Orbita — TypeLua & Luax
Official language support for Orbita (
Syntax Highlighting • TypeLua ( FeaturesTypeLua (
|
| Prefix | Expands to |
|---|---|
obcomp |
Typed .luax functional component |
observe |
ob:http server boilerplate (http.serve) |
obdb |
ob:sqlite database setup & table creation |
obtest |
describe / test / expect test suite |
obreq |
Native stdlib import (require("ob:<module>")) |
obtype |
export type declaration in TypeLua |
Smart Language Configuration & ob.toml Schema
- Auto-closing brackets, quotes,
--[[ ... ]]block comments, and smart indentation for Lua/Luau and JSX blocks - Built-in JSON Schema (
schemas/ob.toml.schema.json) for[package],[dependencies],[scripts], and[embed]
Supported Files
| File / Extension | Language ID | Description |
|---|---|---|
.tyl |
typelua |
Orbita TypeLua (gradually typed Luau) |
.luax, .tylx |
luax |
TypeLua with embedded JSX components |
ob.toml |
toml |
Orbita project manifest schema |
Getting Started with Orbita
Don't have the ob CLI installed yet?
cargo install --git https://github.com/k-wrk/Orbita.git
ob init my-app
cd my-app
ob run src/main.tyl
Explore the full documentation at k-wrk.github.io/Orbita.
Roadmap
- [x] v0.1 — TextMate grammars (
.tyl,.luax,.tylx), language configuration, snippets, andob.tomlschema - [ ] v0.2 — JSX auto-closing tags,
ob.tomlTask Provider, and integrated CLI commands (ob run,ob test,ob build) - [ ] v0.3 — Full Language Server (
ob lsp) with real-time diagnostics,ob:*autocomplete, hover docs, and go-to-definition
License
Distributed under the MIT License. See LICENSE for more information.