Learn Ballerina

Ballerina is a general purpose, concurrent and strongly typed programming language with both textual and graphical syntaxes, optimized for integration. It is designed to make it easier to write programs that integrate with data sources, services, and network-connected APIs of all kinds.

Although Ballerina is optimized primarily for such programs, it can be used to program anything. However, it is recommended to use Ballerina if a significant portion of the program is related to integrating with data sources, services, or network-connected APIs.

Getting Started

The Getting Started section includes instructions on how to download Ballerina and install the tools that come along with it. This also includes system requirements and instructions on how to uninstall Ballerina.

Quick Tour

The Quick Tour gives you instructions on how to start Ballerina, run a simple code, and get a response within seconds. It also introduces the means to quickly get started and take Ballerina for its first spin.

Ballerina by Example

Ballerina by Example teaches you the language incrementally with commented examples that cover every nuance of our syntax.

Ballerina by Guide

Ballerina by Guide are long form examples that showcase how to build different types of integrations using a complete development lifecycle including IDE configuration, packages, dependencies, coding, unit testing, deployment and observability.

How to Structure Ballerina Code

The How to Structure Ballerina Code topic expands on the structure of programs, directories, packages, and repositories.

Editors, IDEs and the Ballerina Composer

Editors, IDEs and the Ballerina Composer is a topic that introduces you to several tools that can help create, document, and test your code. These tools can be various editors, IDEs, and a graphical visualization tool for your code called the Ballerina Composer.

Language Specification

The Language Specification is a set of documents that explain more about the inner workings of the Ballerina language itself.

Command Documentation

The Command Documentation includes a summary of all the commands available in Ballerina and provides links to each command in GitHub.

Package and API Documentation

The API Documentation describes the native functions in Ballerina that you can use in your programs. This includes parameters and return parameters for each of these functions.