8000 Gala · GitHub
[go: up one dir, main page]

Skip to content
@gala-pl

Gala

AI-native, quantum-inspired systems programming language.

Gala Programming Language

Gala

A hybrid quantum-classical programming language whose compiler enforces the laws of quantum mechanics.

Repository · Docs · Cookbook · Examples · Contributing


What is Gala?

Gala is a programming language for writing classical, quantum, and hybrid programs in one place. Its compiler is written in Rust and checks quantum rules for you, so programs that break the laws of quantum mechanics are caught when you compile, not when you run them.

Features

  • Strong static typing with type inference
  • Expression-oriented: blocks, if/else, and function bodies are expressions
  • Pattern matching on algebraic data types
  • Zero-cost abstractions via monomorphization
  • Safe concurrency with ownership and borrowing
  • WASM target support via gala-core

Quick start

Requires Rust 1.75+.

git clone https://github.com/gala-pl/gala.git
cd gala
cargo build --release

echo 'fn main() -> Int { print("Hello, Gala!"); return 0; }' > hello.gala
cargo run --release --bin gala -- hello.gala

The ecosystem

Component What it does
compiler/ Lexer, parser, AST, IR, and codegen
library/std/ Standard library: intrinsics, gates, algorithms, ML, noise, hardware
tools/gala-lsp/ Language server for editor integration
tools/gala-fmt/ Code formatter
extensions/ Editor extensions for syntax highlighting
cookbook/ Runnable .gala recipes with step-by-step walkthroughs
homebrew/ Homebrew formula
fuzz/ Fuzzing with cargo-fuzz

Get involved


Built with Rust · Licensed under Apache-2.0

Pinned Loading

  1. gala gala Public

    A hybrid quantum-classical programming language whose compiler enforces the laws of quantum mechanics.

    Rust 1

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…

0