Skip to content
LogoLogo

CLI

Current prototype commands and planned toolchain surface

VibeLang does not have a released compiler CLI. The only working command is the repository prototype.

Prototype

From prototype/:

bun vsc.ts examples/demo.vibe

This writes examples/demo.ts.

Run the complete demonstration:

bun install
bun run demo

The demo script lowers, optionally type-checks, and runs the example.

Prototype Arguments

bun vsc.ts <file.vibe>
ArgumentRequiredDescription
<file.vibe>Yesinput VibeLang file

The output path replaces .vibe with .ts. There are no target, output-directory, watch, source-map, or project options.

Supported Prototype Syntax

  • TypeScript-compatible class Name extends Error { ... } declarations
  • expression-form try
  • failure-only postfix catch (error) { ... }
  • legacy uses A, B function modifiers
  • legacy provide { A: value } { ... } blocks
  • single-line if expressions

Planned Toolchain

The final distribution is intended to include compilation, formatting, testing, language services, build integration, and foreign toolchain driving in one binary.

No command names or flags are stable yet. Documentation will add the production command reference after the compiler interface is accepted.