Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Blyx DirectNew to Visual Studio Code? Get it now.
Blyx Direct

Blyx Direct

Rahul Chaube

|
1 install
| (0) | Free
Check Blyx source and build standalone executables with the bundled self-hosted native compiler.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Blyx Direct

Blyx Direct checks saved Blyx programs and compiles them into standalone x86-64 executables. The extension includes the native compiler for your operating system and its complete Blyx source. Choose the Windows x64 or Linux x64 build for the machine hosting your workspace.

Run a program

  1. Open a local folder you trust. Create and save reading.blyx using the example below.
  2. Create an empty .vscode/tasks.json. From the Command Palette, run Snippets: Fill File with Snippet, choose Blyx Direct workspace tasks, and save. For a workspace that already has tasks, merge the three entries and the input into the existing configuration. Workspace task definitions
  3. Return to the saved Blyx file. Run Tasks: Run Task and choose Blyx Direct: Check active file. The terminal displays the compiler's diagnostic on failure. A successful check exits with code 0.
  4. Choose Blyx Direct: Build active file. Enter a new executable name such as reading-1. The compiler creates it beside the source file and refuses to overwrite an existing file. Windows adds the .exe extension.
  5. Choose Blyx Direct: Run named build and enter reading-1 to execute that file. After editing the source, build under a fresh name and run that new build.
fn main() {
    print!(235 / 10);
    println!(" \u{00B0}C");
}

The output is 23 °C. The bundled starter directory contains a complete workspace with a longer version of the example. Copy the directory to a writable location before opening it.

Build from a terminal

The installed extension contains bin/blyxc on Linux and bin/blyxc.exe on Windows. With that directory on your PATH, you can check or build several source files together. Give each build a new output filename.

blyxc check reading.blyx
blyxc build reading.blyx -o reading-2

For Windows use reading-2.exe as the output. The target matches the installed compiler's operating system. The extension works in trusted filesystem workspaces with VS Code process tasks. The separate Blyx Language extension can supply syntax highlighting and its browser interpreter alongside this one.

Blyx Direct guide · Compiler release and checksums · Blyx on GitHub

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft