GALA Documentation

Welcome to the GALA documentation hub. Here you will find everything you need to learn and use GALA effectively.

Core Language

Topic Description
Sealed Types Define closed type hierarchies with exhaustive compile-time checking
Pattern Matching Destructure values, apply guards, and produce expression results
Immutability val bindings, immutable struct fields, Copy(), and ConstPtr[T]
Error Handling Composable Option[T], Either[A,B], and Try[T] monads
GALA vs Go Side-by-side comparison with idiomatic Go code

Standard Library

Topic Description
Collections Immutable List, Array, HashMap, HashSet, TreeSet, TreeMap and their mutable variants
Concurrency Future[T], Promise[T], ExecutionContext, Await, and Zip
Go Interop Import and use any Go package, type, or function directly from GALA
Json Type-safe JSON serialization, deserialization, and pattern matching extractors
Yaml Type-safe YAML serialization, deserialization, and pattern matching extractors
Regex Regular expressions with pattern matching and Array destructuring
IO Effect Lazy composable side effects with IO[T]

Guides

Topic Description
Getting Started Installation, project setup, and writing your first GALA program
Playground Try GALA in your browser – no installation required
GitHub Repository Source code, issue tracker, and release downloads

Showcase Projects

Project Description
GALA Playground Web-based playground – try it live
State Machine Example State machines with sealed types and pattern matching
Log Analyzer Structured log parsing with Go stdlib interop and functional pipelines
GALA Server Immutable HTTP server library with builder-pattern configuration
GALA TUI Elm-architecture TUI framework – immutable widgets, differential renderer, async runtime
GALA Team Multi-agent Claude CLI orchestrator – Team Lead delegates to Engineers and QAs, reviews work, hands you a PR